diff --git a/beamerthemelines.sty b/beamerthemelines.sty index 2ffcea9..b11de29 100644 --- a/beamerthemelines.sty +++ b/beamerthemelines.sty @@ -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] diff --git a/beamerthemeut.sty b/beamerthemeut.sty index c94e9d5..fe7a967 100644 --- a/beamerthemeut.sty +++ b/beamerthemeut.sty @@ -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 diff --git a/lines-example.tex b/lines-example.tex index d25cbdb..23d1ec7 100644 --- a/lines-example.tex +++ b/lines-example.tex @@ -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}