From 2cedf73cda5be27fb1d9f8484aa06c18d442e401 Mon Sep 17 00:00:00 2001 From: TG <tarik.graba@telecom-paristech.fr> Date: Wed, 16 Apr 2014 19:41:13 +0200 Subject: [PATCH] Removes the postertitle command, now the title is in the headline In beamer some environments, like itemize for example,can only be called inside a frame. So the title block is generated in the frame headline and postertitle command is not needed any more. --- poster.tex | 21 ++++++++++----------- texinputs/beamerthemetptposter.sty | 4 ++-- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/poster.tex b/poster.tex index 43b4496..ddf368a 100644 --- a/poster.tex +++ b/poster.tex @@ -2,6 +2,7 @@ \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} +\usepackage[orientation=portrait, size=a0, scale=1.4]{beamerposter} % beamer theme \mode<presentation> \usetheme{tptposter} @@ -12,25 +13,22 @@ \email{tarik.graba@telecom-paristech.fr} \myurl{http://www.telecom-paristech.fr} % Conf logo at the right of the title block -\mylogo{% -\begin{tabular}{c} -\noindent\includegraphics[width=.45\textwidth]{tpt}\\ -\noindent\includegraphics[width=.45\textwidth]{tpt} -\end{tabular} -} +\mylogo{\includegraphics[width=.6\textwidth]{tpt}} \begin{document} +\begin{frame}[t] -\postertitle - -% -% first column +%% first column \begin{columns} \begin{column}{.45\textwidth} Write something here \begin{block}{Truc} - Foo + \begin{itemize} + \item Foo + \item Bar + \item Foo Bar + \end{itemize} \end{block} \medskip @@ -59,4 +57,5 @@ \end{columns} +\end{frame} \end{document} diff --git a/texinputs/beamerthemetptposter.sty b/texinputs/beamerthemetptposter.sty index fba3f2b..2a75d7a 100644 --- a/texinputs/beamerthemetptposter.sty +++ b/texinputs/beamerthemetptposter.sty @@ -3,7 +3,6 @@ \RequirePackage{xcolor} \RequirePackage{helvet} -\RequirePackage[orientation=portrait, size=a0, scale=1.4]{beamerposter} \mode<presentation> @@ -56,7 +55,8 @@ \end{beamercolorbox}% } -\newcommand\postertitle{ +\defbeamertemplate*{headline}{tpt default} +{\leavevmode% \begin{beamercolorbox}[left, rightskip=0pt, wd=\paperwidth, ht=.075\paperheight, dp=.03\paperheight]{poster title} \hspace{.02\paperwidth}% \raisebox{.015\paperheight}{% -- GitLab