ESRF_presentation_template.tex 8.91 KB
Newer Older
Leonid Bloch's avatar
Leonid Bloch committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
% Copyright 2016 by Leonid Bloch.
%
% This file is distributed under the GNU Public License.
% You can redistribute and/or modify this file under the terms of
% the GNU General Public License as published by the
% Free Software Foundation, either version 2 of the License, or
% (at your option) any later version.
%
% This file is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% For the complete text of the GNU General Public License, please
% see: http://www.gnu.org/licenses

\documentclass{beamer}
%\documentclass[aspectratio=169]{beamer}  % For widescreen format
\usetheme{Grenoble}
20
\usepackage{setspace}   % For convenient line-spacing control
21 22 23 24
\usepackage{tcolorbox}  % For color boxes (e.g. for code)
\newtcbox{\codebox}{nobeforeafter,colframe=ESRFdarkerGrey,colback=ESRFmidGrey,boxrule=0.5pt,arc=2pt,
  boxsep=0pt,left=2pt,right=2pt,top=1pt,bottom=1pt,tcbox raise base}

Leonid Bloch's avatar
Leonid Bloch committed
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
\graphicspath{{graphics/}}

\author{My Name}
\title{The Title}
\subtitle{Or what a great presentation it is...}  % Delete the subtitle if not needed
\date{This conference, \today}

\begin{document}

\begin{frame}[t,noframenumbering,plain]
\titlepage
\end{frame}

%%%%%%

\begin{frame}[t]{Alternative title/subtitle page}
% Alternative title page
42
% Receives content (single image MUST BE 500X800 OR ANY 5X8 ASPECT RATIO), a background color, a text color, and a text.
43
% Usage: \AlterTitPage{IMAGE OBJECT}{COLOR FOR TEXTBOX}{COLOR FOR TEXT}{TEXT}
44
\AlterTitPage{\includegraphics[height=0.744\paperheight]{ESRF-img}}{ESRFblue2}{white}{
Leonid Bloch's avatar
Leonid Bloch committed
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
\begin{center}
  \vskip2.5em
  \usebeamerfont{title}\inserttitle\par
  \usebeamerfont{subtitle}\insertsubtitle\par
  \vskip2em
  \usebeamerfont{author}\insertauthor\par
  \vskip0.25em
  \usebeamerfont{institute}\insertinstitute\par
  \usebeamerfont{date}\insertdate\par
\end{center}
\emph{\footnotesize ... This type of frame ( \texttt{{\textbackslash}AlterTitPage} ) can be
      used as an alternative title page, or for switching between subjects. Notice, that the
      image \textbf{MUST} be of an $5 \times 8$ aspect ratio ...}
}

\end{frame}

%%%%%%

\begin{frame}[t,plain]
% Yet another alternative title page
% Receives an image (MUST BE 3x1 aspect ratio), a text, and another block of text - for description.
Leonid Bloch's avatar
Leonid Bloch committed
67
% Usage: \TitPageWide{IMAGE WITHOUT THE FILE EXTENSION}{TEXT1}{TEXT2}
Leonid Bloch's avatar
Leonid Bloch committed
68
% Please note: this title page requires a second compilation if changed! OTHERWISE IT'LL LOOK UGLY!
Leonid Bloch's avatar
Leonid Bloch committed
69 70 71 72 73
\TitPageWide{ESRF-img-wide}{
\begin{center}
  \vskip2.5em
  \usebeamerfont{title}\inserttitle\par
  \usebeamerfont{subtitle}\insertsubtitle\par
74
  \rule{60pt}{0.4pt}
Leonid Bloch's avatar
Leonid Bloch committed
75 76 77 78 79 80 81
  \vskip2em
  \usebeamerfont{author}\insertauthor\par
  \vskip0.25em
  \usebeamerfont{institute}\insertinstitute\par
  \usebeamerfont{date}\insertdate\par
\end{center}
}{
82 83
\emph{\footnotesize This can be used as an alternative title page. It fits especially well
      for the wide screen format, but may be used with the traditional layout as well. Notice, that the
Leonid Bloch's avatar
Leonid Bloch committed
84 85 86 87 88 89 90
      image \textbf{MUST} be of an $3 \times 1$ aspect ratio.}
}

