Skip to content
Snippets Groups Projects
Commit d78e0fff authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

logo-Makro

parent aabb7ebf
Branches
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -43,7 +43,8 @@ Anleitung.}
Parameter angegebene Papierformat, wobei die DIN/ISO"=A"=Reihe bevorzugt
werden sollte. Beispiel: \verb|\scaletoPaper{a4}| erzeugt eine Version des
Posters, die gut archiviert werden kann.
\end{itemize}
\item \verb|\logo|: Spezielles Logo im Kopfbereich (rechtsbündig)
\end{itemize}
Der Zahlenwert für \verb|\scaleFontSizes| sollte nicht stark von "`1"'
abweichen, um das Gesamtbild nicht zu beeinträchtigen. Die Makros
......
......@@ -4,7 +4,7 @@
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ptbposter}
[2019/02/20 v0.6d PTB-Poster-Klasse (RN)]
[2019/02/25 v0.7a PTB-Poster-Klasse (RN)]
\newif\ifPTB@useCMYK \PTB@useCMYKfalse % vorerst
......@@ -228,6 +228,8 @@
\newcommand*\email[1]{\gdef\PTB@email{#1}}
\newcommand*\PTB@fax{}
\newcommand*\fax[1]{\gdef\PTB@fax{#1}}
\newcommand*\PTB@logo{}
\newcommand*\logo[1]{\gdef\PTB@logo{#1}}
\newcommand*\PTB@final@paper{}
\newcommand*\scaletoPaper[1]{\gdef\PTB@final@paper{#1}}
......@@ -247,24 +249,31 @@
\AddToShipoutPictureFG*{% Kopf (relativ zur oberen Blattkante)
\PTB@tempdima=-0.077\PTB@scale@base
\put(\PTB@leftmargin,\PTB@tempdima){%
\parbox[b]{.401\PTB@scale@base}{%
\textcolor{PTBcolor}{% TODO: Tikz-Grafik erzeugen (autom.?) und verwenden
\includegraphics[width=.379\linewidth]{ptbposter-logo-A.mps}}%
\hfill
\raisebox{.0025\PTB@scale@base}{%
%\includegraphics[width=.612\linewidth]{ptbposter-logo-B.mps}%
\resizebox{.61\linewidth}{!}{%
\hspace{-.2ex}%
\begin{varwidth}[b]{\linewidth}%
\LogoFont\bfseries
Physikalisch-Technische Bundesanstalt\\
Braunschweig und Berlin\\
\mdseries
Nationales Metrologieinstitut
\end{varwidth}%
\parbox[b]{\PTB@framewidth}{% TODO: vereinfachen?
\parbox[b]{.401\PTB@scale@base}{%
\textcolor{PTBcolor}{% TODO: Tikz-Grafik erzeugen (autom.?) und verwenden
\includegraphics[height=.08678\textwidth]{ptbposter-logo-A.mps}
}% 1,58365758755
\hfill
\raisebox{.0025\PTB@scale@base}{%
%\includegraphics[width=.612\linewidth]{ptbposter-logo-B.mps}%
\resizebox{.61\linewidth}{!}{%
\hspace{-.2ex}%
\begin{varwidth}[b]{\linewidth}%
\LogoFont\bfseries
Physikalisch-Technische Bundesanstalt\\
Braunschweig und Berlin\\
\mdseries
Nationales Metrologieinstitut
\end{varwidth}%
}%
}%
}%
}%
\hfill
\ifx\PTB@logo\@empty\else
\includegraphics[height=.08678\textwidth]{\PTB@logo}%
\fi
}
}%
\def\PTB@tempa{\parbox[c]{\PTB@framewidth}{% Komplette Titeldefinition
\PTB@title@justification\PTB@title@series\sffamily\titleFontSize
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment