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