diff --git a/Thesis-Slides1.pdf b/Thesis-Slides1.pdf index 200b7c0..6eaa427 100644 Binary files a/Thesis-Slides1.pdf and b/Thesis-Slides1.pdf differ diff --git a/Thesis-Slides1.tex b/Thesis-Slides1.tex index 08eaf50..f53bf91 100644 --- a/Thesis-Slides1.tex +++ b/Thesis-Slides1.tex @@ -43,12 +43,17 @@ \setbeamertemplate{enumerate items}[default] %\setbeamertemplate{section in toc}[square] +} + +% change the style of footline +\makeatletter \setbeamertemplate{footline} { \leavevmode% \hbox{% \begin{beamercolorbox}[wd=.3\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% - \usebeamerfont{author in head/foot}\insertshortauthor~(\insertshortinstitute) + \usebeamerfont{author in head/foot}\insertshortauthor\ifx\insertinstitute\empty\else\expandafter + \ifblank\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)}\fi \end{beamercolorbox}% \begin{beamercolorbox}[wd=.4\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% \usebeamerfont{title in head/foot}\insertshorttitle \hfill @@ -59,8 +64,7 @@ \end{beamercolorbox}}% \vskip0pt% } - -} +\makeatother %--------- 宏包 ---------- \usepackage[UTF8,noindent]{ctex} diff --git a/Thesis-Slides4.pdf b/Thesis-Slides4.pdf index 948ec03..50ca93a 100644 Binary files a/Thesis-Slides4.pdf and b/Thesis-Slides4.pdf differ diff --git a/Thesis-Slides4.tex b/Thesis-Slides4.tex index ea4f660..9230865 100644 --- a/Thesis-Slides4.tex +++ b/Thesis-Slides4.tex @@ -43,25 +43,28 @@ \setbeamertemplate{enumerate items}[default] %\setbeamertemplate{section in toc}[square] +} + +% change the style of footline +\makeatletter \setbeamertemplate{footline} { \leavevmode% \hbox{% - \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% - \usebeamerfont{author in head/foot}\insertshortauthor~(\insertshortinstitute) + \begin{beamercolorbox}[wd=.3\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}% + \usebeamerfont{author in head/foot}\insertshortauthor\ifx\insertinstitute\empty\else\expandafter + \ifblank\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)}\fi \end{beamercolorbox}% - \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% + \begin{beamercolorbox}[wd=.4\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}% \usebeamerfont{title in head/foot}\insertshorttitle \hfill \end{beamercolorbox}% - \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}% + \begin{beamercolorbox}[wd=.3\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}% \usebeamerfont{date in head/foot}\hfill\insertshortdate{}\hfill %\kern1ex \makebox[3em][r]{\insertframenumber\,/\,\inserttotalframenumber}\kern2ex \end{beamercolorbox}}% \vskip0pt% } - -} - +\makeatother %--------- 宏包 ---------- \usepackage[UTF8,noindent]{ctex} diff --git a/Thesis-Slides6.pdf b/Thesis-Slides6.pdf index eb9b8e9..85d48e0 100644 Binary files a/Thesis-Slides6.pdf and b/Thesis-Slides6.pdf differ diff --git a/Thesis-Slides6.tex b/Thesis-Slides6.tex index 9cfca2e..23fdc3e 100644 --- a/Thesis-Slides6.tex +++ b/Thesis-Slides6.tex @@ -66,7 +66,12 @@ \definecolor{darkgreen}{rgb}{0.02,0.18,0.20} \definecolor{footer}{rgb}{0.5,0.2,0.5} -\setbeamercolor{frametitle}{fg=darkblue,bg=black!5} +\setbeamercolor{title}{fg=darkblue} +\setbeamercolor{subtitle}{fg=darkblue!80} +%\setbeamercolor{institute}{fg=white} +%\setbeamercolor{author}{fg=white} +%\setbeamercolor{date}{fg=white} +\setbeamercolor{frametitle}{fg=darkblue} \setbeamercolor{section in head/foot}{bg=black,fg=darkorange} \setbeamercolor{lower separation line head}{bg=darkblue} \setbeamertemplate{section in head/foot shaded}{\color{lightgray} @@ -111,21 +116,26 @@ % \kern1em\vskip3pt% %} +% change the style of footline +\makeatletter \setbeamertemplate{footline} {% \leavevmode% \begin{beamercolorbox}[wd=0.25\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}% - \usebeamerfont{title in head/foot} ~~\insertshortauthor~(\insertshortinstitute) \hfill + \usebeamerfont{title in head/foot} ~~\insertshortauthor\ifx\insertinstitute\empty\else\expandafter + \ifblank\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)}\fi + \hfill \end{beamercolorbox}% \begin{beamercolorbox}[wd=0.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}% \usebeamerfont{title in head/foot}\centering \insertshorttitle \end{beamercolorbox}% \begin{beamercolorbox}[wd=0.25\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}% \usebeamerfont{title in head/foot} \hfill - \insertframenumber\,/\,\inserttotalframenumber~~% + \insertframenumber\,/\,\inserttotalframenumber\kern2pt% \end{beamercolorbox}% \vskip0pt% } +\makeatother %--------- 宏包 ---------- @@ -161,17 +171,12 @@ \setbeamerfont{institute}{family=\rmfamily} \setbeamerfont{author}{family=\rmfamily} \setbeamerfont{date}{family=\rmfamily} -\setbeamerfont{headline}{family=\sffamily} %,series=\bfseries +\setbeamerfont{headline}{family=\sffamily} % \setbeamerfont{footline}{family=\sffamily} %\kaishu \setbeamerfont{section in toc}{family=\rmfamily} \setbeamerfont{subsection in toc}{family=\rmfamily} \AtBeginDocument{\usebeamerfont{normal text}} -\setbeamercolor{title}{fg=darkblue,bg=black!10} -\setbeamercolor{subtitle}{fg=darkblue!80} -%\setbeamercolor{institute}{fg=white} -%\setbeamercolor{author}{fg=white} -%\setbeamercolor{date}{fg=white} \setbeamertemplate{caption}[numbered] \numberwithin{figure}{section}