Latex beamer制作ppt

article/2025/9/27 15:47:21

latex beamer制作ppt

  • 参考地址
  • 使用初探
  • 结果展示
  • 注意

参考地址

latex与word,ppt是目前用得最多得排版工具。然后,大部分人熟悉的多是word,实时上latex排版能力比word,ppt更方便。其使用代码实现插入图片、公式及表格编辑,代码自动对齐,相对于word,ppt来说,latex的入手门槛稍微要高一点,对于喜欢编程的人来说绝对会喜欢latex,其排版效率更高和文章编辑只需用键盘就能实现,不需要用鼠标。而word,ppt排版及制作文档的方便之处在于其完全可视化排版,小学生都能做出好的ppt。而且,世面上的ppt模板漫天遍地,故而,从易用性来说,ppt的使用跟简单。但是,采用latex排出材料,结构清晰可读性强移植性也比较方便,不像微软的ppt需要版本兼容性问题。latex排版的出的材料要么是pdf格式,要么就是dvi格式。

一直听说latex排版较好,有些好的期刊投稿给的是latex模板,故而,想熟悉一下latex。latex排版据说于Markdown相类似,而markdown在网页博客的排版上确实非常好用。刚开始试着用latex制作演示文稿时,了解到的时beamer。为了快速上手,在网上找了大量模板,主要分享在overleaf上。

overleaf 在线latex编辑平台,其上有大量的优秀模板。国内被墙了!有点可惜。
overleaf 上关于beamer 使用指南
30分钟学会latex

使用初探

