summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-07-13 23:21:31 +0000
committerKarl Berry <karl@freefriends.org>2012-07-13 23:21:31 +0000
commit989b3bffd78808e0b1f6c950c57ab99b94c02f81 (patch)
treeaedc760dfc4a8e041585efc4a286eab6a1145441
parent31d497f535f0278c65cb8538ee8fa428c7b4ff8d (diff)
hobete v0004 (26jun12)
git-svn-id: svn://tug.org/texlive/trunk@27036 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/hobete/README10
-rw-r--r--Master/texmf-dist/doc/latex/hobete/hobete_doc.pdfbin335271 -> 370086 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hobete/hobete_doc.tex33
-rw-r--r--Master/texmf-dist/doc/latex/hobete/poster-test.tex155
-rw-r--r--Master/texmf-dist/tex/latex/hobete/beamercolorthemehohenheim.sty2
-rw-r--r--Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheim.sty2
-rw-r--r--Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheimposter.sty38
-rw-r--r--Master/texmf-dist/tex/latex/hobete/hobete.sty314
8 files changed, 349 insertions, 205 deletions
diff --git a/Master/texmf-dist/doc/latex/hobete/README b/Master/texmf-dist/doc/latex/hobete/README
index 44fa5facfa7..6e53e3542fa 100644
--- a/Master/texmf-dist/doc/latex/hobete/README
+++ b/Master/texmf-dist/doc/latex/hobete/README
@@ -1,16 +1,16 @@
README
-Ein beamertheme mit den Farben der Uni Hohenheim. Ich bezeichne dieses Theme als Hack und möchte drauf hinweisen, dass er 1. beta ist und 2. nicht unbedingt mit den beamer-Paradigmen übereinstimmt. Ich übernehme keinerlei Haftung für die vorliegenden Dateien.
+Ein beamertheme mit den Farben der Uni Hohenheim. Ich bezeichne dieses Theme als Hack und mšchte drauf hinweisen, dass er 1. beta ist und 2. nicht unbedingt mit den beamer-Paradigmen übereinstimmt. Ich übernehme keinerlei Haftung fŸr die vorliegenden Dateien.
Die ist kein offizielles Theme der Uni, sie wird keinerlei Support leisten. Es besteht keinerlei Verbindung zwischen diesem Theme und der Uni.
-Installation (manuell) : Schiebe die drei Dateien beamerthemeHohenheim.sty, beamercolorthemehohenheim.sty sowie beamerouterthemeinfolines_hohenheim.sty in einen lokalen Ordner in dem TeX sucht und lasse texhash durchlaufen. Alternativ kannst du die Dateien auch in den beamer-tree einpflegen. Dann ist das Zeug aufgeräumt. Vorschläge, Bugs, Änderungswünsche bitte an
+Installation (manuell) : Schiebe die drei Dateien beamerthemeHohenheim.sty, beamercolorthemehohenheim.sty sowie beamerouterthemeinfolines_hohenheim.sty in einen lokalen Ordner in dem TeX sucht und lasse texhash durchlaufen. Alternativ kannst du die Dateien auch in den beamer-tree einpflegen. Dann ist das Zeug aufgerŠumt. VorschlŠge, Bugs, Änderungswünsche bitte an
tobias.goerlach@uni-hohenheim.de
-Achtung: Die Logos (Wort und Bildmarke) der Uni dürfen nur verwendet werden, wenn ein eindeutiger Bezug zur Uni besteht.
+Achtung: Die Logos (Wort und Bildmarke) der Uni dŸrfen nur verwendet werden, wenn ein eindeutiger Bezug zur Uni besteht.
Keine private Nutzung!
-Verwendung und Dokumentation ist hobete.tex (bzw pdf) zu entnehmen.
+Verwendung und Dokumentation ist hobete_doc.tex (bzw pdf) zu entnehmen.
-----
@@ -23,7 +23,7 @@ This is not a official Theme! The Uni will not give any support. There is no rel
Attention: Do not use the Logos (and Name) of the University without permission nor for private (non Uni related) purpose.
-Documentation file is (hobete.tex rep. .pdf)
+Documentation file is (hobete_doc.tex rep. .pdf)
This packages comes under lppl or GNU
The lppl status of this package is: author-maintenaced
diff --git a/Master/texmf-dist/doc/latex/hobete/hobete_doc.pdf b/Master/texmf-dist/doc/latex/hobete/hobete_doc.pdf
index fef6413fc6b..8446b1545f9 100644
--- a/Master/texmf-dist/doc/latex/hobete/hobete_doc.pdf
+++ b/Master/texmf-dist/doc/latex/hobete/hobete_doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hobete/hobete_doc.tex b/Master/texmf-dist/doc/latex/hobete/hobete_doc.tex
index c72002310a0..c3f0b66eb45 100644
--- a/Master/texmf-dist/doc/latex/hobete/hobete_doc.tex
+++ b/Master/texmf-dist/doc/latex/hobete/hobete_doc.tex
@@ -40,32 +40,32 @@
%-- Theme Stuff
-\usepackage{hobete}
+\usepackage[framelist front={o\ }, framelist back={\ }]{hobete}
%--that all what you have to do.
-%\HohenheimLogoKlein{logoklein.eps} %Use the eps provided by the University
-%\HohenheimLogoLang{logo.eps} % Lang indicates that here mus be insert the "Wort und Bildmarke"
+%\HohenheimLogoKlein{/usr/local/texlive/2011/texmf-dist/doc/generic/pstricks/images/tiger.pdf} %Use the eps provided by the University
+%\HohenheimLogoLang{/usr/local/texlive/2011/texmf-dist/doc/generic/pstricks/images/tiger.pdf} % Lang indicates that here mus be insert the "Wort und Bildmarke"
%Klein indicates, that here should only the Bildmarke be inserted.
%-- You can gain them from the University CI Center
%-- The logos cant be included into the Package, because their licenses are not clear
-%-- as soon as you got the logos name them correctly an deuncomment those comments
+%-- as soon as you got the logos name them correctly an uncomment those comments
% \mylogo{ \includegraphics[height=5ex,clip=true , trim=8.1cm 0pt 0pt 0pt ]{logo.eps} }
%\logo{logo.eps}%default Logo at the bottom right
-
+\mylogo{\includegraphics[height=5ex]{/usr/local/texlive/2011/texmf-dist/doc/generic/pstricks/images/tiger.pdf}}
\beamertemplatenavigationsymbolsempty %Navbar on/off
-\title[Beamer u. Hohenheim]{Beamer und Hohenheim 00002b}
+\title[Beamer u. Hohenheim]{Beamer und Hohenheim 00004}
\author[T. Görlach ]{Tobias Görlach }
\date[2011 -- 2012]{August 2011 -- }
\institute[Inst.]{Institut}
-\frameliston %Command for switching on the Framelist.
+
\begin{document}
@@ -76,7 +76,7 @@
\frame{\tableofcontents}
-\frame{\frametitle{Was ist das?} Dieses Dokument zeigt ein Beamertheme mit den Farben der Uni Hohenheim. Ich bezeichne dieses Theme als Hack und möchte drauf hinweisen, dass er 1. beta ist und 2. nicht unbedingt mit den beamer-Paradigmen übereinstimmt. Ich übernehme keinerlei Haftung für die vorliegenden Dateien und für alles was aus der Benutzung entstehen kann. Zudem möchte ich darauf hinweisen, dass obschon es sich um die Farben etc., wie in der CI definiert, handelt, dies kein offizielles Theme der Uni ist. Und somit die Uni keinen Support bietet. Die Uni hat mit diesem Theme rein gar nichts zu tun. }
+\frame{\frametitle{Was ist das?} Dieses Dokument zeigt ein Beamertheme mit den Farben der Uni Hohenheim. Ich bezeichne dieses Theme als Hack und möchte drauf hinweisen, dass er 1. beta ist und 2. nicht unbedingt mit den beamer-Paradigmen übereinstimmt. Ich übernehme keinerlei Haftung für die vorliegenden Dateien und für alles was aus der Benutzung entstehen kann. Zudem möchte ich darauf hinweisen, dass obschon es sich um die Farben etc., wie in der CI definiert, handelt, dies kein offizielles Theme der Uni ist. Und somit die Uni keinen Support bietet. \bfseries Die Uni hat mit diesem Theme rein gar nichts zu tun. }
\frame{\frametitle{Anleitung zur Anleitung}
Diese Anleitung ist sowohl Anleitung als auch Beispieldatei. Es wurden keine Logos verwendest, da die Lizenz immer noch nicht klar ist. Diese müssen über die Uni bezogen werden. Wie diese einzubinden sind, ist dem source-code dieser Datei zu entnehmen.
@@ -85,7 +85,7 @@ Diese Anleitung ist sowohl Anleitung als auch Beispieldatei. Es wurden keine Log
Vorschläge, Bugs, Änderungswünsche bitte an \url{tobias.goerlach@uni-hohenheim.de} }
\frame{\frametitle{Verwendung}
- Zur Verwendung reicht es \texttt{\textbackslash usepackage\{ hobete\} nach dem Laden von \texttt{beamer} anzugeben. Be Verwendung von \texttt{beamerposter} sollte nach den Laden des Paketes \texttt{\textbackslash useoutertheme\{hohenheimposter \}} angegeben werden. }
+ Zur Verwendung reicht es \texttt{\textbackslash usepackage\{ hobete\} } nach dem Laden von \texttt{beamer} anzugeben. Bei Verwendung von \texttt{beamerposter} sollte die Option \texttt{poster=true} angegeben werden.
}
\frame{\frametitle{Farben}
Die Hauptfarbe ist Pantone 2955 C oder CYMK 100-50-0-45. Das Theme verwendet diese und die mit Weiß geshadete 50\% . Diese Farben sind fest im colortheme verdrahtet und stehen bei Verwendung des Hohenheimer colorthemes zu Verfügung. \\[2mm]
@@ -190,11 +190,13 @@ Die Sectionpage, \lstinline[style=tex]$\sectionpage$ , gibt die aktuelle Section
\begin{frame} %
\frametitle{Framelist}
+
\printframelist
+\input{./hobete_doc.frml}
\end{frame}
\begin{frame}[fragile]\frametitle{Die Framelist}
-Die Framelist ist eine Liste der Frametitles. Diese wird ähnlich zu toc´s in einer Hilfsdatei mit der Endung \texttt{.frml} abgelegt. Der Befehl \lstinline[style=tex]$\frameliston $ schaltet das System an, \lstinline[style=tex]$ \printframelist $ gibt die Liste aus. Die Befehle \lstinline[style=tex]$ \tgframelistfronthook $ und \lstinline[style=tex]$ \tgframelistbackhook $ stehen vor bzw. nach den Einträgen und können beliebig verändert werde. Defaultwerte sind \lstinline[style=tex]{ $\cdot$ } und \lstinline[style=tex]$ \\ $ .
+Die Framelist ist eine Liste der Frametitles. Diese wird ähnlich zu toc´s in einer Hilfsdatei mit der Endung \texttt{.frml} abgelegt. Der Befehl \lstinline[style=tex]$ \printframelist $ gibt die Liste aus. Mit der Klassenoption \lstinline[style=tex]$ framelist front$ und \lstinline[style=tex]$ framelist back $ können die Token eingestellt werden, die vor bzw nach den Einträgen erscheinen. Defaultwerte sind \lstinline[style=tex]{ $\cdot$ } und \lstinline[style=tex]$ \\ $ .
\end{frame}
@@ -217,6 +219,8 @@ Version & Changes & Status-Name\\
Version & Changes & Status-Name\\
0002b & \p added Support for beamerposter & \\
0003 & \pp tidy up of the code, from now on its a real Package & \\
+0003a & \pp growing support for beamerposter & \\
+0004 & \pp latex3 plus options & \\
\end{tabularx}\vfill
\tiny
\p = new feature, \pp = significantly improved feature, - = removed feature, \bee bug-fix
@@ -234,7 +238,7 @@ Importance & Changes & Progress/Probs\\
\rowcolor{black!10}
2 & \p Build-in titlepages & little/ can´t include Logo due to license issues\\
%0 & \p altering the rounded theme to have nicer item lables & very little\\
-1 & \p improve/add compability to other outer themes than infolines\_hohenheim & non \\
+1 & \p improve/add compability to other outer themes than infolines\_hohenheim & little: it seems that e.g. split oder shadow works well with hobete \\
0 & \p transfer to latex3 & non \\
\end{tabularx}\vfill
\tiny
@@ -318,13 +322,18 @@ Genau so ist es!
\item Zwei
\item Drei
\item Vier
+\begin{itemize}
+\item bla
+\end{itemize}
+
\end{itemize}
\begin{enumerate}
\item Eins
\item Zwei
\end{enumerate}
}
-
+\subsection{s.th. else}
+\frame{}
diff --git a/Master/texmf-dist/doc/latex/hobete/poster-test.tex b/Master/texmf-dist/doc/latex/hobete/poster-test.tex
index d1388fba52d..4d4ffe6e332 100644
--- a/Master/texmf-dist/doc/latex/hobete/poster-test.tex
+++ b/Master/texmf-dist/doc/latex/hobete/poster-test.tex
@@ -8,12 +8,13 @@
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.
-% file version .1
-% theme version 00002b
+% file version .2
+% theme version 0003
\documentclass[final,hyperref={pdfpagelabels=false}]{beamer}
-\usepackage{hobete}\useoutertheme{hohenheimposter}
+\usepackage[poster=true]{hobete}%\useoutertheme{hohenheimposter}
+
%%Some example related stuff
\usepackage[english]{babel}
@@ -22,57 +23,58 @@
\usepackage{array,booktabs,tabularx}
\newcolumntype{Z}{>{\centering\arraybackslash}X} % centered tabularx columns
\newcommand{\pphantom}{\textcolor{Hohenheim}}
-\listfiles
+
\boldmath
-%\newcommand{\email}{ }
-%\newcommand{\website}{ }
+
+
+% Some additional personal information
% you need to set this
-\newcommand{\email}{test.name}
-\newcommand{\website}{www.uni-hohenheim.de}
+
+\posteremail{text.name}
+
+
+
+\posterwebsite{www.uni-somewhere.de}
+
+
\usepackage[orientation=portrait,size=a0,scale=1.4,debug]{beamerposter}
+\usepackage[poster=true]{hobete}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\title{\huge Some fancy title which should be huge}
-\author{\large Alot Names, Which Are, Mostly F. Ancy and Super Great}
+
+\title{ Some fancy title which should be huge}
+\author{ Alot Names, Which Are, Mostly F. Ancy and Super Great}
\institute[A Institite, Uni Fancyt.]{A Super institute, University of Fancytown}
\date[2012]{Mar 2012}
-
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Afraid to say we need that for some reason
\newlength{\columnheight}
\setlength{\columnheight}{105cm}
-
+% Inclusion of the logo
\mylogo{\includegraphics[height=10cm]{/usr/local/texlive/2011/texmf-dist/doc/generic/pstricks/images/tiger.pdf}}
% Here should be a logo, but the licence isnt clear. So please put your own logo here.
+% For the University Logo height=10cm should be a reasonable value
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{document}
-\begin{frame}
- \begin{columns}
- % ---------------------------------------------------------%
- % Set up a column
- \begin{column}{.49\textwidth}
- \begin{beamercolorbox}[center,wd=\textwidth]{postercolumn}
- \begin{minipage}[T]{.95\textwidth} % tweaks the width, makes a new \textwidth
- \parbox[t][\columnheight]{\textwidth}{ % must be some better way to set the the height, width and textwidth simultaneously
- % Since all columns are the same length, it is all nice and tidy. You have to get the height empirically
- % ---------------------------------------------------------%
- % fill each column with content
-
-
- \begin{block}{Introduction}
+
+
+\begin{document}
+\begin{frame}\begin{columns}
+\begin{outerretainblock} %This block is made for good two column layout
+% You´ll need two of them
+% Posterblock is nothing else than beamer´s block environment but makes vfill at the end of each block obsolete (less to type)
+ \begin{posterblock}{Introduction}
\begin{itemize}
\item Posters have become very popular thruout the scientific world
\item nowadays they can be produced fast and cost saving
\end{itemize}
- \end{block}
- \vfill
- \begin{block}{Blocking }
+ \end{posterblock}
+ %
+ \begin{posterblock}{Blocking }
\begin{columns}
\begin{column}{.55\textwidth}
\begin{itemize}
@@ -100,67 +102,54 @@
\end{tabularx}
\end{column}
- \end{columns}
- \vskip-1ex
- \end{block}
- \vfill
- \begin{block}{Feature Description}
+ \end{columns}
+ \end{posterblock}
+%
+ \begin{posterblock}{Feature Description}
Something to fill in
- \end{block}
- \vfill
- \begin{block}{Math}
+ \end{posterblock}
+
+ \begin{posterblock}{Math}
Maths
\begin{align*}
i\hbar\frac{\delta}{\delta t} \Psi =\hat{H}\Psi
\end{align*}
- \end{block}
- \vfill
- \begin{block}{Some Thing else}
- Just waste some space
- \end{block}
- \vfill
- \begin{block}{Usage}
+ \end{posterblock}
+%
+ \begin{posterblock}{Changelog}
+0003 has been converted to l3 (so far as possible)
+ \end{posterblock}
+
+ \begin{posterblock}{Usage}
You need to say \texttt{\textbackslash usetheme\{Hohenheim\}\textbackslash useoutertheme\{hohenheimposter\}} somewhen after you loaded beamer and before you load beamerposter.
- \end{block}
+ \end{posterblock}
- }
- \end{minipage}
- \end{beamercolorbox}
- \end{column}
- % ---------------------------------------------------------%
- % end the column
+\end{outerretainblock}
% ---------------------------------------------------------%
- % Set up a column
- \begin{column}{.49\textwidth}
- \begin{beamercolorbox}[center,wd=\textwidth]{postercolumn}
- \begin{minipage}[T]{.95\textwidth} % tweaks the width, makes a new \textwidth
- \parbox[t][\columnheight]{\textwidth}{ % must be some better way to set the the height, width and textwidth simultaneously
- % Since all columns are the same length, it is all nice and tidy. You have to get the height empirically
- % ---------------------------------------------------------%
- % fill each column with content
-
-
- % \vfill
-
- % \vfill
- \begin{block}{Last Block}
-Its empty
- \end{block}
- }
- % ---------------------------------------------------------%
- % end the column
- \end{minipage}
- \end{beamercolorbox}
- \end{column}
+ % end retain block
% ---------------------------------------------------------%
- % end the column
- \end{columns}
- \vskip1ex
- \tiny\hfill{Created with \LaTeX \texttt{beamerposter} and the hohenheim theme \hskip1em}
-\end{frame}
-\end{document}
+ % begin retain block
+\begin{outerretainblock}
+ \begin{posterblock}{Commands}
+The environment \texttt{outerretainblock} will create a column for a two column layout. Threfore you must specify \texttt{columnheight} (in case of a a0 poster its best set to 105 cm).
+
+The environment \texttt{posterblock} will create the blocking environment as shown in this file. It takes an argument which is supposed to be the headline of the specific block.
+
+title, author aso. might be set as usual email and website are commands and must be set with \texttt{\string\postermail} and \texttt{\string\posterwebsite}.. This behavior might change some day.
+To embed the logo please say \texttt{\string\ mylogo\{somewhat\}} .
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ No newline at end of file
+ \end{posterblock}
+ \begin{posterblock}{Printing}
+ When printing this thing please make sure that your printer understands the paper size etc. correctly. The author of this packages takes no responsibility on whatever happens when using the provided code. \end{posterblock}
+ %--------------------------------------------------%
+ % end the column
+ \tiny\hfill{Created with \LaTeX , \texttt{beamerposter} and the hohenheim theme \hskip1em}
+ \end{outerretainblock}
+ % ---------------------------------------------------------%
+ % end the columns and frame
+ \end{columns}\end{frame}
+\end{document}
+%EOF \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/hobete/beamercolorthemehohenheim.sty b/Master/texmf-dist/tex/latex/hobete/beamercolorthemehohenheim.sty
index 2e3fba7cc45..c9434a48a21 100644
--- a/Master/texmf-dist/tex/latex/hobete/beamercolorthemehohenheim.sty
+++ b/Master/texmf-dist/tex/latex/hobete/beamercolorthemehohenheim.sty
@@ -9,7 +9,7 @@
% See the file doc/licenses/LICENSE for more details.
%
% Create your own colortheme! It´s fun!
-% Theme Version 0003
+% Theme Version 0003a
\mode<presentation>
%% Ok folks first we define the Colors as allowed by the Uni administration in the CI policy
diff --git a/Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheim.sty b/Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheim.sty
index 115aeb99c3b..c4c69d293e3 100644
--- a/Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheim.sty
+++ b/Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheim.sty
@@ -29,7 +29,7 @@
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
- \usebeamerfont{author in head/foot}\insertshortauthor~~\beamer@ifempty{\insertshortinstitute}{}{(\insertshortinstitute)}
+ \usebeamerfont{author in head/foot}\insertshortauthor~~\beamer@ifempty{\insertshortinstitute}{}{\insertshortinstitute}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
diff --git a/Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheimposter.sty b/Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheimposter.sty
index d9d4ad38fe0..c18fd0218c1 100644
--- a/Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheimposter.sty
+++ b/Master/texmf-dist/tex/latex/hobete/beamerouterthemehohenheimposter.sty
@@ -9,20 +9,20 @@
%
% See the file doc/licenses/LICENSE for more details.
% file version .1
-% theme version 0003
+% theme version 0003a
\newcounter{tgpostercount}
\refstepcounter{tgpostercount}
\setbeamertemplate{block begin}{
\vskip.75ex
- \begin{beamercolorbox}[ht=3.8ex,dp=0.5ex,center,leftskip=-1em,colsep*=.75ex, sep=1mm, rounded=true]{block title}%
- \usebeamerfont*{block title}%
- {\phantom{Gp} \thetgpostercount .~\insertblocktitle\refstepcounter{tgpostercount}}% phantom because of baseline problem
+ \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=1mm, rounded=true]{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}{
@@ -36,10 +36,10 @@
\begin{columns}[T]
\begin{column}{.02\paperwidth}
\end{column}
- \begin{column}{.8\paperwidth}poster-surf.tex
- \vskip4ex
+ \begin{column}{.8\paperwidth}
+ \vskip5ex
\raggedleft
- \usebeamercolor{title in headline}{\color{fg}\textbf{\LARGE{\inserttitle}}\\[1ex]}
+ \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}
@@ -69,16 +69,16 @@
\rule{0pt}{3pt}
\end{beamercolorbox}
\leavevmode%
- \begin{beamercolorbox}[ht=4ex,leftskip=1em,rightskip=1em]{author in head/foot}%
- \texttt{\website}
- \hfill
- \texttt{\email }
- \vskip1ex
+ \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}{3pt}
- \end{beamercolorbox}
+ % \begin{beamercolorbox}[wd=\paperwidth]{lower separation line foot}
+ % \rule{0pt}{0pt}
+ % \end{beamercolorbox}
}
@@ -87,4 +87,8 @@
% equal font sizes for all levels
\setbeamerfont{itemize/enumerate body}{size=\normalsize}
\setbeamerfont{itemize/enumerate subbody}{size=\normalsize}
-\setbeamerfont{itemize/enumerate subsubbody}{size=\normalsize} \ No newline at end of file
+\setbeamerfont{itemize/enumerate subsubbody}{size=\normalsize}
+\setbeamerfont{block body}{size=\normalsize}
+\setbeamerfont{block title}{size=\large}
+
+
diff --git a/Master/texmf-dist/tex/latex/hobete/hobete.sty b/Master/texmf-dist/tex/latex/hobete/hobete.sty
index e7b0415097d..429a11e0456 100644
--- a/Master/texmf-dist/tex/latex/hobete/hobete.sty
+++ b/Master/texmf-dist/tex/latex/hobete/hobete.sty
@@ -8,89 +8,201 @@
%
% See the file doc/licenses/LICENSE for more details.
-\NeedsTeXFormat{LaTeX2e}
- \ProvidesPackage{hobete}[2012/3/15 Beamer Theme for University of Hohenheim]
- \newcommand{\hoversion}{0003}
+ \RequirePackage{ expl3, l3keys2e, xfrac, xparse}
+
+\ProvidesExplPackage {hobete} {2012/06/24} {0004} {2012/6/24 Beamer Theme for University of Hohenheim}
+
\RequirePackage{tikz}
-\RequirePackage{etextools}
-\RequirePackage{xkeyval}
+
+\tl_new:N\hoversion
+\tl_set:Nn\hoversion{0004}
+
+
+\bool_new:N \g_hobete_poster_bool
+\bool_set_false:N \g_hobete_poster_bool
+\bool_new:N \l_hobete_sectionpage_bool
+\bool_set_false:N \l_hobete_sectionpage_bool
+
+\cs_new:Npn\g_tg_frml_front{x\ }
+\cs_new:Npn\g_tg_frml_back{\par}
+
+
+\keys_define:nn {hobeteoptions}{
+ poster .bool_set:N=\g_hobete_poster_bool,
+ poster .default:n = false,
+ framelist front .code:n =\cs_set:Npn\g_tg_frml_front{ #1 },
+ framelist back .code:n =\cs_set:Npn\g_tg_frml_back{ #1 },
+}
+
+\keys_define:nn {hobetecommands} {
+ plain .bool_set:N = \l_hobete_sectionpage_bool,
+ plain .default:n = false,
+}
+
+\ProcessKeysOptions{hobeteoptions}
+
+
+
+
+
\typeout{ ________________________________________________}
- \typeout{| This is the Hohenheim Beamer Theme \hoversion.}
- \typeout{| Please remark this is not a official Theme}
- \typeout{| The University of Hohenheim will give NO support at all}
- \typeout{| If using the Logos, please make sure that you have the permission to do so!}
- \typeout{| }
+\typeout{| ~This ~is ~the~ Hohenheim ~Beamer ~Theme ~ \hoversion.}
+\typeout{| ~Please ~remark ~this ~is ~not ~a ~official ~Theme}
+\typeout{| ~The ~University ~of ~Hohenheim ~will ~grant~ NO ~support~ at~ all}
+\typeout{| ~If~ using~ the ~Logos, ~please ~make ~sure ~that ~you ~have ~the ~permission ~to ~do ~so!}
+\typeout{| }
\typeout{|________________________________________________}
% Lets hack some stuff
+\cs_new:Npn\cs_mylogo { }
+ \NewDocumentCommand\insertmylogo{}{\cs_mylogo }
+ \NewDocumentCommand\mylogo{m}{\cs_gset:Npn\cs_mylogo {#1} }
-\def\insertmylogo{}
-\def\mylogo#1{ \def\insertmylogo{#1} }
-
-% Now creating the Sectionpage as i want it to be
-% Starting off with the Option key
-\define@boolkey+[tg]{test}{plain}[false]{
-\iftg@test@plain
-\begin{frame}[plain]\begin{beamercolorbox}[wd=\textwidth,ht=4ex,dp=1ex,center,rounded=true,shadow=true]{titlelike}\huge \insertsection \end{beamercolorbox}\end{frame}
-\else
-\frame{\begin{beamercolorbox}[wd=\textwidth,ht=4ex,dp=1ex,center,rounded=true,shadow=true]{titlelike}\huge \insertsection \end{beamercolorbox}}
-\fi
-}{value not allowed}
-
-\renewcommand{\sectionpage}[1][plain=false]{
-\presetkeys[tg]{test}{plain=false}{}
- \setkeys[tg]{test}{#1}
-}
+\bool_if:NF \g_hobete_poster_bool{% all the followig stuff is only needed in slide mode
+
+\DeclareDocumentCommand\sectionpage{o}{%
+\group_begin:
+ \keys_set_known:nnN {hobetecommands}{ #1 }\tl_unkown_keys%
+ \bool_if:NTF \l_hobete_sectionpage_bool%
+ {%
+ \begin{frame}[plain]\begin{beamercolorbox}[wd=\textwidth,ht=4ex,dp=1ex,center,rounded=true,shadow=true]{titlelike}\huge \insertsection \end{beamercolorbox}\end{frame}%
+ }%true
+ {%
+ \frame{\begin{beamercolorbox}[wd=\textwidth,ht=4ex,dp=1ex,center,rounded=true,shadow=true]{titlelike}\huge \insertsection \end{beamercolorbox}}
+ }%false
+\group_end:
+}%
%Here comes the Framelist
%
-\newcommand{\printframelist}{ }
-\newcommand{\@savefrml}{ }
-\newcommand{\frameliston}{%
+%\newcommand{\printframelist}{ }
+%\newcommand{\@savefrml}{ }
+%\newcommand{\frameliston}{%
+%\let\oldframetitle\frametitle
+%\newcommand{\tgframelistfronthook}{$\cdot$}
+%\newcommand{\tgframelistbackhook}{\\ }
+%\newcommand\myaddto[1]{%
+ %\write\@auxout{\noexpand\@writefile{frml}{\noexpand ##1}}}
+ %\renewcommand{\printframelist}{\@starttoc{frml}}
+%\renewcommand{\frametitle}[1]{\oldframetitle{##1}%
+%\xifstrequal{##1}{\@savefrml}{}{
+%\myaddto{ \noexpand%
+%\tgframelistfronthook ##1 \noexpand\tgframelistbackhook}%
+%}
+%\global\def\@savefrml{##1}%
+%}
+%}
+
+
+%% Delcaring the i/o Streams
+\iow_new:N\iow_frml
+\ior_new:N\ior_frml
+
+
+
\let\oldframetitle\frametitle
-\newcommand{\tgframelistfronthook}{$\cdot$}
-\newcommand{\tgframelistbackhook}{\\ }
-\newcommand\myaddto[1]{%
- \write\@auxout{\noexpand\@writefile{frml}{\noexpand ##1}}}
- \renewcommand{\printframelist}{\@starttoc{frml}}
-\renewcommand{\frametitle}[1]{\oldframetitle{##1}%
-\xifstrequal{##1}{\@savefrml}{}{
-\myaddto{ \noexpand%
-\tgframelistfronthook ##1 \noexpand\tgframelistbackhook}%
-}
-\global\def\@savefrml{##1}%
-}
+
+
+
+
+\cs_new:Npn\iow_to_frml{}
+
+% Survives outside \frametitle
+\tl_new:N\tl_gtemp_save_frametitle
+% Does not
+\tl_new:N\l_temp_framelist_tl
+% will store the whole fl at the begin
+\tl_new:N\g_store_frml_tl
+% will store new fl at end (which is written to file)
+\tl_new:N\g_whole_framelist_tl
+% Stores the fl-filename
+\tl_new:N\tl_name_file_frml
+% sets the fl-filename
+\tl_gset:Nn\tl_name_file_frml{\c_job_name_tl.frml}
+
+
+
+ % check if file exits if not build a empty one
+ \file_if_exist:nTF {\tl_name_file_frml}
+ { %reading in by input
+ \tl_set:Nn\g_store_frml_tl{ \input{ \tl_name_file_frml } }
+ % The following could be a l3 solution for read in line by line
+ % not used jet
+ %\ior_open:Nn\ior_frml{\tl_name_file_frml}
+ %\ior_str_map_inline:Nn \ior_frml
+ %{ \tl_gput_right:Nn \g_store_frml_tl {\g_tg_frml_front #1 \g_tg_frml_back } }
+ %\ior_close:N\ior_frml
+}{ % making new file
+ \iow_open:Nn\iow_frml{\tl_name_file_frml}
+ \iow_now:Nn\iow_frml{ }
+ \iow_close:N\iow_frml
+
+ }
+
+
+\DeclareDocumentCommand\frametitle { m } {
+\oldframetitle{#1}%no changes to org definition
+\tl_set:Nn\l_temp_framelist_tl{#1} % seems to be beter for comparing
+% Now comparing the recent and the former frametitle
+\str_if_eq:xxTF {\l_temp_framelist_tl}{\tl_gtemp_save_frametitle} {% do nothing if true
+%
+}{%false
+%write to tl if e recent and the former frametitle are not the same
+\tl_gput_right:Nn\g_whole_framelist_tl{\g_tg_frml_front #1 \g_tg_frml_back}
+ %\iow_now:Nx\iow_frml{\l_temp_framelist_tl} % would be another posibility, but keeps a stream open the whole time
+% \iow_close:N\ios_frml
+ }
+\tl_gset:Nn\tl_gtemp_save_frametitle{#1} % now overwriting global old frametitle with recent frametitle
+% this is the last that should be done here
}
+%
+%
+\AtEndDocument{% this is latex2e but saves a write stream
+ \iow_open:Nn\iow_frml{\tl_name_file_frml}
+ \iow_now:Nx\iow_frml{\g_whole_framelist_tl}
+ \iow_close:N\iow_frml
+}
+
+\DeclareDocumentCommand\printframelist{ }{ %
+\tl_use:N\g_store_frml_tl
+}% this simply prints the frametitle list
%------------------
% The Fancy Title stuff:
% First defining the print user code
-\newcommand{\HohenheimLogoKlein}[1]{%
-\def\inserthohenheimlogoklein{#1} }
-\newcommand{\HohenheimLogoLang}[1]{%
-\def\inserthohenheimlogolang{#1}
+
+\tl_new:N\g_logo_klein_tl
+\tl_new:N\g_logo_gro_tl
+
+\NewDocumentCommand\HohenheimLogoKlein{m}{%
+%\def\g_logo_klein_tl
+\tl_gset:Nn\g_logo_klein_tl{#1}
+}
+
+\NewDocumentCommand\HohenheimLogoLang{m}{%
+\tl_gset:Nn\g_logo_gro_tl{#1}
}
% Now defining the respective Functions for the titlepage
% (They also could be defined in the Decision Tree below, but this is better to read)
% First if only the small logo exists
-\newcommand{\inserthotpwolang}[1]{\frame[plain]{
- \begin{tikzpicture}[remember picture,overlay]
- \node [scale=1.7,fill opacity=.2,text opacity=.07] at (current page.south west) {\includegraphics{\inserthohenheimlogoklein} };
- %\node [scale=0.9,fill opacity=.2,text opacity=.8] at (7,0) {\includegraphics{\inserthohenheimlogolang} };
+\NewDocumentCommand{\inserthotpwolang}{m}{\frame[plain]{
+ \begin{tikzpicture}[remember~picture,overlay]
+ \node [scale=1.7,fill ~opacity=.2,text ~opacity=.07] at (current ~page.south~ west) {\includegraphics{\g_logo_klein_tl} };
+ %\node [scale=0.9,fill opacity=.2,text opacity=.8] at (7,0) {\includegraphics{\g_logo_gro_tl} };
\end{tikzpicture}
\maketitle
\begin{center}%
@@ -99,22 +211,22 @@
}
}
% if no short logo
-\newcommand{\inserthotpwokurz}[1]{\frame[plain]{
- \begin{tikzpicture}[remember picture,overlay]
+\NewDocumentCommand\inserthotpwokurz{m}{\frame[plain]{
+ \begin{tikzpicture}[remember~picture,overlay]
% \node [scale=1.7,fill opacity=.2,text opacity=.07] at (current page.south west) {\includegraphics{logoklein.eps} };
- \node [scale=0.9,fill opacity=.2,text opacity=.8, xshift=1.2cm, yshift=-1.5cm] at (current page.north) {\includegraphics{\inserthohenheimlogolang} };
+ \node [scale=0.9,fill ~opacity=.2,text ~opacity=.8, xshift=1.2cm, yshift=-1.5cm] at (current ~page.north) {\includegraphics{\g_logo_gro_tl} };
\end{tikzpicture}\\[1cm]
\maketitle
-\begin{center}%
+ \begin{center}%
#1%
\end{center}
}
}
%if both are defined
-\newcommand{\inserthotp}[1]{\frame[plain]{
- \begin{tikzpicture}[remember picture,overlay]
- \node [scale=1.7,fill opacity=.2,text opacity=.07] at (current page.south west) {\includegraphics{\inserthohenheimlogoklein} };
- \node [scale=0.9,fill opacity=.2,text opacity=.8, xshift=1.2cm, yshift=-1.5cm] at (current page.north) {\includegraphics{\inserthohenheimlogolang} };
+\NewDocumentCommand\inserthotp{m}{\frame[plain]{
+ \begin{tikzpicture}[remember~picture,overlay]
+ \node [scale=1.7,fill ~opacity=.2,text ~opacity=.07] at (current~page.south~west) {\includegraphics{\g_logo_klein_tl} };
+ \node [scale=0.9,fill ~opacity=.2,text~opacity=.8, xshift=1.2cm, yshift=-1.5cm] at (current~page.north) {\includegraphics{\g_logo_gro_tl} };
\end{tikzpicture}\\[1cm]
\maketitle%
% \vskip0pt plus 1filll
@@ -125,36 +237,66 @@
}
- \newcommand{\HohenheimFancyTitle}[1]{\frame[plain]{ \maketitle } } %Fall Back
+\NewDocumentCommand\HohenheimFancyTitle{m}{\frame[plain]{ \maketitle } } %Fall Back
\AtBeginDocument{
-\ifx \inserthohenheimlogoklein\undefined
-\typeout{ __Hohenheim Beamer Theme says: __________________}
- \typeout{| \string\HohenhemLogoKlein\space a is not defined please specify... dropping one Picture}%
-
- \ifx \inserthohenheimlogolang\undefined
- \typeout{| \string\HohenhemLogoLang\space is not defined please specify... dropping fancy Title... inserting boring one} %
- \typeout{|________________________________________________}%
- \else
- \typeout{| seems that \string\HohenhemLogoLang\space exists... Lets see what we can do with it}
- \typeout{|________________________________________________}
- \renewcommand{\HohenheimFancyTitle}[1]{\expandafter\inserthotpwokurz{#1}%
- }
- \fi
-\else
- \ifx \inserthohenheimlogolang\undefined
- \typeout{| \string\HohenhemLogoLang\space is not defined... i ll try my best} %
- \typeout{|________________________________________________}
- \renewcommand{\HohenheimFancyTitle}{1}{\expandafter\inserthotpwolang{#1}%
- }
- \else
-
- \renewcommand{\HohenheimFancyTitle}[1]{\inserthotp{#1} }
- \fi
- \fi
+\tl_if_empty:NTF\g_logo_klein_tl{%true klein
+ \typeout{ __Hohenheim ~Beamer ~Theme ~says: __________________}
+ \typeout{| \string\HohenhemLogoKlein\space a ~is ~not ~defined ~please~ specify... dropping~ one~ Picture}%
+ \tl_if_empty:NTF \g_logo_gro_tl{%true groß
+ \typeout{| \string\HohenhemLogoLang\space is not defined please specify... dropping fancy Title... inserting boring one} %
+ \typeout{|________________________________________________}%
+ }{%flase groß -> also kein klein aber groß
+ \typeout{| seems that \string\HohenhemLogoLang\space exists... Lets see what we can do with it}
+ \typeout{|________________________________________________}
+ \RenewDocumentCommand\HohenheimFancyTitle{m}{\inserthotpwokurz{#1}}%
+ }}
+{%klein false (vorhanden)
+ \tl_if_empty:NTF\g_logo_gro_tl{ % klein vorhanden, groß nicht
+ \typeout{| \string\HohenhemLogoLang\space is not defined... i ll try my best} %
+ \typeout{|________________________________________________}
+ \RenewDocumentCommand\HohenheimFancyTitle{1}{\inserthotpwolang{#1}}%
+ }
+ {% klein da groß da
+ \RenewDocumentCommand\HohenheimFancyTitle{m}{\inserthotp{#1}}
+ }
+}}
}
+\usetheme{hohenheim}% we need that in any case
-\usetheme{hohenheim}
-
-
+ \bool_if:NT \g_hobete_poster_bool% Check if Poster is requested ift poster=true load hohenheimposter
+ {
+ \useoutertheme{hohenheimposter}
+ \typeout{ ________________________________________________}
+ \typeout{| ~This ~is ~the~ Hohenheim ~Beamer ~Theme ~ \hoversion.}
+ \typeout{| ~Now~entering ~Poster ~Mode}
+ \typeout{|________________________________________________}
+
+%
+%
+%
+%
+%
+%
+% now all the --- Poster --- Stuff:
+% the following definitions are neither brilliant nor very hard to code for the users
+% their purpose is to make the user-end code a bit cleaner
+ \NewDocumentEnvironment{posterblock}{m}{\begin{block}{#1}}{\end{block}\vfill}
+%
+ \NewDocumentEnvironment{outerretainblock}{}{ \begin{column}{.49\textwidth}
+ \begin{beamercolorbox}[center,wd=\textwidth]{postercolumn}
+ \begin{minipage}[t][\columnheight][t]{.95\textwidth}}%
+ { %
+ \end{minipage}
+ \end{beamercolorbox}
+ \end{column}\hfill}
+ %
+ \NewDocumentCommand\insertemail{}{\tl_to_str:N\tl_posteremail }
+ \NewDocumentCommand\posteremail{m}{\tl_set:Nn\tl_posteremail{#1} }
+
+ \NewDocumentCommand\insertwebsite{}{\tl_to_str:N\tl_posterwebsite }
+ \NewDocumentCommand\posterwebsite{m}{\tl_set:Nn\tl_posterwebsite{#1} }
+ }
+%
+% EOF