\end{frame}

%%%%%%

Leonid Bloch's avatar
Leonid Bloch committed
91
\begin{frame}[t]{Digital Communication at the ESRF}
Leonid Bloch's avatar
Leonid Bloch committed
92
% An example with forced placements. TRY TO AVOID FORCED PLACEMENTS!
Leonid Bloch's avatar
Leonid Bloch committed
93
% SEE BETTER PRACTICE ON NEXT FRAME!
Leonid Bloch's avatar
Leonid Bloch committed
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
\AlterTitPage{
\begin{tikzpicture}
  \useasboundingbox (0,0) rectangle (6,8);
  \node at (2.5,6) {\includegraphics[scale=0.5]{ESRF-people1}};
  \node at (1,3.1) {\includegraphics[scale=0.5]{ESRF-people2}};
  \node at (3.3,1.15) {\includegraphics[scale=0.5]{ESRF-people3}};
  \node[ESRFblue1,anchor=west,text width=14em] at (-0.2,4.05) {\footnotesize \texttt{\#weekendusers} Express experiments\\%
    \vspace{-0.4em}\hspace{6.7em} for better health.};
  \node[anchor=west,text width=8em] at (1.9,2.88) {\tiny 19-09-2016\\\vspace{4pt}%
    \begin{spacing}{0.2}
    A synchrotron is a particular type of cyclic particle accelerator, descended from the cyclotron...
    \end{spacing}};
\end{tikzpicture}
}{ESRFmidGrey}{ESRFblue1}{
\begin{center}
\vspace{-0.8em}
\textbf{\LARGE Audiences and aims}
\vspace{-0.8em}
\end{center}
\setlength{\leftmargini}{0.9em} % Control the left margin!
\begin{itemize}
  \item The scientific community -- to provide information about ESRF activities.
  \item The ESRF/synchrotron community -- to provide information, and strengthen the community of users.
  \item Science and technology decision makers -- to promote ESRF activities and increase the impact of ESRF projects.
  \item The general public, young people -- to foster engagement with scientific issues.
\end{itemize}
}

\end{frame}

%%%%%%

\begin{frame}[t]{Same, using blocks and columns!}
\vspace{-1.2em}  % -1.5 for 16x9 AR
\begin{columns}[onlytextwidth]
\begin{column}{0.3\textwidth}
\begin{tikzpicture}
  \useasboundingbox (0,0) rectangle (6,8);
  \node at (2.5,6) {\includegraphics[scale=0.5]{ESRF-people1}};
  \node at (1,3.1) {\includegraphics[scale=0.5]{ESRF-people2}};
  \node at (3.3,1.15) {\includegraphics[scale=0.5]{ESRF-people3}};
  \node[ESRFblue1,anchor=west,text width=14em] at (-0.2,4.05) {\footnotesize \texttt{\#weekendusers} Express experiments\\%
    \vspace{-0.4em}\hspace{6.7em} for better health.};
  \node[anchor=west,text width=8em] at (1.9,2.88) {\tiny 19-09-2016\\\vspace{4pt}%
    \begin{spacing}{0.2}
    A synchrotron is a particular type of cyclic particle accelerator, descended from the cyclotron...
    \end{spacing}};
\end{tikzpicture}
\end{column}%
\hfill%
\begin{column}{0.5\textwidth}
\begin{block}{\LARGE Audiences and aims}
\setlength{\leftmargini}{0.9em} % Control the left margin!
\begin{itemize}
  \item The scientific community -- to provide information about ESRF activities.
  \item The ESRF/synchrotron community -- to provide information, and strengthen the community of users.
  \item Science and technology decision makers -- to promote ESRF activities and increase the impact of ESRF projects.
  \item The general public, young people -- to foster engagement with scientific issues.
\end{itemize}
\end{block}
\end{column}%
\end{columns}

\end{frame}

%%%%%%

Leonid Bloch's avatar
Leonid Bloch committed
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
\begin{frame}[t]{ESRF {\LaTeX} Beamer template}

The following packages are needed for this theme:

\begin{itemize}
\item Beamer
\item TikZ
\end{itemize}

If your {\LaTeX} distribution is installed without them, please update and install these packages.

The following colours are defined in the template:
\begin{center}
\begin{tikzpicture}[rounded corners=3pt]
  \foreach \x/\y/\name in {
      0/0/ESRFblue1,
      1.5/0/ESRFblue2,
      3/0/ESRFgreen,
      4.5/0/ESRFcyan,
      6/0/ESRFmagenta,
      7.5/0/ESRFyellow,
      0/-1.5/ESRForange1,
      1.5/-1.5/ESRForange2,
      3/-1.5/ESRForange3,
      4.5/-1.5/ESRFdarkerGrey,
      6/-1.5/ESRFmidGrey,
      7.5/-1.5/ESRFlightGrey,
  } {
    \fill[\name] (\x,\y) rectangle (\x+1.2,\y+1.2);
  };
\end{tikzpicture}
\end{center}

No more than three secondary colours should be used together in a composition. Grey will complement all of the colours.

\end{frame}

%%%%%%

Leonid Bloch's avatar
Leonid Bloch committed
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
\begin{frame}[t]{Video playback}

\begin{itemize}
  \item Videos can be played from within the presentation:
\end{itemize}
\begin{center}
  \href{run:ID16A.mp4?autostart&loop}{\includegraphics[height=0.23\textheight]{ID16A_snap}}
\end{center}
\begin{itemize}
  \item This may or may not work on Windows machines, but tested to work on Linux.
  \item This requires a supporting presenter, \emph{e.g.} \textbf{pdfpc}.
  \item Also, at least the ``base'', ``good'', ``bad'', and ``libav'' GStreamer plug-ins should be installed.
  \item The video file should be in the defined path (it is not embedded into the presentation, but linked to it).
  \item If for any reason the video will not play, the embedded image will be displayed statically instead.
\end{itemize}

\end{frame}

%%%%%%

220
\begin{frame}[t]{Tips \& tricks}{This is a slide subtitle (optional!)}
Leonid Bloch's avatar
Leonid Bloch committed
221 222 223 224

\begin{itemize}
  \item For uncovering content in stages check out:
  \begin{itemize}
225 226 227 228
    \item The \codebox{\texttt{{\textbackslash}pause}} option
    \item \codebox{\texttt{{\textbackslash}includegraphics<1>}}, \codebox{\texttt{{\textbackslash}includegraphics<2>}}, ...
    \item \codebox{\texttt{{\textbackslash}only<1>}}, \codebox{\texttt{{\textbackslash}only<2>}}, ...
    \item \vspace{0.2em}Within TikZ pictures:
Leonid Bloch's avatar
Leonid Bloch committed
229
    \begin{itemize}
230
      \item \codebox{\texttt{{\textbackslash}uncover<1>}}, \codebox{\texttt{{\textbackslash}uncover<2->}}, \codebox{\texttt{{\textbackslash}uncover<3>}}, ...
Leonid Bloch's avatar
Leonid Bloch committed
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249
      \item This works for any element in any sequence.
    \end{itemize}
    \item etc...
  \end{itemize}
  \item A great tool for showing {\LaTeX} presentations is \textbf{pdfpc}.
  \begin{itemize}
    \item It supports screen spitting, with overview of all the slides
    \item Support for videos in pdf presentations
    \item Support for notes
    \item A timer
    \item Open source software
    \item Command line interface
  \end{itemize}
  \item A lot of other possibilities to explore -- Beamer is more powerful than it looks!
\end{itemize}

\end{frame}

\end{document}