summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Traut <manut@linutronix.de>2018-11-29 17:24:38 +0100
committerJohn Ogness <john.ogness@linutronix.de>2019-01-11 14:19:17 +0106
commitce59ea8a298418b161b220df3a390b0e1fb73421 (patch)
tree5ebcce1a25908f86ac6f88539bb1572f8d2097a2
parentfbff95a7f9cc09d79af0c8a012f3164452d7030b (diff)
fix handling of numbers on slides and printouts
As mentioned in mantis #1449 slides are increasing the page number if \pause is used. This leads to different page numbers in printout presentations. This is fixed by using frame numbers instead of page numbers. The micronsult theme doesn't use any numbers. This inserts the frame number on the bottom left. Signed-off-by: Manuel Traut <manut@linutronix.de>
-rw-r--r--configbeamer.tex4
-rw-r--r--foreignthemes/microconsult/beamerthememicroconsult.sty2
2 files changed, 3 insertions, 3 deletions
diff --git a/configbeamer.tex b/configbeamer.tex
index f77f5f3..edbe28b 100644
--- a/configbeamer.tex
+++ b/configbeamer.tex
@@ -51,12 +51,12 @@
\IfFileExists{.lxformat_microconsult}
{
-% no copyright footer
+% footer is defined in microconsult theme
}{
\setbeamertemplate{footline}[text line]{\parbox{\linewidth}{
\copyright{} \the\year\ by \insertinstitute \hfill
\insertshortauthor \hfill
-\insertpagenumber}
+\insertframenumber}
}
}
diff --git a/foreignthemes/microconsult/beamerthememicroconsult.sty b/foreignthemes/microconsult/beamerthememicroconsult.sty
index 1a45429..88a7065 100644
--- a/foreignthemes/microconsult/beamerthememicroconsult.sty
+++ b/foreignthemes/microconsult/beamerthememicroconsult.sty
@@ -38,7 +38,7 @@
%footer with author, company name, page number
\setbeamertemplate{footline}{
- {\hspace{10pt}\raisebox{-2pt}{\pgfuseimage{ucfooter}}\vspace{7pt}}
+ {\hspace{2pt}\insertframenumber\hspace{6pt}\raisebox{-2pt}{\pgfuseimage{ucfooter}}\vspace{7pt}}
\textcolor{white}{\hspace{-345pt}\vspace{5pt}Copyright 2019 Linutronix GmbH}
\vspace{-7pt}
}