beamer制作
2022-06-17 18:04:08 0 举报
AI智能生成
beamer学习笔记
作者其他创作
大纲/内容
主架构、logo与标题(structure and title)
主架构
\documentclass{beamer}
\mode<presentation>
{
\usetheme{Madrid}
}
\usepackage{graphicx}
\begin{document}
% insert title page------------
\frame{\titlepage}
\end{document}
\mode<presentation>
{
\usetheme{Madrid}
}
\usepackage{graphicx}
\begin{document}
% insert title page------------
\frame{\titlepage}
\end{document}
title page
%---------------------------------------
% Title Page
%---------------------------------------
\title[About Beamer] %optional
{About the Beamer class in presentation making}
\subtitle{A short story}
\author{[Arthur,Doe] % (optional,for multiple
authors)
{A.~B.~Arthur\inst{1} \and J.~Doe\inst{2}}
\institute [VFU] % (optional)
{
\inst{1}%
Faculty of physics\\
Very Famous University
\and
\inst{2} %
Faculty of Chemistry\\
Very Famous University
}
\date[VLC 2020] % (optional)
{Very Large Conference,April 2013}
% Title Page
%---------------------------------------
\title[About Beamer] %optional
{About the Beamer class in presentation making}
\subtitle{A short story}
\author{[Arthur,Doe] % (optional,for multiple
authors)
{A.~B.~Arthur\inst{1} \and J.~Doe\inst{2}}
\institute [VFU] % (optional)
{
\inst{1}%
Faculty of physics\\
Very Famous University
\and
\inst{2} %
Faculty of Chemistry\\
Very Famous University
}
\date[VLC 2020] % (optional)
{Very Large Conference,April 2013}
logo
\logo{\includegraphics[height=0.5cm]{logo.png}}
目录(tableofcontents)
\section{Introduction}
\section{Related work}
\section{Proposed method}
\section{Experiments}
\section{Conclusion}
\section{Related work}
\section{Proposed method}
\section{Experiments}
\section{Conclusion}
% insert contents----------------
\begin{frame}
\frametitle{Table of Contents}
\tableofcontents
\end{frame}
\begin{frame}
\frametitle{Table of Contents}
\tableofcontents
\end{frame}
%---------------------------------------------------
% Highlight the title of the current section
%---------------------------------------------------
\AtBeginSection[]
{
\begin{frame}
\frametitle{Table of Contents}
\tableofcontents{currentsection}
\end{frame}
}
% Highlight the title of the current section
%---------------------------------------------------
\AtBeginSection[]
{
\begin{frame}
\frametitle{Table of Contents}
\tableofcontents{currentsection}
\end{frame}
}
动画(animation)
% insert a sample frame with animation 1----------------------------------
\begin{frame}
\frametitle{Sample frametitle with animation 1}
This is a text in second frame. For the sake of
showing an example.
\begin{itemize}
\item<1-> Text visible on slide 1
\item<2-> Text visible on slide 2
\item<3-> Text visible on slide 3
\item<4-> Text visible on slide 4
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Sample frametitle with animation 1}
This is a text in second frame. For the sake of
showing an example.
\begin{itemize}
\item<1-> Text visible on slide 1
\item<2-> Text visible on slide 2
\item<3-> Text visible on slide 3
\item<4-> Text visible on slide 4
\end{itemize}
\end{frame}
% insert a sample frame with animation 2----------------------------------
\begin{frame}
\frametitle{Sample frametitle with animation 2}
In this slide \pause
The text will be partially visible \pause
And finally everything will be there
\end{frame}
\begin{frame}
\frametitle{Sample frametitle with animation 2}
In this slide \pause
The text will be partially visible \pause
And finally everything will be there
\end{frame}
高亮(highlight)
% insert a sample frame with highlight--------------------------
\begin{frame}
\frametitle{sample frame with highlight}
\colorbox{orange}{highlight}
in this slide,some \textbf{important} text will be
\alert{highlighted} because it's important.
Please, don't \textcolor{green}{abuse} it.
\begin{block}{Remark}
Sample text
\end{block}
\begin{alertblock}{Important Theorem}
Sample text in red box
\end{alertblock}
\begin{examples}
Sample text in green box, the title of the block is 'Example'
\end{examples}
\end{frame}
\begin{frame}
\frametitle{sample frame with highlight}
\colorbox{orange}{highlight}
in this slide,some \textbf{important} text will be
\alert{highlighted} because it's important.
Please, don't \textcolor{green}{abuse} it.
\begin{block}{Remark}
Sample text
\end{block}
\begin{alertblock}{Important Theorem}
Sample text in red box
\end{alertblock}
\begin{examples}
Sample text in green box, the title of the block is 'Example'
\end{examples}
\end{frame}
分栏(column)
% insert a sample frame with two columns--------------------------------
\begin{frame}
\frametitle{Two-Column slide}
\begin{columns}
\column{0.4\textwidth}
This is a text in first column.
$$E=mc^2$$
\column{0.4\textwidth}
this text will be in the xecond column
and on a second tought this is a nice
looking layout in some cases.
\end{columns}
\end{frame}
\begin{frame}
\frametitle{Two-Column slide}
\begin{columns}
\column{0.4\textwidth}
This is a text in first column.
$$E=mc^2$$
\column{0.4\textwidth}
this text will be in the xecond column
and on a second tought this is a nice
looking layout in some cases.
\end{columns}
\end{frame}
公式(formula)
% inser a sample frame with foumula--------------------------------
\begin{frame}
\frametitle{sample frame with formula}
in this slide,we inert an equation{\ref{E1}},
which is the definition of $y$
\begin{equation}
\label{E1}
y=
\begin{cases}
\frac{1}{f(x)},\ f(x) \neq 0 \\
f(x), \ f(x)=0
\end{cases}
\end{equation}
\end{frame}
\begin{frame}
\frametitle{sample frame with formula}
in this slide,we inert an equation{\ref{E1}},
which is the definition of $y$
\begin{equation}
\label{E1}
y=
\begin{cases}
\frac{1}{f(x)},\ f(x) \neq 0 \\
f(x), \ f(x)=0
\end{cases}
\end{equation}
\end{frame}
图片(graph)
% insert a sample frame with a figure-------------------
\begin{frame}
the dataset information is shown in Fig.
\ref{dataset}
\begin{figure}[ht]
\centering
\includegraphics[width=0.8\textwidth]{2.png}
\caption{A picture downloaded from the internet}
\label{dataset}
\end{figure}
\end{frame}
\begin{frame}
the dataset information is shown in Fig.
\ref{dataset}
\begin{figure}[ht]
\centering
\includegraphics[width=0.8\textwidth]{2.png}
\caption{A picture downloaded from the internet}
\label{dataset}
\end{figure}
\end{frame}
表格(tablular)
% inssert a sample frame with table----------------------------------
\begin{frame}
\frametitle{a sample with table}
the results are shown in table\ref{T1}
\begin{table}[ht]
\caption{A sample table}
\label{T1}
\centering
\begin{tabular}{p{1.5cm}lp{1.5cm}lp{1.5cm}}
\hline
Metrics & M1 & M2 \\
\hline
Accuracy & 87\% & 88\% \\
Precision & 91\% & 90\% \\
Recall & 75\% & 77\% \\
\hline
\end{tablular}
\end{table}
\end{frame}
\begin{frame}
\frametitle{a sample with table}
the results are shown in table\ref{T1}
\begin{table}[ht]
\caption{A sample table}
\label{T1}
\centering
\begin{tabular}{p{1.5cm}lp{1.5cm}lp{1.5cm}}
\hline
Metrics & M1 & M2 \\
\hline
Accuracy & 87\% & 88\% \\
Precision & 91\% & 90\% \\
Recall & 75\% & 77\% \\
\hline
\end{tablular}
\end{table}
\end{frame}
引用(citation)
% insert a sample frame with citation-----------------------
\begin{frame}
\frametitle{literature review}
you can cite a paper like this
\cite{team2015common,eiram2013cvssv2}
\end{frame}
\begin{frame}
\frametitle{literature review}
you can cite a paper like this
\cite{team2015common,eiram2013cvssv2}
\end{frame}
% insert a reference frame before the `thank you' frame------------------
\begin{frame}
\frametitle{references}
\begin{thebibliography}{99}
%beamer does not support bibtex so references must be insertedmanually as below\\
\bibitem{team2015common}
Team, c.: Common vulnerabillity scoring system v3. 0:
First. org (2015)
\bibitem{eiram2013cvssv2}
Eiram, C., Martin, B.: The cvssv2 shortcomings,
faults, and failures
formulation, In: Technical report, Forum of
Incident Response and Security
tEAMS (first) (2013)
\end{thebibliography}
\end{frame}
\begin{frame}
\frametitle{references}
\begin{thebibliography}{99}
%beamer does not support bibtex so references must be insertedmanually as below\\
\bibitem{team2015common}
Team, c.: Common vulnerabillity scoring system v3. 0:
First. org (2015)
\bibitem{eiram2013cvssv2}
Eiram, C., Martin, B.: The cvssv2 shortcomings,
faults, and failures
formulation, In: Technical report, Forum of
Incident Response and Security
tEAMS (first) (2013)
\end{thebibliography}
\end{frame}
\setbeamertemplate{bibliography item}[text]
致谢(thankyou)
% insert a thank you frame---------------------
\begin{frame}
\Huge{\centerline{Thank you!}}
\end{frame}
\begin{frame}
\Huge{\centerline{Thank you!}}
\end{frame}
0 条评论
下一页