summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheimposter.sty
blob: c18fd0218c17f45923d088d7d7e5947e1822e200 (plain)
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
% Copyright 2010-2012  by tgoerlach < tobias.goerlach@uni-hohenheim.de >
% This is  beamerouterhohenheimposter to support beamerposter
% https://bitbucket.org/tobig/hohenheimbeamertheme/
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.
% file version .1
% theme version 0003a

\newcounter{tgpostercount}
\refstepcounter{tgpostercount}

\setbeamertemplate{block begin}{
  \vskip.75ex
  \begin{beamercolorbox}[ht=2.5cm,dp=1cm,center,leftskip=1em,colsep*=0ex, sep=2mm, rounded=true]{block title}%
    \usebeamerfont*{block title}% 
    {\vphantom{Gp} \thetgpostercount .~\insertblocktitle\refstepcounter{tgpostercount}}% 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, sep=5mm, rounded=true]{block body}%
    \ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
  }
  \setbeamertemplate{block end}{
  \end{beamercolorbox}
}


\setbeamertemplate{headline}{  
  \leavevmode
  \begin{beamercolorbox}[wd=\paperwidth]{frametitle}
    \begin{columns}[T]
      \begin{column}{.02\paperwidth}
      \end{column}
      \begin{column}{.8\paperwidth}
        \vskip5ex
        \raggedleft
        \usebeamercolor{title in headline}{\color{fg}\textbf{\Huge{\inserttitle}}\\[3ex]}
        \usebeamercolor{author in headline}{\color{fg}\large{\insertauthor}\\[1ex]}
        \usebeamercolor{institute in headline}{\color{fg}\large{\insertinstitute}\\[1ex]}     
      \end{column}
      \begin{column}{.2\paperwidth}

        \begin{center}
 \insertmylogo
        \end{center}

      \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}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\beamertemplatenavigationsymbolsempty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{footline}{
  \begin{beamercolorbox}[wd=\paperwidth]{upper separation line foot}
    \rule{0pt}{3pt}
  \end{beamercolorbox}
  \leavevmode%
  \begin{beamercolorbox}[ht=2cm,leftskip=1em,rightskip=1em]{author in head/foot}%
 \normalsize\vphantom{Gg}  \texttt{\insertwebsite}
    \hfill gg
    \texttt{\insertemail }
  \vskip.5cm
  \end{beamercolorbox}
  \vskip0pt%
 % \begin{beamercolorbox}[wd=\paperwidth]{lower separation line foot}
 %   \rule{0pt}{0pt}
 % \end{beamercolorbox}
}




% equal font sizes for all levels
\setbeamerfont{itemize/enumerate body}{size=\normalsize}
\setbeamerfont{itemize/enumerate subbody}{size=\normalsize}
\setbeamerfont{itemize/enumerate subsubbody}{size=\normalsize}
\setbeamerfont{block body}{size=\normalsize}
\setbeamerfont{block title}{size=\large}