added linesright footline
This commit is contained in:
parent
e91a6295cd
commit
dfee4624a9
@ -179,6 +179,56 @@
|
||||
\end{beamercolorbox}
|
||||
}
|
||||
|
||||
|
||||
%%%%% footline: linesright
|
||||
|
||||
\defbeamertemplate{footline}{linesright}{%
|
||||
\usebeamerfont{footline}%
|
||||
\usebeamertemplate{footline line}%
|
||||
\begin{beamercolorbox}[wd=1\paperwidth,dp=1.2ex,ht=2.8ex,sep=0pt,colsep=0pt,colsep*=0pt,%
|
||||
leftskip=1\beamer@leftmargin,rightskip=1\beamer@rightmargin]{footline}
|
||||
\hypersetup{linkcolor=}%
|
||||
% page:
|
||||
\if@beamer@footline@page
|
||||
\usebeamertemplate{page number in head/foot}%
|
||||
\fi
|
||||
\hfill
|
||||
\newif\if@tempsep%
|
||||
\@tempsepfalse%
|
||||
% author:
|
||||
\if@beamer@footline@author
|
||||
{\usebeamerfont{author in head/foot}%
|
||||
\insertshortauthor}%
|
||||
\@tempseptrue
|
||||
\fi
|
||||
% institute:
|
||||
\if@beamer@footline@institute
|
||||
\if@tempsep\usebeamertemplate{footline separator}\hskip0.6ex\fi
|
||||
{\usebeamerfont{institute in head/foot}%
|
||||
\insertshortinstitute}%
|
||||
\@tempseptrue
|
||||
\fi
|
||||
% date:
|
||||
\if@beamer@footline@date
|
||||
\if@tempsep\usebeamertemplate{footline separator}\hskip0.6ex\fi
|
||||
{\usebeamerfont{date in head/foot}%
|
||||
\insertshortdate}%
|
||||
\@tempseptrue
|
||||
\fi
|
||||
% title:
|
||||
\if@beamer@footline@title
|
||||
\if@tempsep\usebeamertemplate{footline separator}\hskip0.6ex\fi
|
||||
{\usebeamerfont{title in head/foot}%
|
||||
\insertshorttitle}%
|
||||
\@tempseptrue
|
||||
\fi
|
||||
% logo:
|
||||
\if@beamer@footline@logo%
|
||||
\ifx\insertlogo\@empty\else\quad \raisebox{-1ex}{\insertlogo}\fi%
|
||||
\fi
|
||||
\end{beamercolorbox}
|
||||
}
|
||||
|
||||
\setbeamertemplate{footline}[linesleft]
|
||||
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
\setbeamertemplate{frametitle line}[page][0.75pt] % text, page
|
||||
|
||||
\setbeamertemplate{page number in head/foot}[frames] % frames, framestotal, slides
|
||||
\setbeamertemplate{footline}[linesleft] % default, linesleft
|
||||
\setbeamertemplate{footline}[linesleft] % default, linesleft, linesright
|
||||
\setbeamertemplate{footline line}[page][0.3pt] % text, page
|
||||
\setbeamertemplate{footline separator}[text][0.3pt] % text, full, dash, space
|
||||
|
||||
|
@ -261,6 +261,9 @@
|
||||
\begin{block}{lines theme with author, title, etc. on the left}
|
||||
\verb!\setbeamertemplate{footline}[linesleft]!
|
||||
\end{block}
|
||||
\begin{block}{lines theme with author, title, etc. on the right}
|
||||
\verb!\setbeamertemplate{footline}[linesright]!
|
||||
\end{block}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]{Footline line}
|
||||
|
Loading…
Reference in New Issue
Block a user