标题幻灯片(第一张幻灯片)和第二张幻灯片在我的幻灯片中编号为第一:sharelatex

标题幻灯片(第一张幻灯片)和第二张幻灯片在我的幻灯片中编号为第一:sharelatex

由于某种原因,我的标题幻灯片和第二张幻灯片的编号为 1。之后,幻灯片的编号正确。有人能帮我正确编号吗?谢谢您的时间。

\documentclass{beamer}
\usepackage[english]{babel}
\usepackage[document]{ragged2e}
\usepackage{utopia} %font utopia imported
\usepackage{amsmath, amssymb}

\usetheme{Madrid}
\usecolortheme{default}

\usepackage[utf8]{inputenc}%codification of the document

\usepackage{comment}

\title{Spectral decomposition of a real symmetric matrix \\ by}
\author{asdfg
\\School of Computer Science
\\University
\\USA
}

\date{May 2018}

%Here begins the body of the document
\begin{document}

\begin{titlepage}

\end{titlepage}
\begin{frame}
\frametitle{Eigenvalue and eigenvector pair of a matrix}
\begin{itemize}
    \item Let \(A\in R^{n*n}\) be a real matrix of order n
    \item If there exist a scalar, \(\lambda(real/complex)\) and a vector,                  V(real/complex) such that 
        \\  \[A*V= \lambda*V-------->(1)\]\\ then \(\lambda\) is the eigen vector and V is the corresponding eigen vector of A
    \item The pair \((\lambda, V)\) satisfying (1) is called an eigen pair of A
    \item The set of all eigen values of A is called the spectrum of A
\end{itemize}
\end{frame}

答案1

在 Beamer 中创建标题页

\begin{frame}
\titlepage
\end{frame}

\maketitle。然后帧也正确编号。

\documentclass{beamer}
\usepackage[english]{babel}
\usepackage[document]{ragged2e}
%\usepackage{utopia} %font utopia imported
\usepackage{amsmath, amssymb}

\usetheme{Madrid}
%\usecolortheme{default}

\usepackage[utf8]{inputenc}%codification of the document

\usepackage{comment}

\title[Spectral decomposition of a real symmetric matrix]{Spectral decomposition of a real symmetric matrix \\ by}
\author[asdfg]{asdfg
\\School of Computer Science
\\University
\\USA
}

\date{May 2018}

%Here begins the body of the document
\begin{document}

\begin{frame}
\titlepage
\end{frame}

\begin{frame}
\frametitle{Eigenvalue and eigenvector pair of a matrix}
\begin{itemize}
    \item Let \(A\in R^{n*n}\) be a real matrix of order n
    \item If there exist a scalar, \(\lambda(real/complex)\) and a vector,                  V(real/complex) such that 
        \\  \[A*V= \lambda*V-------->(1)\]\\ then \(\lambda\) is the eigen vector and V is the corresponding eigen vector of A
    \item The pair \((\lambda, V)\) satisfying (1) is called an eigen pair of A
    \item The set of all eigen values of A is called the spectrum of A
\end{itemize}
\end{frame}
\end{document}

在此处输入图片描述


无关:

  • 将格式化指令放入宏中\author并不是一个好主意,至少可以提供一个可在脚注中使用的替代短标题。

  • 请注意,该utopia软件包已过时。(它在当前使用中不会产生任何影响)

  • 你不需要\usecolortheme{default},顾名思义,这个主题是默认加载的

相关内容