beamerthemeIST.sty 6.74 KB
 Christoph Lampert committed Sep 28, 2018 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 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 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 \ProvidesPackage{beamerthemeIST} % this style was created by Thomas Deselaers an Philippe Dreuw %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\RequirePackage{tangocolors} \selectcolormodel{cmyk} \mode %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \definecolor{istgreen}{cmyk}{.51,.0,1.00,.63} \setbeamercolor{headline}{fg=black,bg=white} \setbeamercolor{footline}{fg=white, bg=gray} \setbeamerfont{footline}{size=\large,series=\tt} \setbeamercolor{separation line}{bg=istgreen} \setbeamercolor{title in headline}{fg=black} \setbeamercolor{author in headline}{fg=darkgray} \setbeamercolor{institute in headline}{fg=darkgray} \setbeamercolor{framesubtitle}{fg=istgreen, bg=gray} \setbeamercolor{author in head/foot}{fg=white, bg=istgreen} \setbeamercolor{title in head/foot}{fg=orange, bg=black} \setbeamercolor*{normal text}{fg=black, bg=gray!30} \setbeamercolor*{block body}{bg=white,fg=black} \setbeamercolor*{block title}{fg=white,bg=istgreen} \setbeamerfont{block title}{size=\large,series=\bf} \setbeamercolor{upper separation line head}{fg=istgreen} \setbeamercolor*{example body}{fg=lightgray,bg=black} \setbeamercolor*{example text}{fg=lightgray,bg=black} \setbeamercolor*{example title}{bg=orange,fg=gray} %\setbeamercolor{alerted text}{fg=gray} %\setbeamercolor{example text}{fg=orange} \setbeamercolor{structure}{fg=orange} \setbeamertemplate{itemize items}[default] \setbeamertemplate{navigation symbols}{} % no navigation on a poster %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%originally ht = 2.5 \setbeamertemplate{block begin}{ \vskip.75ex \begin{beamercolorbox}[ht=5ex,dp=0.5ex,center,leftskip=-1em,colsep*=.75ex]{block title}% \usebeamerfont*{block title}% {\phantom{Gg}\insertblocktitle}% phantom because of baseline problem \end{beamercolorbox}% {\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}% \usebeamerfont{block body}% \begin{beamercolorbox}[leftskip=1em,colsep*=.75ex,sep=0.5ex,vmode]{block body}% \ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}% } \setbeamertemplate{block end}{ \end{beamercolorbox} } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setbeamertemplate{alertblock begin}{ \vskip.75ex \begin{beamercolorbox}[ht=5ex,dp=0.5ex,center,leftskip=-1em,colsep*=.75ex]{block title}% \usebeamerfont*{block title}% {\phantom{Gg}\insertblocktitle}% phantom because of baseline problem \end{beamercolorbox}% {\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}% \usebeamerfont{block body}% \begin{beamercolorbox}[leftskip=1em,colsep*=.75ex,sep=0.5ex,vmode]{block body}% \ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}% } \setbeamertemplate{alertblock end}{ \end{beamercolorbox} } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setbeamertemplate{headline}{ \leavevmode \begin{beamercolorbox}[wd=\paperwidth]{headline} \begin{columns}[T] \begin{column}{.02\paperwidth} \end{column} \begin{column}{.08\paperwidth} \vskip8ex \begin{center}\quad %supported by \\ \includegraphics[height=6cm]{images/ERC_logo_with_text.pdf} \end{center} \vskip2ex \end{column} \begin{column}{.01\paperwidth} \end{column} \begin{column}{.71\paperwidth} %\vskip12ex \vskip9ex \centering%\raggedleft \usebeamercolor{title in headline}{\color{fg}\textbf{\huge {\hfill \inserttitle}}\\[1ex]} \usebeamercolor{author in headline}{\color{fg}\LARGE {\insertauthor}\\[1ex]} \usebeamercolor{institute in headline}{\color{fg}\large{\insertinstitute}\\[1ex]} \end{column} \begin{column}{.01\paperwidth} \end{column} \begin{column}{.14\paperwidth} \vskip8ex \begin{center}\quad %\includegraphics[height=8cm, trim={0 0 13.14cm 0},clip]{images/logo_ens.pdf}\qquad\qquad \includegraphics[height=6cm]{images/logo_ist.pdf}\qquad\qquad \end{center} \vskip2ex \end{column} \begin{column}{.02\paperwidth} \end{column} \end{columns} \vskip2ex \end{beamercolorbox} \begin{beamercolorbox}[wd=\paperwidth]{lower separation line head} \rule{0pt}{3pt} \end{beamercolorbox} } % \setbeamertemplate{headline}{ % \leavevmode % \begin{beamercolorbox}[sep=0.5cm,wd=.8\paperwidth]{headline} % \usebeamercolor{title in headline}{\raggedleft\color{fg}\textbf{\LARGE{\inserttitle}}\\[1ex]} % \usebeamercolor{author in headline}{\raggedleft\color{fg}\large{\insertauthor}\\[1ex]} % \usebeamercolor{institute in headline}{\raggedleft\color{fg}\large{\insertinstitute}\\[1ex]} % \end{beamercolorbox}% % \begin{beamercolorbox}[wd=.2\paperwidth]{logo in headline} % \centering % \LARGE{LOGO} % \end{beamercolorbox} %} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setbeamertemplate{footline}{} \iffalse \setbeamertemplate{footline}{ \begin{beamercolorbox}[wd=\paperwidth]{upper separation line foot} \rule{0pt}{3pt} \end{beamercolorbox} \leavevmode% \begin{beamercolorbox}[ht=4ex,leftskip=1em,rightskip=1em]{author in head/foot}% \texttt{http://www.ist.ac.at/$\sim$chl} \hfill \texttt{chl@ist.ac.at} \vskip1ex \end{beamercolorbox} \vskip0pt% \begin{beamercolorbox}[wd=\paperwidth]{lower separation line foot} \rule{0pt}{3pt} \end{beamercolorbox} } \fi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Display a grid to help align images ... and it looks nice with this color scheme %\beamertemplategridbackground[1cm] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \mode % adapt height of imtemize rectangles %\setbeamertemplate{itemize items}[default] %\setbeamertemplate{itemize item}{\raisebox{0.12ex}{$\color{blue}\blacktriangleright$}\hskip0.1em} %\setbeamertemplate{itemize subitem}{\raisebox{0.12ex}{$\triangleright$}\hskip0.1em} % or define your own template using \defbeamertemplate{itemize item}, see beameruserguide.pdf % equal font sizes for all levels \setbeamerfont{itemize/enumerate body}{size=\normalsize} \setbeamerfont{itemize/enumerate subbody}{size=\normalsize} \setbeamerfont{itemize/enumerate subsubbody}{size=\normalsize} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% Local Variables: %%% mode: latex %%% TeX-PDF-mode: t %%% TeX-master: "poster-surf" %%% End: