学术会议自用beamer模板
时间:2023-06-08 01:00:02 | 来源:网站运营
时间:2023-06-08 01:00:02 来源:网站运营
学术会议自用beamer模板:今年暑假参加了一个杭州的学术会议,研究了很久的beamer,自己做了一个劣质模板,发出来供大家参考。
因为东西都是自己懂了才加到模板里面,所以肯定没网上很多现成的好,但至少我加进去的代码我知道什么用的,我觉得这对我来说很重要。
很多都加了说明,frame之间的%是我拿来隔开不同的frame的,方便修改以及对照。仅是个人习惯,对编译没有任何影响。
使用的是Berlin的主题,因为我喜欢上面一个圈圈的结构。我自己修改了页脚,就是不知道页眉多出来的那行深蓝色怎么去掉,如果有知道的大佬请务必教教我。
示意图
编码方式 Xelatex
/documentclass[serif]{beamer}
/usepackage{xeCJK}
/usepackage{amsfonts} %额外的数学符号,花体,俄文德文字母
/usepackage{amssymb}
/newcommand/hmmax{0} % default 3
% /newcommand/bmmax{0} % default 4
/usepackage{bm}
/usepackage{amsthm,amsmath,amssymb}
/usepackage{mathrsfs}
/usepackage{latexsym}
/usepackage{geometry}
/usepackage{fancyhdr}
/usepackage{mathtools}
/usefonttheme{professionalfonts}%把所有的字体间距变正常,和article一样
/usetheme{Berlin}
/usecolortheme{whale}
/useinnertheme[shadow=true]{rounded}
/usefonttheme[onlymath]{serif}% 默认的数学公式较难看,使用serif可以使得公式的样式变为常用latex的公式样式
% 1.1内部主题在这里,内部主题主要控制的是标题页,列表项目、定理环境、图表环境、脚注在一帧内的内容格式(做幻灯片的时候,其实一般不建议使用脚注)。预定义的内部主题格式有default、circles、rectangles、rounded、inmargin等。
%1.2外部主题 外部主题主要控制的是幻灯片顶部尾部的信息栏、边栏、图标、帧标题等一帧之外的格式。预定义的外部主题有default、infolines、miniframes、smoothbars、sidebar、split、shadow、tree、smoothtree等。
%1.3色彩主题 色彩主题控制各个部分的色彩。预定义的色彩主题包括default、albatross、beaver、beetle、crane、dolphine、dove、fly、lily、orchid、rose、seagull、seahorse、sidebartab、structure、whale、wolverine等。
/setbeamercovered{transparent}
% 也可删去
/setbeamertemplate{navigation symbols}{} % 取消导航图标
/setbeamertemplate{footline}{%
/leavevmode%
/hbox{%
/begin{beamercolorbox}[wd=.233333/paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
/usebeamerfont{author in head/foot}/insertshortauthor
/end{beamercolorbox}%
/begin{beamercolorbox}[wd=.533333/paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
/usebeamerfont{title in head/foot}/insertshorttitle
/end{beamercolorbox}%
/begin{beamercolorbox}[wd=.233333/paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
/usebeamerfont{date in head/foot}/insertshortdate{}/hspace*{2em}
/insertframenumber{} / /inserttotalframenumber/hspace*{2ex}
/end{beamercolorbox}}%
/vskip0pt%
}% 重设下方导航条并增加页码
/newcommand{/song}{/CJKfamily{song}} % 宋体 (Windows自带simsun.ttf)
/newcommand{/fs}{/CJKfamily{fs}} % 仿宋体 (Windows自带simfs.ttf)
/newcommand{/kai}{/CJKfamily{kai}} % 楷体 (Windows自带simkai.ttf)
/newcommand{/hei}{/CJKfamily{hei}} % 黑体 (Windows自带simhei.ttf)
/newcommand{/li}{/CJKfamily{li}} % 隶书 (Windows自带simli.ttf)
/newcommand{/you}{/CJKfamily{you}} % 幼圆 (Windows自带simyou.ttf)
/newcommand{/chuhao}{/fontsize{42pt}{/baselineskip}/selectfont} % 字号设置
/newcommand{/xiaochuhao}{/fontsize{36pt}{/baselineskip}/selectfont} % 字号设置
/newcommand{/yichu}{/fontsize{32pt}{/baselineskip}/selectfont} % 字号设置
/newcommand{/yihao}{/fontsize{28pt}{/baselineskip}/selectfont} % 字号设置
/newcommand{/erhao}{/fontsize{21pt}{/baselineskip}/selectfont} % 字号设置
/newcommand{/xiaoerhao}{/fontsize{18pt}{/baselineskip}/selectfont} % 字号设置
/newcommand{/sanhao}{/fontsize{15.75pt}{/baselineskip}/selectfont} % 字号设置
/newcommand{/sihao}{/fontsize{14pt}{/baselineskip}/selectfont} % 字号设置
/newcommand{/xiaosihao}{/fontsize{12pt}{/baselineskip}/selectfont} % 字号设置
/newcommand{/wuhao}{/fontsize{10.5pt}{/baselineskip}/selectfont} % 字号设置
/newcommand{/xiaowuhao}{/fontsize{9pt}{/baselineskip}/selectfont} % 字号设置
/newcommand{/liuhao}{/fontsize{7.875pt}{/baselineskip}/selectfont} % 字号设置
/newcommand{/qihao}{/fontsize{5.25pt}{/baselineskip}/selectfont} % 字号设置
/begin{document}
/title[title]{Title}
/author[]{author} % 显示作者
/institute[Sch]{
University, China //
School }
/date[Date below]{Harbin, 2021} % 显示日期
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/begin{frame}
/thispagestyle{empty}%去掉封面的页眉页脚
/titlepage
/end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/begin{frame}{Content}
/tableofcontents % 显示目录,并超链接到对应的section
/end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/section{Background}
/begin{frame}{Backgroumd}
/begin{itemize}
/item 111;
/item 222;
/item 333.
/end{itemize}
/begin{thebibliography}{99}
/bibitem{QQWZ} This is a paper.
/end{thebibliography}
/end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/begin{frame}{}
/begin{block}{AAA}
ZZZ
/end{block}
/end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/section{Preliminary}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/begin{frame}
/begin{itemize}
/item This is a note.
/item This is a note.
/end{itemize}
/end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/section{Main Result}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/begin{frame}{Main Result}
111.
/begin{block}{222}
333
/end{block}
/end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/begin{frame}
/thispagestyle{empty}
/begin{center}
/textcolor{blue}{/Huge{THANK YOU!}}
/end{center}
/end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/end{document}