From 39304dc156de44bd7a38959e9e8b5abfa27916c2 Mon Sep 17 00:00:00 2001 From: "Jeroen F.J. Laros" <J.F.J.Laros@lumc.nl> Date: Wed, 2 Mar 2011 09:45:13 +0000 Subject: [PATCH] Updated the presentation template, made it better configurable, added listing functionality, added a bold text command. --- presentation.tex | 72 +++++++++++++++++++++++++++++++++++++----------- 1 file changed, 56 insertions(+), 16 deletions(-) diff --git a/presentation.tex b/presentation.tex index 039d948..8161a03 100644 --- a/presentation.tex +++ b/presentation.tex @@ -1,5 +1,5 @@ % LUMC presentation template by J. F. J. Laros. -% Last alteration on 15-10-2009. +% Last alteration on 20-02-2011. % % The packages texlive-latex-recommended, texlive-latex-base and % texlive-latex-extra should be installed. @@ -7,9 +7,12 @@ % Alter these four lines for a new presentation. \providecommand{\me}{Jeroen F. J. Laros} -\providecommand{\myTitle}{Testing LaTeX slides} +\providecommand{\myGroup}{Leiden Genome Technology Center} +\providecommand{\myDepartment}{Department of Human Genetics} +\providecommand{\myCenter}{Center for Human and Clinical Genetics} +\providecommand{\myTitle}{\LaTeX \ Presentation Template} \providecommand{\myConference}{Work discussion} -\providecommand{\myDate}{Tuesday, 7 July 2009} +\providecommand{\myDate}{Thursday, 24 February 2011} % Now go to %%% BEGIN PRESENTATION %%% @@ -18,10 +21,12 @@ \usepackage{semcolor} % For coloured text. \usepackage{slidesec} % For section headings. \usepackage{newcent} % This is a better font for presentations. +\usepackage{listings} \input{seminar.bug} \usepackage{graphicx} % For pictures. \usepackage{fancybox} % For the background picture. +\usepackage[labelfont={color=white}, textfont={color=white}]{caption} \definecolor{Blue}{rgb}{0.,0.11372,0.37647} % Custom LUMC color @@ -31,6 +36,27 @@ \renewcommand{\labelitemiv}{\textcolor{white}{$\circ$}} \renewcommand{\labelenumi}{\textcolor{white}{\arabic{enumi}.}} +\newcommand{\bt}[1]{\texttt{\textbf{#1}}} + +\lstdefinelanguage{BNF}{ + sensitive = true, + otherkeywords = {-,>,|,',`,?,(,)}, + morestring = [b][keywordstyle]', + morecomment = [l]{\#}, +} + +\lstset{ + language = Python, + basicstyle = \footnotesize, + lineskip = -0.5ex, + frame = shadowbox, + rulesepcolor = \color{black}, + captionpos = b, + numbers = left, + numbersep = -1em, + numberstyle = \tiny +} + \newslideframe{TITLE}{ % Template for the title. \boxput{ \rput(0, 0){\includegraphics[angle=90, scale=.485]{bg}} @@ -42,9 +68,9 @@ \rput(0, 0){\includegraphics[angle=90, scale=.485]{bg2}} }{ \textcolor{Blue}{ - \rput[l]{90}(8.57, -1.5){\scriptsize{\myConference}} - \rput[c]{90}(8.57, 5.35){\scriptsize{\theslide/\pageref{LastPage}}} - \rput[r]{90}(8.57, 12.2){\scriptsize{\myDate}} + \rput[l]{90}(8.57, -1.5){\scriptsize{\myConference}} + \rput[c]{90}(8.57, 5.35){\scriptsize{\theslide/\pageref{LastPage}}} + \rput[r]{90}(8.57, 12.2){\scriptsize{\myDate}} } \white #1 } @@ -69,16 +95,17 @@ \setcounter{slide}{0} \vspace*{1.5cm} \begin{center} - {\bf\Large{\myTitle}}\\ - \vfill - \textcolor{Blue}{ - {\bf - \small{\me}\\ - \small{Department of Human Genetics}\\ - \small{Center for Human and Clinical Genetics} - } + {\bf\Large{\myTitle}}\\ + \vfill + \textcolor{Blue}{ + {\bf + \small{\me}\\ + \small{\myGroup}\\ + \small{\myDepartment}\\ + \small{\myCenter} } - \vspace{1.1cm} + } + \vspace{1.1cm} \end{center} \end{slide} @@ -103,11 +130,24 @@ And yet more text.. \vfill \end{slide} - + \begin{slide} + %\rput(11.4,0.6){\includegraphics[scale=0.1]{Gen2Phen}} \rput(5.4,0.7){\includegraphics[scale=0.07]{lgtc_logo}} \rput(10.6,0.6){\includegraphics[scale=0.1]{nbic_logo}} + \slideheading{Questions?} + \begin{center} + Acknowledgements + \bigskip + \bigskip + + Some people here. + + \bigskip + + \bt{https://www.mutalyzer.nl/svn/presentation} + \end{center} \vfill \label{LastPage} \end{slide} -- GitLab