Skip to content

Commit

Permalink
better heder scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChymera committed Oct 24, 2016
1 parent 18d6032 commit 0127dcd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions examples/03/beamerthemeZH.sty
@@ -1,6 +1,9 @@
% this style was created by Horea Christian and is basted on the ETH Zürich corporate design color palette https://www.ethz.ch/services/en/service/communication/corporate-design/colour.html
\ProvidesPackage{beamerthemeZH}

\usepackage{calc}
\newlength{\mylength}

\mode<presentation>

\definecolor{ETH1}{RGB}{31,64,122}
Expand Down Expand Up @@ -73,7 +76,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{headline}{
\leavevmode

\begin{beamercolorbox}[wd=\paperwidth]{headline}
\begin{columns}[T]
\begin{column}{.09\paperwidth}
Expand All @@ -89,7 +91,7 @@
\begin{column}{.25\paperwidth}
\vskip1.5cm
\begin{center}
\includegraphics[width=.8\textwidth, height=.075\textheight, keepaspectratio]{img/zh_logo}
\includegraphics[width=.8\textwidth, height=.075\paperheight, keepaspectratio]{img/zh_logo}
\end{center}
\vskip-2cm
\end{column}
Expand Down
5 changes: 2 additions & 3 deletions examples/03/poster.tex
Expand Up @@ -7,8 +7,6 @@
\usepackage{siunitx} %pretty measurement unit rendering
\usepackage{hyperref} %enable hyperlink for urls
\usepackage{ragged2e}
\usepackage{calc}
\newlength{\mylength}

\usepackage{array,booktabs,tabularx}
\newcolumntype{Z}{>{\centering\arraybackslash}X} % centered tabularx columns
Expand All @@ -18,8 +16,9 @@
\institute[ETH and University of Zurich]{Institute for Biomedical Engineering, ETH and University of Zurich}
\date{\today}

% edit this depending on how tall your header is. We should make this scaling automatic :-/
\newlength{\columnheight}
\setlength{\columnheight}{105cm}
\setlength{\columnheight}{103cm}

\begin{document}
\begin{frame}
Expand Down

0 comments on commit 0127dcd

Please sign in to comment.