beamer制作幻灯片分为以下几个部分

  • 标题页
  • 目录页
  • 演示页
    其中,preamble(序言)是指主题,包以及标题、目录
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% beamer template made by 李会
% 2019-7-12 at Taiyuan,China
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%----------------------------------------------------------------------------------------
%	PACKAGES AND THEMES
%----------------------------------------------------------------------------------------\documentclass{beamer}\mode<presentation> {% The Beamer class comes with a number of default slide themes
% which change the colors and layouts of slides. Below this is a list
% of all the themes, uncomment each in turn to see what they look like.%\usetheme{default}
%\usetheme{AnnArbor}  %比较好看
%\usetheme{Antibes}
%\usetheme{Bergen}
%\usetheme{Berkeley}
%\usetheme{Berlin}
%\usetheme{Boadilla}
\usetheme{CambridgeUS} %比较好看
%\usetheme{Copenhagen}
%\usetheme{Darmstadt}  %还行
%\usetheme{Dresden}
%\usetheme{Frankfurt}   %还行
%\usetheme{Goettingen}   %比较好看
%\usetheme{Hannover}
%\usetheme{Ilmenau}
%\usetheme{JuanLesPins}
%\usetheme{Luebeck}   %比较好
%\usetheme{Madrid}
%\usetheme{Malmoe}
%\usetheme{Marburg}   %比较好
%\usetheme{Montpellier}
%\usetheme{PaloAlto}
%\usetheme{Pittsburgh}
%\usetheme{Rochester}
%\usetheme{Singapore}
%\usetheme{Szeged}
%\usetheme{Warsaw}% As well as themes, the Beamer class has a number of color themes
% for any slide theme. Uncomment each of these in turn to see how it
% changes the colors of your current slide theme.%\usecolortheme{albatross}
%\usecolortheme{beaver}
%\usecolortheme{beetle}
%\usecolortheme{crane}
%\usecolortheme{dolphin}
%\usecolortheme{dove}
%\usecolortheme{fly}
%\usecolortheme{lily}
%\usecolortheme{orchid}
%\usecolortheme{rose}
%\usecolortheme{seagull}
%\usecolortheme{seahorse}
%\usecolortheme{whale}
\usecolortheme{wolverine}%\setbeamertemplate{footline} % To remove the footer line in all slides uncomment this line
%\setbeamertemplate{footline}[page number] % To replace the footer line in all slides with a simple slide count uncomment this line%\setbeamertemplate{navigation symbols}{} % To remove the navigation symbols from the bottom of all slides uncomment this line
}\usepackage{graphicx} % Allows including images
\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
\usepackage[UTF8,noindent]{ctexcap}  %使用中文输入及显示
%\usepackage[bookmarks=true,colorlinks,linkcolor=black]{hyperref}  %pdf显示书签
\usepackage[bookmarks=true]{hyperref}%----------------------------------------------------------------------------------------
%	TITLE PAGE
%----------------------------------------------------------------------------------------\title[Short title]{Full Title of the Talk} % The short title appears at the bottom of every slide, the full title is only on the title page\author{李会} % Your name
\institute[CIRP] % Your institution as it will appear on the bottom of every slide, may be shorthand to save space
{
China Institute of Radiation Protection \\ % Your institution for the title page
\medskip
\textit{hrbeulh@126.com} % Your email address
}
\date{\today} % Date, can be changed to a custom date\begin{document}\begin{frame}
\titlepage % Print the title page as the first slide
\end{frame}\begin{frame}
\frametitle{Overview} % Table of contents slide, comment this block out to remove it
\tableofcontents % Throughout your presentation, if you choose to use \section{} and \subsection{} commands, these will automatically be printed on this slide as an overview of your presentation
\end{frame}%----------------------------------------------------------------------------------------
%	PRESENTATION SLIDES
%----------------------------------------------------------------------------------------%------------------------------------------------
\section{First Section} % Sections can be created in order to organize your presentation into discrete blocks, all sections and subsections are automatically printed in the table of contents as an overview of the talk
%------------------------------------------------\subsection{Subsection Example 1} % A subsection can be created just before a set of slides with a common theme to further break down your presentation into chunks\begin{frame}
\frametitle{Paragraphs of Text}
Sed iaculis dapibus gravida. Morbi sed tortor erat, nec interdum arcu. Sed id lorem lectus. Quisque viverra augue id sem ornare non aliquam nibh tristique. Aenean in ligula nisl. Nulla sed tellus ipsum. Donec vestibulum ligula non lorem vulputate fermentum accumsan neque mollis.\\~\\Sed diam enim, sagittis nec condimentum sit amet, ullamcorper sit amet libero. Aliquam vel dui orci, a porta odio. Nullam id suscipit ipsum. Aenean lobortis commodo sem, ut commodo leo gravida vitae. Pellentesque vehicula ante iaculis arcu pretium rutrum eget sit amet purus. Integer ornare nulla quis neque ultrices lobortis. Vestibulum ultrices tincidunt libero, quis commodo erat ullamcorper id.
\end{frame}%------------------------------------------------
\subsection{Subsection Example 2}\begin{frame}
\frametitle{Bullet Points}
\begin{itemize}
\item Lorem ipsum dolor sit amet, consectetur adipiscing elit
\item Aliquam blandit faucibus nisi, sit amet dapibus enim tempus eu
\item Nulla commodo, erat quis gravida posuere, elit lacus lobortis est, quis porttitor odio mauris at libero
\item Nam cursus est eget velit posuere pellentesque
\item Vestibulum faucibus velit a augue condimentum quis convallis nulla gravida
\end{itemize}
\end{frame}%------------------------------------------------\begin{frame}
\frametitle{Blocks of Highlighted Text}
\begin{block}{Block 1}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer lectus nisl, ultricies in feugiat rutrum, porttitor sit amet augue. Aliquam ut tortor mauris. Sed volutpat ante purus, quis accumsan dolor.
\end{block}\begin{block}{Block 2}
Pellentesque sed tellus purus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vestibulum quis magna at risus dictum tempor eu vitae velit.
\end{block}\begin{block}{Block 3}
Suspendisse tincidunt sagittis gravida. Curabitur condimentum, enim sed venenatis rutrum, ipsum neque consectetur orci, sed blandit justo nisi ac lacus.
\end{block}
\end{frame}%------------------------------------------------\begin{frame}
\frametitle{Multiple Columns}
\begin{columns}[c] % The "c" option specifies centered vertical alignment while the "t" option is used for top vertical alignment\column{.45\textwidth} % Left column and width
\textbf{Heading}
\begin{enumerate}
\item Statement
\item Explanation
\item Example
\end{enumerate}\column{.5\textwidth} % Right column and width
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer lectus nisl, ultricies in feugiat rutrum, porttitor sit amet augue. Aliquam ut tortor mauris. Sed volutpat ante purus, quis accumsan dolor.\end{columns}
\end{frame}%------------------------------------------------
\section{Second Section}
%------------------------------------------------\begin{frame}
\frametitle{Table}
\begin{table}
\begin{tabular}{l l l}
\toprule
\textbf{Treatments} & \textbf{Response 1} & \textbf{Response 2}\\
\midrule
Treatment 1 & 0.0003262 & 0.562 \\
Treatment 2 & 0.0015681 & 0.910 \\
Treatment 3 & 0.0009271 & 0.296 \\
\bottomrule
\end{tabular}
\caption{Table caption}
\end{table}
\end{frame}%------------------------------------------------\begin{frame}
\frametitle{Theorem}
\begin{theorem}[Mass--energy equivalence]
$E = mc^2$
\end{theorem}
\end{frame}%------------------------------------------------\begin{frame}[fragile] % Need to use the fragile option when verbatim is used in the slide
\frametitle{Verbatim}
\begin{example}[Theorem Slide Code]
\begin{verbatim}
\begin{frame}
\frametitle{Theorem}
\begin{theorem}[Mass--energy equivalence]
$E = mc^2$
\end{theorem}
\end{frame}\end{verbatim}
\end{example}
\end{frame}%------------------------------------------------\begin{frame}
\frametitle{Figure}
Uncomment the code on this slide to include your own image from the same directory as the template .TeX file.
%\begin{figure}
%\includegraphics[width=0.8\linewidth]{test}
%\end{figure}
\end{frame}%------------------------------------------------\begin{frame}[fragile] % Need to use the fragile option when verbatim is used in the slide
\frametitle{Citation}
An example of the \verb|\cite| command to cite within the presentation:\\~This statement requires citation \cite{p1}.
\end{frame}%------------------------------------------------
\section{Third Section}
%------------------------------------------------%------------------------------------------------\begin{frame}
\frametitle{References}
\footnotesize{
\begin{thebibliography}{99} % Beamer does not support BibTeX so references must be inserted manually as below
\bibitem[Smith, 2012]{p1} John Smith (2012)
\newblock Title of the publication
\newblock \emph{Journal Name} 12(3), 45 -- 678.
\end{thebibliography}
}
\end{frame}%------------------------------------------------\begin{frame}
\frametitle{Figure}
\begin{center}
\includegraphics[width=0.5\linewidth]{Fig10}    %插入图片
%\includegraphics[width=1.0\linewidth]{Fig10}
\end{center}
\end{frame}%------------------------------------------------\begin{frame}
\Huge{\centerline{The End. Any advice?}}
\end{frame}%----------------------------------------------------------------------------------------\end{document} 

