Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • vaclab/ptb-latex
  • andre.waehlisch/ptb-latex
2 results
Show changes
Showing
with 1316 additions and 716 deletions
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{ptbposter-2018.clo}%
[2022/09/20 1.0.0 PTB-Poster layout 2018 (RN)]
\typeout{*** LAYOUT 2018 ***}
\setlength\PTB@default@fontsize@base{0.0130170299199\PTB@scale@base}% 11pt (A4), 44pt (A0)
\setlength\PTB@default@author@fontsize{0.0157550946737\PTB@scale@base}% 53.3pt (A0)
\setlength\PTB@default@title@fontsize@base{0.0315101893474\PTB@scale@base}% 106.6pt (A0)
\setlength\PTB@default@foot@fontsize{0.00567538119577\PTB@scale@base}% 19.2pt (A0)
\iftutex% LuaTeX oder XeTeX
\setfontfamily\PTBdesignFont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\let\sffamily=\PTBdesignFont
\else
\let\PTBdesignFont=\sffamily
\fi
\AtEndPreamble{%
\ifx\@author\@empty
\setlength\PTB@topmargin{0.152\PTB@scale@base}%
\else
\setlength\PTB@topmargin{0.180824222418\PTB@scale@base}%
\fi
\ifPTBlandscape
\setlength\PTB@framewidth{0.950378471315\PTB@scale@base}% 3215pt (1130mm) (A0)
\ifx\@author\@empty
\setlength\PTB@frameheight{0.490824222418\PTB@scale@base}% 1660pt (584mm) (A0)
\else
\setlength\PTB@frameheight{0.462\PTB@scale@base}% 1563pt (549mm) (A0)
\fi
\else
\setlength\PTB@framewidth{0.656013458076\PTB@scale@base}% 2219pt (780mm) (A0)
\ifx\@author\@empty
\setlength\PTB@frameheight{0.769\PTB@scale@base}% 2602pt (914mm) (A0)
\else
\setlength\PTB@frameheight{0.740117747573\PTB@scale@base}% 2504pt (880mm) (A0)
\fi
\fi
}
\PTB@AddToShipoutPictureBG{% relativ zur oberen linken Ecke des Blattes
\PTB@tempdima=-0.077\PTB@scale@base
\put(\PTB@leftmargin,\PTB@tempdima){%
\parbox[b]{\PTB@framewidth}{% TODO: vereinfachen?
\parbox[b]{.401\PTB@scale@base}{%
\textcolor{PTBcolor}{% TODO: Tikz-Grafik erzeugen (autom.?) und verwenden
\includegraphics[height=.055\PTB@scale@base]{PTB-logo-A.mps}
}% 1,58365758755
\ifPTB@logo@long@
\hfill
\raisebox{.0025\PTB@scale@base}{%
%\includegraphics[width=.612\linewidth]{ptbposter-logo-B.mps}%
\resizebox{.61\linewidth}{!}{%
\hspace{-.2ex}%
\begin{varwidth}[b]{\linewidth}%
\PTBdesignFont\bfseries
Physikalisch-Technische Bundesanstalt\\
Braunschweig und Berlin\\
\mdseries
Nationales Metrologieinstitut
\end{varwidth}%
}%
}%
\fi
}%
\hfill
\ifx\PTB@logo\@empty\else
\includegraphics[height=.055\PTB@scale@base]{\PTB@logo}%
\fi
}
}%
\def\PTB@tempa{\parbox[c]{\PTB@framewidth}{% Komplette Titeldefinition
\PTB@title@justification\PTB@title@series\PTBdesignFont\titleFontSize
\microtypesetup{protrusion=false}\@title}}%
\begingroup
\@tempcnta=\@ne \@tempcntb=10499 %
\loop\ifnum\@tempcnta<25 % Finden der ersten passenden titleFontSize
\multiply\@tempcntb 10000 \divide\@tempcntb by 10500 % jeweils um 5% kleiner
\PTB@scaleTitleFontSize{0.\the\@tempcntb}% 1:0.9999, 2:0.9522, 3:0.9068, ...
%\typeout{\the\@tempcnta\space XXX: \titleFontSize, 0.\the\@tempcntb}%
\setbox\z@ \hbox{\PTB@tempa}%
\ifdim\dimexpr\ht\z@+\dp\z@>\PTB@maxtitleheight
\advance\@tempcnta\@ne % weiter, wenn zu gross
\else
\@tempcnta=999 % Abbruch
\fi
\repeat
\endgroup
\PTB@tempdima=-0.127\PTB@scale@base
\put(\PTB@leftmargin,\PTB@tempdima){\PTB@tempa}% Title
\PTB@tempdima=-0.172\PTB@scale@base
\def\and{, }%
\put(\PTB@leftmargin,\PTB@tempdima){\parbox[b]{\PTB@framewidth}{% Autoren
\PTB@authors@justification\PTBdesignFont\authorFontSize\@author}}%
% hier wird \@thanks gefüllt
\linethickness{\PTB@framethickness}\color{PTBcolor}%
\PTB@tempdima=-0.0883095039717\PTB@scale@base
\put(\PTB@leftmargin,\PTB@tempdima){%
\line(1,0){\dimexpr\paperwidth-2\PTB@leftmargin}}%
% blauer Rahmen
\put(\PTB@leftmargin,\dimexpr-\textheight-2\PTB@textvsep-\PTB@topmargin)%
{\framebox(\dimexpr\textwidth+2\PTB@texthsep,%
\dimexpr\textheight+2\PTB@textvsep){\backgroundContent}}%
}
\PTB@AddToShipoutPictureFG{% relativ zur linken unteren Ecke des Textbereichs
\PTB@AtTextLowerLeft{%
\put(-\PTB@texthsep,-\PTB@textvsep){%
\PTB@tempdimb=0.000420521447484\PTB@scale@base
\linethickness{\PTB@tempdimb}\normalcolor
\PTB@tempdima=-0.0420521447484\PTB@scale@base
\put(-.5\@wholewidth,\PTB@tempdima){%
\PTB@tempdima=0.0386879731686\PTB@scale@base
\PTB@tempdimb=0.00168208578994\PTB@scale@base
\ifx\PTB@qrcode\@empty
\color{PTBcolor}\framebox(\PTB@tempdima,\PTB@tempdima){}%
\else
\sbox\@tempboxa{\qrcode[height=\PTB@tempdima,tight]{\PTB@qrcode}}%
\raisebox{\dp\@tempboxa}{\usebox\@tempboxa}%
\fi
\color{PTBcolor}
\hspace{\PTB@tempdimb}\raisebox{-\@wholewidth}{%
\rule{\dimexpr\PTB@tempdima+2\@wholewidth}%
{\dimexpr\PTB@tempdima+2\@wholewidth}}%
\hspace{\PTB@tempdimb}\framebox(\PTB@tempdima,\PTB@tempdima){}%
}
\PTB@tempdimb=-0.00841042894969\PTB@scale@base
\footFontSize\sffamily\normalcolor
\PTB@tempdima=0.122792262665\PTB@scale@base
\put(\PTB@tempdima,\PTB@tempdimb){%
\begin{tabular}[t]{@{}l@{}}
Physikalisch-Technische Bundesanstalt \\
Braunschweig und Berlin \\[\f@baselineskip]
\ifx\first@author\@empty\else \textbf{\first@author}\\\fi
\ifx\PTB@department\@empty\else \PTB@department\\\fi
\ifx\PTB@workingGroup\@empty\else \PTB@workingGroup\\\fi
\end{tabular}%
}
\PTB@tempdima=0.263246426125\PTB@scale@base
\put(\PTB@tempdima,\PTB@tempdimb){%
\begin{tabular}[t]{@{}ll@{}}
\ifx\PTB@street\@empty\else\multicolumn{2}{@{}l@{}}{\PTB@street}\\\fi
\ifx\PTB@location\@empty\else\multicolumn{2}{@{}l@{}}{\PTB@location}\\\fi
\ifx\PTB@phone\@empty\else\ifPTB@german@ Telefon\else Phone\fi:
&\PTB@phone\\\fi
\ifx\PTB@fax\@empty\else Fax:&\PTB@fax\\\fi
\ifx\PTB@email\@empty\else\ifPTB@german@ E-Mail\else E-mail\fi:
&\href{mailto:\PTB@email}{\PTB@email}\\\fi
\multicolumn{2}{@{}l@{}}{\href{http://www.ptb.de/}{www.ptb.de}}
\end{tabular}%
}
\PTB@tempdima=0.378469302736\PTB@scale@base
\put(\PTB@tempdima,\PTB@tempdimb){%
\begin{tabular}[t]{@{}l@{}}
\@thanks % wurde bei der Ausführung von \@author gefüllt.
\end{tabular}%
}
}
}
}
\endinput
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{ptbposter-2020.clo}%
[2022/09/20 1.0.1 PTB-Poster layout 2020 (RN)]
\typeout{*** LAYOUT 2020 ***}
\setlength\PTB@default@fontsize@base{0.0118336635635\PTB@scale@base}% 10pt (A4), 40pt (A0)
\setlength\PTB@default@author@fontsize{0.0157550946737\PTB@scale@base}% 53.3pt (A0)
\setlength\PTB@default@title@fontsize@base{.0282849711986\PTB@scale@base}% 95.7pt (A0)
\setlength\PTB@default@foot@fontsize{0.00567538119577\PTB@scale@base}% 19.2pt (A0)
\iftutex% LuaTeX oder XeTeX
\setfontfamily\PTBdesignFont{UniversNextPro-Light}[%
Ligatures=TeX,
BoldFont=*,
ItalicFont=*Italic,
Scale=1.01,
Extension=.ttf]
\setsansfont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\else
\let\PTBdesignFont=\sffamily% ???
\fi
\AtEndPreamble{%
\setlength\PTB@topmargin{0.193953\PTB@scale@base}%
\ifPTBlandscape
\setlength\PTB@framewidth{0.950378471315\PTB@scale@base}% 3215pt (1130mm) (A0)
\setlength\PTB@frameheight{0.447\PTB@scale@base}% 1563pt (549mm) (A0)
\else
\setlength\PTB@framewidth{0.656013458076\PTB@scale@base}% 2219pt (780mm) (A0)
\setlength\PTB@frameheight{0.740117747573\PTB@scale@base}% 2504pt (880mm) (A0)
\fi
}
\PTB@AddToShipoutPictureBG{% relativ zur oberen linken Ecke des Blattes
\PTB@tempdima=-0.07\PTB@scale@base
\put(\PTB@leftmargin,-0.07\PTB@scale@base){%
\textcolor{PTBcolor}{\includegraphics[height=.04545\PTB@scale@base]%
{PTB-logo-A.mps}}
}
\put(\PTB@leftmargin,-0.085\PTB@scale@base){%
\parbox[t]{\PTB@framewidth}{%
\PTBdesignFont\normalsize
\begin{varwidth}[t]{.32\linewidth}
Physikalisch-Technische Bundesanstalt\\
Nationales Metrologieinstitut
\end{varwidth}
\hfill
\begin{varwidth}[t]{.6\linewidth}
\begin{hyphenrules}{nohyphenation}
\def\and{, }\@author % hier wird \@thanks gefüllt
\end{hyphenrules}
\end{varwidth}
}
}%
\def\PTB@tempa{\parbox[c]{\PTB@framewidth}{% Komplette Titeldefinition
\PTB@title@justification\PTB@title@series\PTBdesignFont\titleFontSize
\microtypesetup{protrusion=false}\@title}}%
\begingroup
\@tempcnta=\@ne \@tempcntb=10499 %
\loop\ifnum\@tempcnta<25 % Finden der ersten passenden titleFontSize
\multiply\@tempcntb 10000 \divide\@tempcntb by 10500 % jeweils um 5% kleiner
\PTB@scaleTitleFontSize{0.\the\@tempcntb}% 1:0.9999, 2:0.9522, 3:0.9068, ...
%\typeout{\the\@tempcnta\space XXX: \titleFontSize, 0.\the\@tempcntb}%
\setbox\z@ \hbox{\PTB@tempa}%
\ifdim\dimexpr\ht\z@+\dp\z@>\PTB@maxtitleheight
\advance\@tempcnta\@ne % weiter, wenn zu gross
\else
\@tempcnta=999 % Abbruch
\fi
\repeat
\endgroup
\put(\PTB@leftmargin,-0.158\PTB@scale@base){%
\begin{hyphenrules}{nohyphenation}%
\PTB@tempa% Title
\end{hyphenrules}
}%
% blauer Rahmen
\put(\PTB@leftmargin,\dimexpr-\textheight-2\PTB@textvsep-\PTB@topmargin){%
\linethickness{\PTB@framethickness}\color{PTBcolor}%
\framebox(\dimexpr\textwidth+2\PTB@texthsep,%
\dimexpr\textheight+2\PTB@textvsep){\backgroundContent}}%
}
\PTB@AddToShipoutPictureFG{% relativ zur linken unteren Ecke des Textbereichs
\PTB@AtTextLowerLeft{%
\PTBdesignFont\footFontSize\normalcolor
\PTB@tempdima=-\PTB@framethickness
\PTB@tempdimb=-0.0125\PTB@scale@base
\put(-\PTB@texthsep,-\PTB@textvsep){
\put(\PTB@tempdima,\PTB@tempdimb){%
\begin{tabular}[t]{@{}l@{}}
Physikalisch-Technische Bundesanstalt \\
Nationales Metrologieinstitut \\[\f@baselineskip]
\ifx\PTB@street\@empty\else\PTB@street\\\fi
\ifx\PTB@location\@empty\else\PTB@location\\\fi
\href{https://www.ptb.de/}{www.ptb.de}
\end{tabular}%
}
\PTB@tempdima=0.115\PTB@scale@base
\put(\PTB@tempdima,\PTB@tempdimb){%
\begin{tabular}[t]{@{}ll@{}}
\ifx\first@author\@empty\else \multicolumn{2}{@{}l@{}}{\first@author}\\\fi
\ifx\PTB@workingGroup\@empty\else \multicolumn{2}{@{}l@{}}{\PTB@workingGroup}\\\fi
\\
\ifx\PTB@phone\@empty\else\ifPTB@german@ Telefon\else Phone\fi:
&\PTB@phone\\\fi
\ifx\PTB@fax\@empty\else Fax:&\PTB@fax\\\fi
\ifx\PTB@email\@empty\else\ifPTB@german@ E-Mail\else E-mail\fi:
&\href{mailto:\PTB@email}{\PTB@email}\\\fi
\end{tabular}%
}
\PTB@tempdima=0.219\PTB@scale@base
\put(\PTB@tempdima,\PTB@tempdimb){%
\begin{tabular}[t]{@{}l@{}}
\@thanks % wurde bei der Ausführung von \@author gefüllt.
\end{tabular}%
}
\PTB@tempdima=\dimexpr\PTB@framewidth+\PTB@framethickness %
\PTB@tempdimc=0.038875630234\PTB@scale@base % 131bp (A0)
\put(\PTB@tempdima,\PTB@tempdimb+\ht\strutbox){%
\makebox(0,0)[rt]{%
\begin{minipage}[t]{.5\textwidth}%
\mbox{}
\hfill
\ifx\PTB@qrcode\@empty\else
\begin{minipage}[b]{\PTB@tempdimc}%
\sbox\@tempboxa{\qrcode[height=\PTB@tempdimc,tight]%
{\PTB@qrcode}}%
\raisebox{\dimexpr\dp\@tempboxa}{\usebox\@tempboxa}%
\end{minipage}%
\fi
\hspace{.5\columnsep}%
\ifx\PTB@logo\@empty\else
\begin{minipage}[b]{\PTB@tempdimc}%
\centering
\includegraphics[height=\PTB@tempdimc]{\PTB@logo}%
\end{minipage}%
\fi
\end{minipage}%
}%
}
}
}
}
\endinput
\ProvidesPackage{ptbposter-add}[2016/01/25 v0.1a supplements for ptbposter (RN)]
\ProvidesPackage{ptbposter-add}[2019/02/20 v0.1b supplements for ptbposter (RN)]
\RequirePackage{ragged2e}
......@@ -29,7 +29,7 @@
\hspace{0pt}\ifPTB@temp\RaggedRight\fi#3
\end{minipage}
\fi
\par\ifx\relax#4\relax\else\vskip\columnsep #4\fi
\par\ifx\relax#4\relax\else\vskip.75\columnsep #4\fi
\@end@tempboxa
\end{minipage}%
\endtrivlist
......
No preview for this file type
\documentclass{ptbposter}
%\documentclass[sanserif,english]{ptbposter}
\documentclass[
%landscape,
%,english
%,a4paper
,layout2020
]{ptbposter}
\phone{+49-30-3481-7316}
\fax{+49-30-3481-7503}
\fax{+49-30-3481-7490}
\email{Rolf.Niepraschk@ptb.de}
\workingGroup{7.54 Vakuummetrologie}
\department{7.5 Wärme und Vakuum}
......@@ -15,11 +19,13 @@
\Author*{Max}{Mustermann}
\Author{Ellen}{Bogen}[Muster Universität Oberstadt]
\Author*{Peter}{Silie}[XYZ GmbH]
\Author{Rainer}{Unsinn}[1]
\logo{penguin.pdf}
%%\scaleFontSizes{1.05}% Werte nahe an "1" wählen!
%%\scaletoPaper{a4}
\title{Die \LaTeX"=Dokumentenklasse "`ptbposter"'}
\title{Die \LaTeX-Dokumentenklasse "`ptbposter"'}
\begin{document}
......@@ -40,17 +46,26 @@ zu entnehmen.
\section{Klassenoptionen}
\begin{itemize}
\item \textbf{a4paper}: Setzt von A0 abweichende Blattgröße (auch
"`\verb|{a3,a2,a1}paper|"' möglich).
\item \textbf{portrait}: Setzt das Poster im Hochformat (Standard).
\item \textbf{landscape}: Setzt das Poster im Querformat.
\item \textbf{serif}: Wählt die Serifenschrift für den Textbereich (Standard).
\item \textbf{sanserif}: Wählt die serifenlose Schrift für den Textbereich.
Es wird empfohlen, in diesem Falle die TeX"=Compiler "`lualatex"' oder
"`xelatex"' zu verwenden.
\item \textbf{serif}: Wählt die Serifenschrift für den Textbereich.
\item \textbf{sanserif}: Wählt die serifenlose Schrift für den Textbereich
(Standard).
\item \textbf{mathserif}: Wählt die Serifenschrift für den mathematischen
Modus.
\item \textbf{mathsanserif}: Wählt die serifenlose Schrift für den
mathematischen Modus (Standard).
\item \textbf{boldTitle}: Im Titel fette Schriftstärke verwenden.
\item \textbf{centerTitle}: Den Titel zentriert setzen.
\item \textbf{raggedTitle}: Den Titel mit "`Flatterrand"' setzen.
\item \textbf{centerAuthors}: Die Autoren zentriert setzen.
\item \textbf{shortPTBlogo}: verkürztes PTB-Logo (Text entfällt; nur im
Falle von "`layout2018"' wirksam)
\item \textbf{layout2018, layout2020}: Layoutvarianten
\end{itemize}
Alle anderen Optionen werden an die intern benutzte Dokumentenklasse
"`scrartcl"' weitergeleitet.
Ohne Angabe einer Sprachoption werden die Trennregeln für "`ngerman"' (neue
deutsche Rechtschreibung) benutzt.
......@@ -76,10 +91,12 @@ Die folgenden Angaben wurden in dieser Beispieldatei verwendet:
\begingroup
\scriptsize
\begin{verbatim}
\Author{Rolf}{Niepraschk}[Physikalisch-Technische Bundesanstalt]
\Author{Rolf}{Niepraschk}[%
Physikalisch-Technische Bundesanstalt]
\Author*{Max}{Mustermann}
\Author{Ellen}{Bogen}[Muster Universität Oberstadt]
\Author*{Peter}{Silie}[XYZ GmbH]
\Author{Rainer}{Unsinn}[1]
\end{verbatim}
\endgroup
......@@ -101,7 +118,8 @@ Gehört ein weiterer Autor nicht der PTB an, so ist dessen Institution als
optionaler Parameter am Ende des Makros anzugeben. Für den zweiten Autor wird
im hier gezeigten Beispiel die Sternform des Makros benutzt, da er derselben
Institution wie sein Vorgänger angehört. Der vierte Autor gehört zur
Institution des dritten und gleichzeitig zu einer weiteren.
Institution des dritten und gleichzeitig zu einer weiteren. Der letzte Autor
gehört derselben Institution an wie der erste.
\end{multicols}
......@@ -109,19 +127,6 @@ Institution des dritten und gleichzeitig zu einer weiteren.
\emph{Das Dokument "`\texttt{ptbposter-doc-2}"' enthält die Fortsetzung dieser
Anleitung.}
\textcolor{PTBcolor}{\rule{\textwidth}{0.25ex}}
\begin{equation}
\sum_{k=0}^\infty \frac{x^k}{k!} \neq \prod_{j=1}^{10} \frac{j}{j+1}.
\end{equation}
\begin{equation}
P_{r-j}=\begin{cases}
0 & \text{if $r-j$ is odd},\\
r!\,(-1)^{(r-j)/2} & \text{if $r-j$ is even}.
\end{cases}
\end{equation}
\end{document}
No preview for this file type
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
File added
This diff is collapsed.
File added
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.