資源描述:
《latex幻燈片模板》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、documentclass[CJK,notheorems,mathserif,table]{beamer}useoutertheme[height=0.1textwidth,width=0.15textwidth,hideothersubsections]{sidebar}usecolortheme{whale}%Outercolorthemes,其他選擇:whale,seahorse,dolphin.換一個(gè)編譯看看有什么不同.usecolortheme{orchid}%Innercolorthemes,其他選擇:
2、lily,orchiduseinnertheme[shadow]{rounded}%對box的設(shè)置:圓角、有陰影.setbeamercolor{sidebar}{bg=blue!60}%sidebar的顏色,50%的藍(lán)色.setbeamercolor{backgroundcanvas}{bg=blue!9}%背景色,9%的藍(lán)色.去掉下一行,試一試這個(gè).setbeamertemplate{backgroundcanvas}[verticalshading][bottom=white,top=structure.fg!25
3、]%%背景色,上25%的藍(lán),過渡到下白.usefonttheme{serif}%字體.個(gè)人偏好有輪廓的字體.去掉這個(gè)設(shè)置編譯,就看到不同了.setbeamertemplate{navigationsymbols}{}%%去掉頁面下方默認(rèn)的導(dǎo)航條.%%------------------------常用宏包---------------------------------------------------------------------%%注意,beamer會(huì)默認(rèn)使用下列宏包:amsthm,graphicx,hyper
4、ref,color,xcolor,等等usepackage{CJK}usepackage{amsmath,amsthm,amsfonts,amssymb,bm}%usepackage{ntheorem}usepackage{mathrsfs}usepackage{subfigure}%%圖形或表格并排排列usepackage{xmpmulti}%%支持文中的multiinclude等命令,使mp文件逐幀出現(xiàn).具體討論見beamer手冊.usepackage{colortbl,dcolumn}%%彩色表格use
5、package{graphicx}%logo{includegraphics[height=1intextwidth]{ustc.eps}}%左上角科大logo%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%重定義字體、字號(hào)命令%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%ewcommand{songti}{CJKfamily{song}}%宋體ewcommand{fangsong}{CJKfamily{fs}}%仿宋體ewco
6、mmand{kaishu}{CJKfamily{kai}}%楷體ewcommand{heiti}{CJKfamily{hei}}%黑體ewcommand{lishu}{CJKfamily{li}}%隸書ewcommand{youyuang}{CJKfamily{you}}%幼圓ewcommand{sihao}{fontsize{14pt}{baselineskip}selectfont}%字號(hào)設(shè)置ewcommand{xiaosihao}{fontsize{12pt}{basel
7、ineskip}selectfont}%字號(hào)設(shè)置ewcommand{wuhao}{fontsize{10.5pt}{baselineskip}selectfont}%字號(hào)設(shè)置ewcommand{xiaowuhao}{fontsize{9pt}{baselineskip}selectfont}%字號(hào)設(shè)置ewcommand{liuhao}{fontsize{7.875pt}{baselineskip}selectfont}%字號(hào)設(shè)置ewcommand{qihao}{fontsize{5
8、.25pt}{baselineskip}selectfont}%字號(hào)設(shè)置ewcommand{bahao}{fontsize{4.5pt}{baselineskip}selectfont}%字號(hào)設(shè)置%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%