學(xué)術(shù)會(huì)議自用beamer模板
時(shí)間:2023-06-08 01:00:02 | 來源:網(wǎng)站運(yùn)營
時(shí)間:2023-06-08 01:00:02 來源:網(wǎng)站運(yùn)營
學(xué)術(shù)會(huì)議自用beamer模板:今年暑假參加了一個(gè)杭州的學(xué)術(shù)會(huì)議,研究了很久的beamer,自己做了一個(gè)劣質(zhì)模板,發(fā)出來供大家參考。
因?yàn)闁|西都是自己懂了才加到模板里面,所以肯定沒網(wǎng)上很多現(xiàn)成的好,但至少我加進(jìn)去的代碼我知道什么用的,我覺得這對我來說很重要。
很多都加了說明,frame之間的%是我拿來隔開不同的frame的,方便修改以及對照。僅是個(gè)人習(xí)慣,對編譯沒有任何影響。
使用的是Berlin的主題,因?yàn)槲蚁矚g上面一個(gè)圈圈的結(jié)構(gòu)。我自己修改了頁腳,就是不知道頁眉多出來的那行深藍(lán)色怎么去掉,如果有知道的大佬請務(wù)必教教我。
示意圖
編碼方式 Xelatex
/documentclass[serif]{beamer}
/usepackage{xeCJK}
/usepackage{amsfonts} %額外的數(shù)學(xué)符號,花體,俄文德文字母
/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}% 默認(rèn)的數(shù)學(xué)公式較難看,使用serif可以使得公式的樣式變?yōu)槌S胠atex的公式樣式
% 1.1內(nèi)部主題在這里,內(nèi)部主題主要控制的是標(biāo)題頁,列表項(xiàng)目、定理環(huán)境、圖表環(huán)境、腳注在一幀內(nèi)的內(nèi)容格式(做幻燈片的時(shí)候,其實(shí)一般不建議使用腳注)。預(yù)定義的內(nèi)部主題格式有default、circles、rectangles、rounded、inmargin等。
%1.2外部主題 外部主題主要控制的是幻燈片頂部尾部的信息欄、邊欄、圖標(biāo)、幀標(biāo)題等一幀之外的格式。預(yù)定義的外部主題有default、infolines、miniframes、smoothbars、sidebar、split、shadow、tree、smoothtree等。
%1.3色彩主題 色彩主題控制各個(gè)部分的色彩。預(yù)定義的色彩主題包括default、albatross、beaver、beetle、crane、dolphine、dove、fly、lily、orchid、rose、seagull、seahorse、sidebartab、structure、whale、wolverine等。
/setbeamercovered{transparent}
% 也可刪去
/setbeamertemplate{navigation symbols}{} % 取消導(dǎo)航圖標(biāo)
/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%
}% 重設(shè)下方導(dǎo)航條并增加頁碼
/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} % 字號設(shè)置
/newcommand{/xiaochuhao}{/fontsize{36pt}{/baselineskip}/selectfont} % 字號設(shè)置
/newcommand{/yichu}{/fontsize{32pt}{/baselineskip}/selectfont} % 字號設(shè)置
/newcommand{/yihao}{/fontsize{28pt}{/baselineskip}/selectfont} % 字號設(shè)置
/newcommand{/erhao}{/fontsize{21pt}{/baselineskip}/selectfont} % 字號設(shè)置
/newcommand{/xiaoerhao}{/fontsize{18pt}{/baselineskip}/selectfont} % 字號設(shè)置
/newcommand{/sanhao}{/fontsize{15.75pt}{/baselineskip}/selectfont} % 字號設(shè)置
/newcommand{/sihao}{/fontsize{14pt}{/baselineskip}/selectfont} % 字號設(shè)置
/newcommand{/xiaosihao}{/fontsize{12pt}{/baselineskip}/selectfont} % 字號設(shè)置
/newcommand{/wuhao}{/fontsize{10.5pt}{/baselineskip}/selectfont} % 字號設(shè)置
/newcommand{/xiaowuhao}{/fontsize{9pt}{/baselineskip}/selectfont} % 字號設(shè)置
/newcommand{/liuhao}{/fontsize{7.875pt}{/baselineskip}/selectfont} % 字號設(shè)置
/newcommand{/qihao}{/fontsize{5.25pt}{/baselineskip}/selectfont} % 字號設(shè)置
/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 % 顯示目錄,并超鏈接到對應(yīng)的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}
關(guān)鍵詞:模板,會(huì)議,學(xué)術(shù)