Template adjusted for compact mode.

This commit is contained in:
Julian M. Kunkel 2018-06-02 11:03:29 +01:00
parent 2bf79bb278
commit 3c726ffb84
2 changed files with 19 additions and 2 deletions

View File

@ -33,7 +33,7 @@ for p in data:
offset_y += 6 offset_y += 6
img = doc.subImage(offset_x, offset_y , 9, 6) img = doc.subImage(offset_x, offset_y , 9, 6)
img.addImg("../assets/background", 0, 0, 0.5) img.addImg("../assets/background", 0, 0, 0.7)
img.addImg("../assets/reading-logo", 0.1, 0.8, 0.1) img.addImg("../assets/reading-logo", 0.1, 0.8, 0.1)
img.addKeyVal("Computer Science", 0.37, 0.86, size=0.05, color=(0,0.2,0), font="Helvetica") img.addKeyVal("Computer Science", 0.37, 0.86, size=0.05, color=(0,0.2,0), font="Helvetica")

View File

@ -5,7 +5,6 @@
%\def\UrlBreaks{\do\/\do-\do.} %\def\UrlBreaks{\do\/\do-\do.}
\usepackage{tikz} \usepackage{tikz}
\usepackage{textpos} \usepackage{textpos}
\usepackage{caption} \usepackage{caption}
\usepackage{subfig} \usepackage{subfig}
\DeclareGraphicsExtensions{.png,.pdf,.jpg,.jpeg} \DeclareGraphicsExtensions{.png,.pdf,.jpg,.jpeg}
@ -60,10 +59,19 @@
\begin{textblock*}{100mm}(.88\textwidth,-0.5cm) \begin{textblock*}{100mm}(.88\textwidth,-0.5cm)
\includegraphics[width=2cm]{reading-logo} \includegraphics[width=2cm]{reading-logo}
\end{textblock*} \end{textblock*}
\vspace*{-1.5em}
} }
\makeatletter \makeatletter
\newcommand{\setlistspacing}[2]{\def\@ld{#1}\expandafter\def\csname
@list\romannumeral\@ld \endcsname{\leftmargin\csname
leftmargin\romannumeral\@ld \endcsname
\topsep #2
\parsep 0\p@ \@plus\p@
\itemsep #2}}
% USEFUL definitions for the author onto the title page % USEFUL definitions for the author onto the title page
\newcommand\authorFooter[1]{\renewcommand\insertAuthorFooter{#1}} \newcommand\authorFooter[1]{\renewcommand\insertAuthorFooter{#1}}
@ -86,6 +94,7 @@
\makeatother \makeatother
\defbeamertemplate*{title page}{customized}[1][] \defbeamertemplate*{title page}{customized}[1][]
{ {
\hspace*{-2cm} \hspace*{-2cm}
@ -255,4 +264,12 @@
\newcommand{\HREFColor}[3]{\href{#2}{\color{#1}{#3}}}% \newcommand{\HREFColor}[3]{\href{#2}{\color{#1}{#3}}}%
\newcommand{\URLColor}[2]{\HREFColor{#1}{#2}{#2}}% \newcommand{\URLColor}[2]{\HREFColor{#1}{#2}{#2}}%
%% Make the slide very compact, typically use with [t] slides
\newcommand{\compact}[0]{
\setlength{\medskipamount}{0.0pt}
\setlistspacing{1}{0.1ex}
\setlistspacing{2}{0.1ex}
\setlistspacing{3}{0.1ex}
}
\mode<all> \mode<all>