Skip to content

Commit

Permalink
beamer template: replaced relative with absolute measures
Browse files Browse the repository at this point in the history
  • Loading branch information
timmli committed Jan 6, 2020
1 parent 24b4799 commit 9cb0225
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 24 deletions.
36 changes: 24 additions & 12 deletions SETUP.org
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion templates/beamer-template.org
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
1 change: 1 addition & 0 deletions templates/beamer-template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
compress,
xcolor=table,
dvipsnames,
aspectratio=43,
]{beamer}

\input{settings/beamer-settings.tex}
Expand Down
33 changes: 22 additions & 11 deletions themes/beamerlogosTuebingen.tex
Original file line number Diff line number Diff line change
@@ -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}
}
Expand Down

0 comments on commit 9cb0225

Please sign in to comment.