结果展示

生成的时pdf演示文稿,但是pdf中有许多超链接和按钮,动态演示非常方便,结构也比较明朗。
在这里插入图片描述

注意

该段代码若要试用,请把插入图片的那段frame注释掉,采用%注释


http://chatgpt.dhexx.cn/article/6pJk94PQ.shtml

相关文章

php 制作ppt,PPT制作三个基本要素是什么?

PPT制作三个基本要素是什么&#xff1f; 1、一个PPT只为一类人服务&#xff0c;针对不同听众制作不同层次内容&#xff1b; 2、PPT永远是为听者服务&#xff1b; 3、PPT只讲一个重点&#xff0c;不要试图在某个PPT中既讲技术&#xff0c;又讲管理。 PPT优势 1.使用 Microsoft O…

html5课件动画制作,ppt如何制作课件动画

我们在使用ppt制作课件的时候&#xff0c;为了吸引学生的注意&#xff0c;可以在其中添加一些动画效果&#xff0c;下面就让学习啦小编告诉你ppt如何制作课件动画。 ppt制作课件动画的方法 一、首先在PowerPoint中用绘图工具绘制出如图1所示的流程图。 注意&#xff1a;各设备颜…

pyecharts动态图表嵌入ppt

上篇文章说到动态图表可嵌入PPT&#xff0c;本篇详细介绍一下方法、帮你制作炫酷的可视化大屏PPT。附上上次的效果&#xff1a; ps: 实现过程中有问题不好解决的可以关注公众号 Python风控模型与数据分析&#xff0c;留言讨论 一、工具准备&#xff1a; office的ppt 做…

计算机图表制作教程,PPT怎么制作动态图表 PPT动态图表制作教程-电脑教程

PPT演示中&#xff0c;动态图表会比静态的更有视觉冲击力。下面我们就以一个销售图表为例&#xff0c;看看PowerPoint 2016中&#xff0c;如何快速制作出动态图表。 实际工作中&#xff0c;我们会接触到大量的Excel图表。有时在做工作汇报的时候&#xff0c;需要将Excel图表导入…

利用PPT制作不一样的动态文字技巧

今天和大家分享一个PPT技巧怎样使用PPT制作不一样的动态文字&#xff0c;不仅操作简单使用起来也很便利呢?在工作&#xff0c;生活中都可以使用&#xff0c;下面与iSlide小编一起来看看绘制技巧吧! iSlidePPT模板   操作方法 使用工具&#xff1a;电脑/PPT 1.新建一个PPT…

python制作ppt动画_卧槽,还能这么玩!用Python生成动态PPT

这些动态图表是用什么做的? 接触过数据可视化的同学应该对 Python 里的 Matplotlib 库并不陌生。它是一个基于 Python 的开源数据绘图包,仅需几行代码就可以帮助开发者生成直方图、功率谱、条形图、散点图等。这个库里有个非常实用的扩展包——FuncAnimation,可以让我们的静…

计算机制作ppt教程,ppt怎么做?手机电脑超全PPT制作教程_教你做出完整的PPT

电脑版PPT制作方法步骤 1、打开“PPT”软件&#xff0c;在首页输入标题和副标题。 2、调整标题和副标题的位置&#xff0c;在左边方框内单击鼠标右键。 3、点击“新建幻灯片”&#xff0c;选择“插入”&#xff0c;点击“图片”。 4、选择要插入的图片后点击“插入”&#xff0…

