From 9cb0225e3a695ea1f78c51b7af4f90449608143d Mon Sep 17 00:00:00 2001 From: timmli Date: Mon, 6 Jan 2020 09:48:44 +0100 Subject: [PATCH] beamer template: replaced relative with absolute measures --- SETUP.org | 36 ++++++++++++++++++++++----------- templates/beamer-template.org | 2 +- templates/beamer-template.tex | 1 + themes/beamerlogosTuebingen.tex | 33 ++++++++++++++++++++---------- 4 files changed, 48 insertions(+), 24 deletions(-) diff --git a/SETUP.org b/SETUP.org index b5853ee..c1fd9e0 100644 --- a/SETUP.org +++ b/SETUP.org @@ -1305,22 +1305,33 @@ numbers=noenddot, #+NAME: beamerlogosTuebingen.tex #+BEGIN_SRC latex :noweb yes :tangle themes/beamerlogosTuebingen.tex \titlelogo{% - \includegraphics[width=.31\paperwidth, keepaspectratio=true]{graphics/UT-logo.pdf} - \hskip0.4cm + \includegraphics[width=3.967cm, keepaspectratio=true]{graphics/UT-logo.pdf} + \hskip0.4cm %% Trajan \begin{minipage}[t]{0.5\textwidth} - \vskip-0.104\paperheight - \includegraphics[width=.45\paperwidth, keepaspectratio=true]{graphics/UT-MNF-FBI-logo.pdf} + \vskip-0.95cm + \includegraphics[width=5.75cm, keepaspectratio=true]{graphics/UT-MNF-FBI-logo.pdf} \end{minipage}% - %% Trajan + Arial - % \begin{minipage}[t]{0.5\textwidth} - % \setlength{\baselineskip}{11pt} - % \vskip-0.108\paperheight - % \includegraphics[width=.45\paperwidth, keepaspectratio=true]{graphics/UT-MNF-logo.pdf}\newline - % \upshape\sffamily\color{UTred}\fontsize{7}{10}\selectfont\textbf{Fachbereich Informatik} - % \end{minipage}% } +%% Old version with relative measures +% \titlelogo{% +% \includegraphics[width=.31\paperwidth, keepaspectratio=true]{graphics/UT-logo.pdf} +% \hskip0.4cm +% %% Trajan +% \begin{minipage}[t]{0.5\textwidth} +% \vskip-0.104\paperheight +% \includegraphics[width=.45\paperwidth, keepaspectratio=true]{graphics/UT-MNF-FBI-logo.pdf} +% \end{minipage}% +% %% Trajan + Arial +% % \begin{minipage}[t]{0.5\textwidth} +% % \setlength{\baselineskip}{11pt} +% % \vskip-0.108\paperheight +% % \includegraphics[width=.45\paperwidth, keepaspectratio=true]{graphics/UT-MNF-logo.pdf}\newline +% % \upshape\sffamily\color{UTred}\fontsize{7}{10}\selectfont\textbf{Fachbereich Informatik} +% % \end{minipage}% +% } + \headlinelogo{% \includegraphics[width=2.52cm, keepaspectratio=true]{graphics/UT-logo.pdf} } @@ -1554,11 +1565,12 @@ numbers=noenddot, compress, xcolor=table, dvipsnames, +aspectratio=43, #+END_SRC #+NAME: beamer-options-org #+BEGIN_SRC latex -[compress,xcolor=table,dvipsnames,10pt] +[compress,xcolor=table,dvipsnames,10pt,aspectratio=43] #+END_SRC #+NAME: beamer-settings diff --git a/templates/beamer-template.org b/templates/beamer-template.org index b9ed7bb..e3fd857 100644 --- a/templates/beamer-template.org +++ b/templates/beamer-template.org @@ -13,7 +13,7 @@ #+STARTUP: beamer #+STARTUP: hideblocks content #+LATEX_CLASS: beamer -#+LATEX_CLASS_OPTIONS: [compress,xcolor=table,dvipsnames,10pt] +#+LATEX_CLASS_OPTIONS: [compress,xcolor=table,dvipsnames,10pt,aspectratio=43] #+LATEX_COMPILER: pdflatex #+LATEX_HEADER: \input{settings/beamer-settings.tex} #+LATEX_HEADER: \input{myMacros} diff --git a/templates/beamer-template.tex b/templates/beamer-template.tex index 6aa404c..af3c484 100644 --- a/templates/beamer-template.tex +++ b/templates/beamer-template.tex @@ -10,6 +10,7 @@ compress, xcolor=table, dvipsnames, +aspectratio=43, ]{beamer} \input{settings/beamer-settings.tex} diff --git a/themes/beamerlogosTuebingen.tex b/themes/beamerlogosTuebingen.tex index ecc157b..9c453f9 100644 --- a/themes/beamerlogosTuebingen.tex +++ b/themes/beamerlogosTuebingen.tex @@ -1,20 +1,31 @@ \titlelogo{% - \includegraphics[width=.31\paperwidth, keepaspectratio=true]{graphics/UT-logo.pdf} - \hskip0.4cm + \includegraphics[width=3.967cm, keepaspectratio=true]{graphics/UT-logo.pdf} + \hskip0.4cm %% Trajan \begin{minipage}[t]{0.5\textwidth} - \vskip-0.104\paperheight - \includegraphics[width=.45\paperwidth, keepaspectratio=true]{graphics/UT-MNF-FBI-logo.pdf} + \vskip-0.95cm + \includegraphics[width=5.75cm, keepaspectratio=true]{graphics/UT-MNF-FBI-logo.pdf} \end{minipage}% - %% Trajan + Arial - % \begin{minipage}[t]{0.5\textwidth} - % \setlength{\baselineskip}{11pt} - % \vskip-0.108\paperheight - % \includegraphics[width=.45\paperwidth, keepaspectratio=true]{graphics/UT-MNF-logo.pdf}\newline - % \upshape\sffamily\color{UTred}\fontsize{7}{10}\selectfont\textbf{Fachbereich Informatik} - % \end{minipage}% } +%% Old version with relative measures +% \titlelogo{% +% \includegraphics[width=.31\paperwidth, keepaspectratio=true]{graphics/UT-logo.pdf} +% \hskip0.4cm +% %% Trajan +% \begin{minipage}[t]{0.5\textwidth} +% \vskip-0.104\paperheight +% \includegraphics[width=.45\paperwidth, keepaspectratio=true]{graphics/UT-MNF-FBI-logo.pdf} +% \end{minipage}% +% %% Trajan + Arial +% % \begin{minipage}[t]{0.5\textwidth} +% % \setlength{\baselineskip}{11pt} +% % \vskip-0.108\paperheight +% % \includegraphics[width=.45\paperwidth, keepaspectratio=true]{graphics/UT-MNF-logo.pdf}\newline +% % \upshape\sffamily\color{UTred}\fontsize{7}{10}\selectfont\textbf{Fachbereich Informatik} +% % \end{minipage}% +% } + \headlinelogo{% \includegraphics[width=2.52cm, keepaspectratio=true]{graphics/UT-logo.pdf} }