Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
andy123t committed Nov 6, 2022
1 parent 93fae82 commit b9ec7a0
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 19 deletions.
Binary file modified Thesis-Slides1.pdf
Binary file not shown.
10 changes: 7 additions & 3 deletions Thesis-Slides1.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -59,8 +64,7 @@
\end{beamercolorbox}}%
\vskip0pt%
}

}
\makeatother

%--------- 宏包 ----------
\usepackage[UTF8,noindent]{ctex}
Expand Down
Binary file modified Thesis-Slides4.pdf
Binary file not shown.
17 changes: 10 additions & 7 deletions Thesis-Slides4.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
Binary file modified Thesis-Slides6.pdf
Binary file not shown.
23 changes: 14 additions & 9 deletions Thesis-Slides6.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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


%--------- 宏包 ----------
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit b9ec7a0

Please sign in to comment.