ppt复制切片器_ppt中制作动态图表,并不难,使用powerbi三步搞定

今天跟大家分享下,如何在ppt中实现动态图表的效果,如下图,当我使用切片器选择对应的项目,图表就会跟随变化,之前视频跟大家分享过制作方法,很多粉丝表示没有看懂,今天就详细的跟大家介绍下 一、制作步骤 首先跟大家说下制作的步骤,在这里我们是使用powerbi来制作图表,…

几分钟就可做出的酷炫PPT动画效果

PPT在平常生活中&#xff0c;用于“工作汇报”、“产品发布”、“演讲”、“课件”等场景&#xff0c;一份PPT的质量就决定整个事件成功与否&#xff0c;一份带有炫酷动画的PPT更能让整个事件效果更佳。 当然&#xff0c;除了这些大神的作品之外&#xff0c;在工作PPT中&#…

如何制作动态PPT,像播放电影一样,同时怎么插入音乐

今天呢&#xff0c;看到有很多人问我怎么制作动态PPT&#xff0c;同时怎么插入音乐&#xff0c;因此&#xff0c;这里给大家分享一下怎么制作一个动态的PPT&#xff0c;这个只是一个简单的介绍&#xff0c;如果需要制作一个炫丽的动态PPT&#xff0c;可以给我留言&#xff0c;也…

开场PPT动画怎么做炫酷

PPT动画应用的好&#xff0c;可以做出电影级动态特效&#xff0c;islide将通过分享粒子动画制作教程&#xff0c;教会大家打造炫酷的PPT开场动画。 islidePPT素材   下面直接进入制作教程&#xff1a; 第一步&#xff1a;插入一张星空背景图并调整图片大小&#xff0c;使其…

查询数据库中所有表以及表结构

查询数据库中所有表以及表结构 贴两个两段代码和截图吧&#xff0c;用的人自己拿去改&#xff08;MYSQL&#xff09; SQL片段1&#xff1a;&#xff08;这个只是查出来相应的表结构&#xff09; 在这里插入代码片 SELECTTABLE_NAME AS tableName,COLUMN_NAME AS columnName,…

表结构数据

什么是表结构数据 表结构数据中的“表”来源于关系型数据库中的“table”&#xff0c;关系型数据库中的数据都是以表结构进行存储的&#xff0c;它是数据分析工具中最基本的存储结构。 在关系型数据库中一个数据库可以有多个数据表&#xff0c;每个数据表都是由固定列和任意…

数据库表结构关系图生成

Navicat for mySQL 如有你有这个数据库的工具的话&#xff0c;就可以直接将你建好的数据库表直接生成模型图。 打开Navicat&#xff0c;连接我们的数据库 打开数据库表 点击右下角的几个按钮 随便点击试一下&#xff0c;最后你会发现点击从左数第三个的时候&#xff0c;会变成…

MySQL表结构设计

MySQL表结构设计包括&#xff1a;字段类型选择 物理存储设计 表的访问设计。 数字类型 整型类型 在整型类型中&#xff0c;有 signed 和 unsigned 属性&#xff0c;其表示的是整型的取值范围&#xff0c;默认为 signed。在设计时&#xff0c;我不建议你刻意去用 unsigned …

数据库2 表结构的创建

一、内容 数据库YGGL包含下列3个表&#xff1a;Employees&#xff08;员工自然信息&#xff09;表、Department&#xff08;部门信息&#xff09;表和Salary&#xff08;员工薪水情况&#xff09;表&#xff0c;表的结构分别如下所示。 表1 Employees表结构 列名 数据类型…

查询数据库表结构

开发工作中经常碰到需要将表结构发送给团队的其他同事&#xff0c;一个一个粘贴效率太低&#xff0c;可以使用sql查询导出查询结果的方式简单搞定。以navicat为例&#xff1a; 1、新建一个查询窗口&#xff0c;输入如下sql&#xff1a; SET i 0; SELECT( i : i 1 ) 序号,CO…

数据库中表结构

这篇文章主要展示实例中表中的数据&#xff1a; 总共有如下的表&#xff1a; 文章目录 1&#xff1a;表中的数据1、customers2、orderitems3、orders4、productnotes5、products6、vendors 2&#xff1a;创建表的SQL代码&#xff1a;2.1、creat.sql2.2、populate.sql 1&#…

2023年深圳杯数学建模D题基于机理的致伤工具推断

2023年深圳杯数学建模 D题 基于机理的致伤工具推断 原题再现&#xff1a; 致伤工具的推断一直是法医工作中的热点和难点。由于作用位置、作用方式的不同&#xff0c;相同的致伤工具在人体组织上会形成不同的损伤形态&#xff0c;不同的致伤工具也可能形成相同的损伤形态。致伤…