├── ccnu_logo.png ├── ccnu_title.png ├── cgcl_logo3.png ├── cgcl_title2.png ├── cgcl_title3.png ├── ccnu_background.png ├── cgcl_background1.png ├── CGCL_BeamerTemplate.pdf ├── README.md ├── .gitignore ├── CGCL_BeamerTemplate.tex └── cgcl.sty /ccnu_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiunxPaisley/HUST_LaTex_Beamer_Template/HEAD/ccnu_logo.png -------------------------------------------------------------------------------- /ccnu_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiunxPaisley/HUST_LaTex_Beamer_Template/HEAD/ccnu_title.png -------------------------------------------------------------------------------- /cgcl_logo3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiunxPaisley/HUST_LaTex_Beamer_Template/HEAD/cgcl_logo3.png -------------------------------------------------------------------------------- /cgcl_title2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiunxPaisley/HUST_LaTex_Beamer_Template/HEAD/cgcl_title2.png -------------------------------------------------------------------------------- /cgcl_title3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiunxPaisley/HUST_LaTex_Beamer_Template/HEAD/cgcl_title3.png -------------------------------------------------------------------------------- /ccnu_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiunxPaisley/HUST_LaTex_Beamer_Template/HEAD/ccnu_background.png -------------------------------------------------------------------------------- /cgcl_background1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiunxPaisley/HUST_LaTex_Beamer_Template/HEAD/cgcl_background1.png -------------------------------------------------------------------------------- /CGCL_BeamerTemplate.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiunxPaisley/HUST_LaTex_Beamer_Template/HEAD/CGCL_BeamerTemplate.pdf -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## 以华中科技大学主题的幻灯片模板 2 | 1. 借助 [华中师范大学幻灯片模板 1.0](https://github.com/K-JW/CCNU_BeamerTemplate) 修改。 3 | 2. 目前尚不完善,例如华中科技大学的标题(cgcl_title1.png)没P好(手残)。 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Core latex/pdflatex auxiliary files: 2 | *.aux 3 | *.lof 4 | *.log 5 | *.lot 6 | *.fls 7 | *.out 8 | *.toc 9 | *.fmt 10 | *.fot 11 | *.cb 12 | *.cb2 13 | 14 | ## Intermediate documents: 15 | *.dvi 16 | *-converted-to.* 17 | # these rules might exclude image files for figures etc. 18 | # *.ps 19 | # *.eps 20 | # *.pdf 21 | 22 | ## Bibliography auxiliary files (bibtex/biblatex/biber): 23 | *.bbl 24 | *.bcf 25 | *.blg 26 | *-blx.aux 27 | *-blx.bib 28 | *.brf 29 | *.run.xml 30 | 31 | ## Build tool auxiliary files: 32 | *.fdb_latexmk 33 | *.synctex 34 | *.synctex.gz 35 | *.synctex.gz(busy) 36 | *.pdfsync 37 | 38 | ## Auxiliary and intermediate files from other packages: 39 | # algorithms 40 | *.alg 41 | *.loa 42 | 43 | # achemso 44 | acs-*.bib 45 | 46 | # amsthm 47 | *.thm 48 | 49 | # beamer 50 | *.nav 51 | *.snm 52 | *.vrb 53 | 54 | # cprotect 55 | *.cpt 56 | 57 | # fixme 58 | *.lox 59 | 60 | #(r)(e)ledmac/(r)(e)ledpar 61 | *.end 62 | *.?end 63 | *.[1-9] 64 | *.[1-9][0-9] 65 | *.[1-9][0-9][0-9] 66 | *.[1-9]R 67 | *.[1-9][0-9]R 68 | *.[1-9][0-9][0-9]R 69 | *.eledsec[1-9] 70 | *.eledsec[1-9]R 71 | *.eledsec[1-9][0-9] 72 | *.eledsec[1-9][0-9]R 73 | *.eledsec[1-9][0-9][0-9] 74 | *.eledsec[1-9][0-9][0-9]R 75 | 76 | # glossaries 77 | *.acn 78 | *.acr 79 | *.glg 80 | *.glo 81 | *.gls 82 | *.glsdefs 83 | 84 | # gnuplottex 85 | *-gnuplottex-* 86 | 87 | # hyperref 88 | *.brf 89 | 90 | # knitr 91 | *-concordance.tex 92 | # TODO Comment the next line if you want to keep your tikz graphics files 93 | *.tikz 94 | *-tikzDictionary 95 | 96 | # listings 97 | *.lol 98 | 99 | # makeidx 100 | *.idx 101 | *.ilg 102 | *.ind 103 | *.ist 104 | 105 | # minitoc 106 | *.maf 107 | *.mlf 108 | *.mlt 109 | *.mtc 110 | *.mtc[0-9] 111 | *.mtc[1-9][0-9] 112 | 113 | # minted 114 | _minted* 115 | *.pyg 116 | 117 | # morewrites 118 | *.mw 119 | 120 | # mylatexformat 121 | *.fmt 122 | 123 | # nomencl 124 | *.nlo 125 | 126 | # sagetex 127 | *.sagetex.sage 128 | *.sagetex.py 129 | *.sagetex.scmd 130 | 131 | # sympy 132 | *.sout 133 | *.sympy 134 | sympy-plots-for-*.tex/ 135 | 136 | # pdfcomment 137 | *.upa 138 | *.upb 139 | 140 | # pythontex 141 | *.pytxcode 142 | pythontex-files-*/ 143 | 144 | # thmtools 145 | *.loe 146 | 147 | # TikZ & PGF 148 | *.dpth 149 | *.md5 150 | *.auxlock 151 | 152 | # todonotes 153 | *.tdo 154 | 155 | # xindy 156 | *.xdy 157 | 158 | # xypic precompiled matrices 159 | *.xyc 160 | 161 | # endfloat 162 | *.ttt 163 | *.fff 164 | 165 | # Latexian 166 | TSWLatexianTemp* 167 | 168 | ## Editors: 169 | # WinEdt 170 | *.bak 171 | *.sav 172 | 173 | # Texpad 174 | .texpadtmp 175 | 176 | # Kile 177 | *.backup 178 | 179 | # KBibTeX 180 | *~[0-9]* 181 | -------------------------------------------------------------------------------- /CGCL_BeamerTemplate.tex: -------------------------------------------------------------------------------- 1 | \documentclass[10pt,aspectratio=169,mathserif]{beamer} 2 | %设置为 Beamer 文档类型,设置字体为 10pt,长宽比为16:9,数学字体为 serif 风格 3 | 4 | %%%%-----导入宏包-----%%%% 5 | \usepackage{cgcl} %导入 CCNU 模板宏包 6 | \usepackage{ctex} %导入 ctex 宏包,添加中文支持 7 | \usepackage{amsmath,amsfonts,amssymb,bm} %导入数学公式所需宏包 8 | \usepackage{color} %字体颜色支持 9 | \usepackage{graphicx,hyperref,url} 10 | %%%%%%%%%%%%%%%%%% 11 | 12 | 13 | \beamertemplateballitem %设置 Beamer 主题 14 | 15 | %%%%------------------------%%%%% 16 | \catcode`\。=\active %或者=13 17 | \newcommand{。}{.} 18 | %将正文中的“。”号转换为“.”。 19 | %%%%%%%%%%%%%%%%%%%%% 20 | 21 | %%%%----首页信息设置----%%%% 22 | \title[ 华中科技大学 Beamer 模板]{华中科技大学 Beamer 模板} 23 | \subtitle{——副标题} 24 | %%%%----标题设置 25 | 26 | 27 | \author[name]{ 28 | 姓名 \\\medskip 29 | {\small \url{M2017xxxxx@hust.edu.cn}} \\ 30 | {\small \url{http://grid.hust.edu.cn/}}} 31 | %%%%----个人信息设置 32 | 33 | \institute[IOPP]{ 34 | 服务计算技术与系统教育部重点实验室 \\ 35 | 集群与网格计算湖北省重点实验室 \\ 36 | 华中科技大学} 37 | %%%%----机构信息 38 | 39 | \date[Mar. 21 2018]{\today 40 | % 2016年12月01日 41 | } 42 | %%%%----日期信息 43 | 44 | \begin{document} 45 | 46 | \begin{frame} 47 | \titlepage 48 | \end{frame} %生成标题页 49 | 50 | \section{提纲} 51 | \begin{frame} 52 | \frametitle{提纲} 53 | \tableofcontents 54 | \end{frame} %生成提纲页 55 | 56 | \section{介绍} 57 | \begin{frame} 58 | \frametitle{介绍} 59 | 60 | \begin{itemize} 61 | \item {编译方式} 62 | \begin{itemize} 63 | \item 推荐安装完整版的 TexLive 64 | \item 使用 xelatex 编译 65 | \end{itemize} 66 | \item 请参考 \LaTeX 和 Beamer 用户文档 67 | 68 | \item 行内数学公式示例 $\sin^2 \theta + \cos^2 \theta = 1$ 69 | \item {行间数学公式示例 \begin{equation} 70 | y_{1}=\int \sin x\, {\rm d}x 71 | \end{equation} } 72 | \item 基于“DARLING in the FRANXX”颜色 \url{http://grid.hust.edu.cn/} 73 | \end{itemize} 74 | \end{frame} 75 | 76 | \section{内置环境} 77 | \begin{frame} 78 | \frametitle{内置环境} 79 | \begin{block}{Slides with \LaTeX} 80 | Beamer offers a lot of functions to create nice slides using \LaTeX. 81 | \end{block} 82 | 83 | \begin{block}{The basis} 84 | 内部使用以下主题 85 | \begin{itemize} 86 | \item split 87 | \item whale 88 | \item rounded 89 | \item orchid 90 | \end{itemize} 91 | \end{block} 92 | \end{frame} 93 | 94 | \begin{frame} 95 | \frametitle{带数字列表} 96 | \begin{enumerate} 97 | \item This just shows the effect of the style 98 | \item It is not a Beamer tutorial 99 | \item Read the Beamer manual for more help 100 | \item Contact me only concerning the style file 101 | \end{enumerate} 102 | \end{frame} 103 | 104 | \section{结论} 105 | \begin{frame} 106 | \frametitle{结论} 107 | 108 | \begin{itemize} 109 | \item Easy to use 110 | \item Good results 111 | \end{itemize} 112 | \end{frame} 113 | 114 | \section{参考文献} 115 | \begin{frame}{参考文献} 116 | \begin{thebibliography}{99} 117 | \bibitem{zhao1} Yi~Zhao, {\sl An introduction to X}, Sep.~15, 2015 118 | \bibitem{qian2} Er~Qian, San~Sun, 119 | Phys.\ Rev.\ J.\ C {\bf xx}, 2xx (20xx) 120 | \bibitem{li4} Si~Li, Phys.\ Rev.\ J.\ C {\bf xx}, 5xx (20xx) 121 | 122 | \end{thebibliography} 123 | \end{frame} 124 | 125 | \end{document} -------------------------------------------------------------------------------- /cgcl.sty: -------------------------------------------------------------------------------- 1 | %% FileName : ccnu.sty 2 | %% Author : Kang Jin-Wen 3 | %% Created : Thu Nov 19 21:41 2016 by Kang Jin-Wen 4 | %% Copyright : (c) 2016 5 | %% Description : Beamer for CCNU 6 | %% Time-stamp: <2016-11-19 21:41> 7 | %% 8 | %% :::::::: :::::::: :::: ::: ::: ::: 9 | %% :+: :+: :+: :+: :+:+: :+: :+: :+: 10 | %% +:+ +:+ :+:+:+ +:+ +:+ +:+ 11 | %% +#+ +#+ +#+ +:+ +#+ +#+ +:+ 12 | %% +#+ +#+ +#+ +#+#+# +#+ +#+ 13 | %% #+# #+# #+# #+# #+# #+#+# #+# #+# 14 | %% ######## ######## ### #### ######## 15 | 16 | % Copyright 2009 by Pim Vullers 17 | % 18 | % This file may be distributed and/or modified 19 | % 20 | % 1. under the LaTeX Project Public License and/or 21 | % 2. under the GNU Public License. 22 | % 23 | 24 | %%% 25 | %%% Inherit definitions from existing themes (DO NOT MODIFY THESE) 26 | %%% 27 | 28 | % Layout scheme for outer elements: split header and footer 29 | \useoutertheme{split} 30 | 31 | % Color scheme for outer elements: use background colors 32 | \usecolortheme{whale} 33 | 34 | % Layout scheme for inner elements: rounded elements 35 | \useinnertheme{rounded} 36 | 37 | % Color scheme for inner elements: use foreground colors 38 | \usecolortheme{orchid} 39 | 40 | 41 | %%% 42 | %%% Tweak definitions of inner theme to match personal preferences (MODIFY THESE) 43 | %%% 44 | 45 | % Itemize items: default (triangle), circle, square, ball 46 | \setbeamertemplate{itemize items}[circle] 47 | 48 | % Enumerate items: default, circle, square, ball 49 | \setbeamertemplate{enumerate items}[circle] 50 | 51 | % Outline: default, sections numbered, subsections numbered, circle, square, ball, ball unnumbered 52 | \setbeamertemplate{sections/subsections in toc}[default] 53 | 54 | % General blocks: 55 | \setbeamertemplate{blocks}[rounded] 56 | 57 | % Title page: 58 | \setbeamertemplate{title page}[default][colsep=-4bp,rounded=true] 59 | 60 | % Part page: 61 | \setbeamertemplate{part page}[default][colsep=-4bp,rounded=true] 62 | 63 | % Navigation symbols: 64 | % \setbeamertemplate{navigation symbols}{} 65 | 66 | 67 | %%% 68 | %%% Tweak definitions of outer theme to match Radboud (website) style 69 | %%% 70 | 71 | %%%%%%%%%%%%%%%%% 72 | % 蓝色:color:#00A7E0; rgb(0, 167, 224) 73 | % 红色:color:#FF3F1A; rgb(255, 63, 26) 74 | %%%%%%%%%%%%%%%%% 75 | 76 | % Background 77 | \pgfdeclareimage[width=\paperwidth,height=\paperheight]{bg}{cgcl_background1} 78 | \setbeamertemplate{background}{\pgfuseimage{bg}} 79 | 80 | % Colors 81 | 82 | \usecolortheme[RGB={0, 167, 224}]{structure} 83 | % \usecolortheme[RGB={255, 63, 26}]{headline} 84 | 85 | % ppt中使用渐变色,声明继承到的背景(bg)颜色(黑色) 86 | \definecolor{DitfRed}{RGB}{255, 63, 26} 87 | \setbeamercolor{sectionlist}{bg=DitfRed} 88 | 89 | \setbeamercolor{frametitle}{parent=subsection in head/foot} % blue 90 | %\setbeamercolor{frametitle}{fg=DitfRed, bg=subsection in head/foot} 91 | \setbeamercolor{frametitle right}{parent=section in head/foot} % black 92 | 93 | % ppt中使用渐变色,声明 94 | \pgfdeclarehorizontalshading[frametitle.bg,frametitle right.bg]{beamer@frametitleshade}{\paperheight}{% 95 | color(0pt)=(frametitle.bg); 96 | color(\paperwidth)=(black) 97 | } 98 | 99 | 100 | \AtBeginDocument{ 101 | \pgfdeclareverticalshading{beamer@topshade}{\paperwidth}{% 102 | color(0pt)=(bg); 103 | color(4pt)=(black!50!bg)} 104 | } 105 | 106 | % Footline: AUTHOR | TITLE | DATE FRAMENUMBER 107 | % ppt的底部 108 | \defbeamertemplate*{footline}{ccnu theme}{% 109 | \leavevmode% 110 | \hbox{% 111 | \begin{beamercolorbox}[wd=.25\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% 112 | \usebeamerfont{author in head/foot}\insertshortauthor 113 | \end{beamercolorbox}% 114 | \begin{beamercolorbox}[wd=.25\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% 115 | \usebeamerfont{author in head/foot}\insertshortdate 116 | \end{beamercolorbox}% 117 | \begin{beamercolorbox}[wd=.435\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% 118 | \usebeamerfont{title in head/foot}\insertshorttitle 119 | \end{beamercolorbox}% 120 | \begin{beamercolorbox}[wd=0.065\paperwidth,ht=2.25ex,dp=1ex,right]{title in head/foot}% 121 | \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} 122 | \end{beamercolorbox}}% 123 | \vskip0pt% 124 | } 125 | 126 | %\setbeamercolor{ditf_red}{RGB} 127 | 128 | 129 | 130 | % ppt的顶部 131 | \defbeamertemplate*{headline}{ccnu theme}{% 132 | \leavevmode% 133 | \@tempdimb=6.4375ex% 134 | %\multiply\@tempdimb by\beamer@sectionmax% 135 | \pgfdeclareimage[height=.95\@tempdimb]{logo}{cgcl_logo3.png}% 136 | \pgfdeclareimage[height=1.\@tempdimb]{title_logo}{cgcl_title2.png}% 137 | \logo{\pgfuseimage{logo}}% 138 | \ifdim\@tempdimb>0pt% 139 | \advance\@tempdimb by 1.125ex% 140 | \begin{beamercolorbox}[wd=.8\paperwidth,ht=\@tempdimb]{section in head/foot}%{section in head/foot} % {section in head/foot}是用来设置颜色的 141 | \vbox to\@tempdimb{\vfil\insertsectionnavigationhorizontal{.5\textwidth}{\hskip0pt plus1filll}{}\vfil}% 142 | \end{beamercolorbox}% 143 | %% \begin{beamercolorbox}[wd=.4\paperwidth,ht=\@tempdimb,center]{subsection in head/foot}% 144 | %% \vbox to\@tempdimb{\vfil\textbf{\footnotesize\insertshortinstitute~~}\vfil}% 145 | %% \end{beamercolorbox}% 146 | \begin{beamercolorbox}[wd=.135\paperwidth,ht=\@tempdimb,center]{subsection in head/foot}%{DitfRed}% 147 | \vbox to\@tempdimb{\vfil\pgfuseimage{title_logo}\vfil}% 148 | \end{beamercolorbox}% 149 | \begin{beamercolorbox}[wd=.065\paperwidth,ht=\@tempdimb,center]{subsection in head/foot}%{DitfRed}% 150 | \vbox to\@tempdimb{\vfil\insertlogo\vfil\vfil}% 151 | \end{beamercolorbox}% 152 | \fi% 153 | } 154 | 155 | \defbeamertemplate*{frametitle}{ccnu theme}{% 156 | \nointerlineskip% 157 | %\vskip-2pt% 158 | \hbox{\leavevmode 159 | \advance\beamer@leftmargin by -12bp% 160 | \advance\beamer@rightmargin by -12bp% 161 | \beamer@tempdim=\textwidth% 162 | \advance\beamer@tempdim by \beamer@leftmargin% 163 | \advance\beamer@tempdim by \beamer@rightmargin% 164 | \hskip-\Gm@lmargin\hbox{% 165 | \setbox\beamer@tempbox=\hbox{\begin{minipage}[b]{\paperwidth}% 166 | \vbox{}\vskip-.75ex% 167 | \leftskip0.3cm% 168 | \rightskip0.3cm plus1fil\leavevmode 169 | \insertframetitle% 170 | \ifx\insertframesubtitle\@empty% 171 | \strut\par% 172 | \else 173 | \par{\usebeamerfont*{framesubtitle}{\usebeamercolor[fg]{framesubtitle}\insertframesubtitle}\strut\par}% 174 | \fi% 175 | \nointerlineskip 176 | \vbox{}% 177 | \end{minipage}}% 178 | \beamer@tempdim=\ht\beamer@tempbox% 179 | \advance\beamer@tempdim by 2pt% 180 | \begin{pgfpicture}{0.1mm}{0pt}{1.01\paperwidth}{\beamer@tempdim} 181 | \usebeamercolor{frametitle right} 182 | \pgfpathrectangle{\pgfpointorigin}{\pgfpoint{\paperwidth}{\beamer@tempdim}} 183 | \pgfusepath{clip} 184 | \pgftext[left,base]{\pgfuseshading{beamer@frametitleshade}} 185 | \end{pgfpicture} 186 | \hskip-\paperwidth% 187 | \box\beamer@tempbox% 188 | }% 189 | \hskip-\Gm@rmargin% 190 | }% 191 | % \nointerlineskip 192 | % \vskip-0.2pt 193 | % \hbox to\textwidth{\hskip-\Gm@lmargin\pgfuseshading{beamer@topshade}\hskip-\Gm@rmargin} 194 | % \vskip-2pt 195 | } 196 | --------------------------------------------------------------------------------