1、什么是Beamer
什么是Slides?
Slides指的是幻灯片,常见的包括Microsoft 的PPT, macOS的Keynote,Google的Google Slides等。
什么是Beamer?
Beamer 是一个用于创建演示文稿 LaTeX 的文档类。作为LaTeX的一个文档类,Beamer文档和LaTeX文档一样都是纯文本文件。且beamer兼容LaTeX常见的命令,拥有LaTeX所拥有的绝大多数优点,排版美观,且能够更加专注于编写文档时的思路。因此Beamer经常被用于制作各种学术场合分享用的PPT。
2、如何使用Beamer
从一个简易的模板开始
\documentclass{Beamer}
声明Beamer演示文稿
\begin{document}
前的区域为导言区
\document
文档
\frame
页面单行内容\frame{xxx}
多行内容\begin{frame}
xxx\end{frame}
\documentclass{beamer}\title{Sample title}\author{Anonymous}\institute{Overleaf}\date{}\begin{document}%标题页\frame{\titlepage}%slide页面\begin{frame}\frametitle{Sample frame title}This is some text in the first frame. This is some text in the first frame. This is some text in the first frame.\end{frame}\end{document}
beamer内置有许多不同的主题可以使用
更多可以参考:/zhouxiaowei1120/article/details/82818295
通过\usetheme{xxx}
指定使用的主题
\documentclass{beamer}\title{Sample title}\author{Anonymous}\institute{Overleaf}\date{}\usetheme{Madrid}\usecolortheme{beaver} %一个主题可以与一个颜色主题相结合,以改变不同元素使用的颜色\begin{document}%标题页\frame{\titlepage}%slide页面\begin{frame}\frametitle{Sample frame title}This is some text in the first frame. This is some text in the first frame. This is some text in the first frame.\end{frame}\end{document}
在frame中可以使用高亮
\documentclass{beamer}\title{Sample title}\author{Anonymous}\institute{Overleaf}\date{}\usetheme{Madrid}\usecolortheme{beaver}\begin{document}%标题页\frame{\titlepage}%slide页面\begin{frame}\frametitle{Sample frame title}This is some text in the first frame. This is some text in the first frame. This is some text in the first frame.\end{frame}%slide页面2\begin{frame}\frametitle{Sample frame title}In this slide, some important text will be\alert{highlighted} because it's important.Please, don't 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 ``Examples".\end{examples}\end{frame}\end{document}
3、Beamer模板下载
一些有名的民间Github开源项目?
SJTU:/sjtug/SJTUBeamerPKU:/inFaaa/PKU-Beamer-ThemeTHU:/YangLaTeX/thubeamerZJU:/corenel/zju-beamer-themeCQU:/Wusir/CQU-Beamer-LaTexCNNU:/K-JW/CCNU_BeamerTemplateSEU:/TouchFishPioneer/SEU-Beamer-SlideSYSU:/yxnchen/sysu-beamer-templateRUC:/andelf/ruc-beamer-templateWaseda:/fuujiro/Waseda-Beamer-SlideHUST:/Urinx/LaTeX-PPT-Template
F、参考资料
一份其实很短的 LaTeX 入门文档:https://liam.page//09/08/latex-introduction/
LaTeX Beamer 笔记:/SmalOSnail/article/details/120649809