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 402 additions and 3034 deletions
This diff is collapsed.
File deleted
File deleted
\documentclass[english,sanserif]{ptbposter}
%\documentclass[ngerman,sanserif]{ptbposter}
\usepackage[
,font=scriptsize
,labelfont=bf
,skip=\baselineskip
]{caption}
\phone{+49-30-3481-7262}
\fax{+49-30-3481-7503}
\email{Karl.Jousten@ptb.de}
\workingGroup{7.54 Vacuum Metrology}
\department{7.5 Heat and Vacuum}
\location{10587 Berlin}
\street{Abbestraße 2--12}
\QRcode{http://www.ptb.de/cms/fachabteilungen/abt7/fb-75/ag-754.html}
\title{\huge Continuous Expansion}
\begin{document}
\begin{multicols}{2}
\section{Method}
In the continuous expansion method, the pressure is reduced by a restriction. The gas flows continuously from a volume at relativ high pressure into the calibration chamber and thereafter to the vacuum pump.
\includegraphics[width=0.9\columnwidth]{method-poster-en}
%\caption{Korrekturen der Keithley}
The pressure in the calibration chamber is given by:
\begin{equation}
p= \frac{q_{pv}}{C} \qquad
\begin{tabular}{@{}lll@{}}
$q_{pV}$& & Gas flow \\
$C$ & & Conductance \\
\end{tabular}
\end{equation}
\section{The Primary Standard CE-3}
\includegraphics[width=0.5\columnwidth]{CE_3}
At the PTB, pressures in the range $10^{-10}$ Pa to $10^{-2}$ Pa are generated by the primary standard CE-3, based on the continuous expansion method. This method was improved to enlarge the calibration range.
For these purposes two calibration chambers (UHV-chamber $V_1$ and XHV-chamber $V_2$ (Figure 3))and two cryo pumps were used. Between these chambers a flow divider channels about 99\% of the gas flow into $V_1$ and 1\% into $V_2$.
Thus the gas flow in $V_2$ will be about a factor 100 lower than in $V_1$. The gas flow $q_{pv}$ is produced and measured by the flowmeter FM-3.
\begin{center}
\includegraphics[width=0.9\columnwidth]{Skizze-poster-en}
\captionof{figure}{Scheme}
\end{center}
Cold surfaces at 2.6 K pump the gas molecules exiting from the two calibration chambers through the pump orifices. The high condensation probability of the gas molecules on these surfaces avoids backstreaming for most gas species into the calibration chamber. As a result the orifices act as a “black hole” for the gas molecules. If both cryo pumps operate, the gas flow $q_{pV}$ is subdivided into two gas flows into the respective chambers :
\begin{equation}
q_{pv}= q_{01}+q_{02} \qquad
\end{equation}
If only cryo pump KP1 operates, the calibration pressure in volume V 1 is given by:
\begin{equation}
p_1= \frac{q_{pv}}{\gamma_1 C_1}\cdot \frac{\sqrt{T_{CH_1}T_0}}{T_{FM}} \qquad
\begin{tabular}{@{}lll@{}}
$T_{CH1}$ & Temperatur of $V_1$ & \\
$T_{FM}$& Temperatur of flowmeter& \\
$\gamma_1$ & factor accounting back- & \\
& streaming ($\approx1$) & \\
$q_{pV}$& Gas flow rate & \\
$T_{0}$& Reference & \\
& temperatur 23°C & \\
$C_1$& Conductance of orifice & \\
\end{tabular}
\end{equation}
\includegraphics[width=0.8\columnwidth]{uns-ce34evc}
\end{multicols}
\end{document}
File deleted
File deleted
File deleted
File deleted
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{ptbposter-2018.clo}%
[2020/03/10 v0.1b `PTB-Poster' layout 2018 (RN/PTB)]
[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 bei A4
\setlength\PTB@default@author@fontsize{0.0157550946737\PTB@scale@base}% 53.3pt bei A0
\setlength\PTB@default@title@fontsize@base{0.0315101893474\PTB@scale@base}% 106.6pt bei A0
\setlength\PTB@default@foot@fontsize{0.00567538119577\PTB@scale@base}% 19.2pt bei A0
\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)
\ifPTB@XeOrLua
\iftutex% LuaTeX oder XeTeX
\setfontfamily\PTBdesignFont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
......@@ -30,23 +30,23 @@
\setlength\PTB@topmargin{0.180824222418\PTB@scale@base}%
\fi
\ifPTBlandscape
\setlength\PTB@framewidth{0.950378471315\PTB@scale@base}% 3215pt (1130mm) bei A0
\setlength\PTB@framewidth{0.950378471315\PTB@scale@base}% 3215pt (1130mm) (A0)
\ifx\@author\@empty
\setlength\PTB@frameheight{0.490824222418\PTB@scale@base}% 1660pt (584mm) bei A0
\setlength\PTB@frameheight{0.490824222418\PTB@scale@base}% 1660pt (584mm) (A0)
\else
\setlength\PTB@frameheight{0.462\PTB@scale@base}% 1563pt (549mm) bei A0
\setlength\PTB@frameheight{0.462\PTB@scale@base}% 1563pt (549mm) (A0)
\fi
\else
\setlength\PTB@framewidth{0.656013458076\PTB@scale@base}% 2219pt (780mm) bei A0
\setlength\PTB@framewidth{0.656013458076\PTB@scale@base}% 2219pt (780mm) (A0)
\ifx\@author\@empty
\setlength\PTB@frameheight{0.769\PTB@scale@base}% 2602pt (914mm) bei A0
\setlength\PTB@frameheight{0.769\PTB@scale@base}% 2602pt (914mm) (A0)
\else
\setlength\PTB@frameheight{0.740117747573\PTB@scale@base}% 2504pt (880mm) bei A0
\setlength\PTB@frameheight{0.740117747573\PTB@scale@base}% 2504pt (880mm) (A0)
\fi
\fi
}
\AddToShipoutPictureBG*{% Kopf (relativ zur oberen Blattkante)
\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?
......@@ -101,7 +101,7 @@
\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}%\color{PTBcolor}%
\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}}%
......@@ -111,8 +111,8 @@
\dimexpr\textheight+2\PTB@textvsep){\backgroundContent}}%
}
\AddToShipoutPictureFG*{% Fuß (relativ zur unteren Kante des Textbereichs)
\AtTextLowerLeft{%
\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
......
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{ptbposter-2020.clo}%
[2020/03/13 v0.1b `PTB-Poster' layout 2020 (RN/PTB)]
[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 bei A4
\setlength\PTB@default@author@fontsize{0.0157550946737\PTB@scale@base}% 53.3pt bei A0
\setlength\PTB@default@title@fontsize@base{.0282849711986\PTB@scale@base}% 95.7pt bei A0
\setlength\PTB@default@foot@fontsize{0.00567538119577\PTB@scale@base}% 19.2pt bei A0
\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)
\ifPTB@XeOrLua
\iftutex% LuaTeX oder XeTeX
\setfontfamily\PTBdesignFont{UniversNextPro-Light}[%
Ligatures=TeX,
BoldFont=*,
......@@ -30,16 +30,16 @@
\AtEndPreamble{%
\setlength\PTB@topmargin{0.193953\PTB@scale@base}%
\ifPTBlandscape % ???
\setlength\PTB@framewidth{0.950378471315\PTB@scale@base}% 3215pt (1130mm) bei A0
\setlength\PTB@frameheight{0.447\PTB@scale@base}% 1563pt (549mm) bei A0
\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) bei A0
\setlength\PTB@frameheight{0.740117747573\PTB@scale@base}% 2504pt (880mm) bei A0
\setlength\PTB@framewidth{0.656013458076\PTB@scale@base}% 2219pt (780mm) (A0)
\setlength\PTB@frameheight{0.740117747573\PTB@scale@base}% 2504pt (880mm) (A0)
\fi
}
\AddToShipoutPictureBG*{% Kopf (relativ zur oberen Blattkante)
\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]%
......@@ -89,8 +89,8 @@
\dimexpr\textheight+2\PTB@textvsep){\backgroundContent}}%
}
\AddToShipoutPictureFG*{% Fuß (relativ zur unteren Kante des Textbereichs)
\AtTextLowerLeft{%
\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
......@@ -122,16 +122,31 @@
\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}%
}%
}
\ifx\PTB@logo\@empty\else
\PTB@tempdimc=0.038875630234\PTB@scale@base% 131bp bei A0
\PTB@tempdima=\dimexpr\PTB@framewidth-\PTB@tempdimc+\PTB@framethickness
\sbox\PTB@tempboxa{\includegraphics[width=\PTB@tempdimc]{\PTB@logo}}%
\put(\PTB@tempdima,\PTB@tempdimb+\ht\strutbox){%
\raisebox{-\ht\PTB@tempboxa}[0pt]%
[\dimexpr\ht\PTB@tempboxa+\dp\PTB@tempboxa]{\usebox\PTB@tempboxa}%
}
\fi
}
}
}
......
No preview for this file type
No preview for this file type
......@@ -3,8 +3,8 @@
,landscape
%,english
%,a4paper
,layout2018
%,layout2020
%,layout2018
,layout2020
]{ptbposter}
\phone{+49-30-3481-7316}
......@@ -14,7 +14,6 @@
\department{7.5 Wärme und Vakuum}
\location{10587 Berlin}
\street{Abbestraße 2--12}
\QRcode{http://www.ptb.de/cms/fachabteilungen/abt7/fb-75/ag-754.html}
\Author{Rolf}{Niepraschk}[Physikalisch-Technische Bundesanstalt]
\Author*{Max}{Mustermann}
......@@ -22,6 +21,7 @@
\Author*{Peter}{Silie}[XYZ GmbH]
\logo{penguin.pdf}
\QRcode{https://www.ctan.org/}
%%\scaleFontSizes{1.05}% Werte nahe an "1" wählen!
......@@ -38,37 +38,36 @@ Anleitung.}
\begin{itemize}
\item \verb|\scaleFontSizes|: Skaliert alle Schriftgrößen im Textbereich um
den angegebenen Wert. Beispiel: Mit \verb|\scaleFontSizes{1.04}| wird der
Fließtext um 4\,\% vergrößert gesetzt.
den angegebenen Wert, sodass die Seite günstig gefüllt ist. Beispiel: Mit
\verb|\scaleFontSizes{1.04}| wird der Fließtext um 4\,\% vergrößert gesetzt
(global in der Preamble).
\item \verb|\relscale| Skaliert aktuelle Schriftgröße (lokal). Siehe dazu
auch Beschreibung zum Paket \verb|relsize|. \columnbreak
\item \verb|\scaleTitleFontSize|: Skaliert die Schrift des Titels um den
angegebenen Wert. Sobald der Titel mehr als eine Zeile einnimmt, wird er
unabhängig von diesem Wert derart skaliert, dass er die mehreren Zeilen
ausfüllt.
unabhängig von diesem Wert sinnvoll skaliert.
\item \verb|\scaleFont|: Skaliert die aktuelle Schrift lokal um den
angegebenen Wert.
\item \verb|\logo|: Spezielles Logo im Kopfbereich (rechtsbündig)
%\columnbreak
\end{itemize}
Die Zahlenwerten für \verb|\scaleFontSizes| und \verb|\scaleTitleFontSize|
sollten nicht stark von "`1"' abweichen, um das Gesamtbild nicht zu
beeinträchtigen. Die Makros \verb|\phone|, \verb|\fax|, \verb|\email|,
Die Zahlenwerten für \verb|\scaleFontSizes|, \verb|\scaleTitleFontSize| und
\verb|\relscale| sollten nicht stark von "`1"' abweichen, um das Gesamtbild
nicht zu beeinträchtigen. Die Makros \verb|\phone|, \verb|\fax|, \verb|\email|,
\verb|\workingGroup|, \verb|\department|, \verb|\location|, \verb|\street| und
\verb|\QRcode| setzen die Informationen im Fußbereich und sind selbsterklärend.
Die Größe der Schrift des Titels verringert sich automatisch, wenn der Platz
nicht ausreicht (Beginn einer zweiten Zeile).
\end{multicols}
\bigskip
Die jeweils aktuelle Version der Dokumentenklasse und der Beispieldokumente
sind im Git"=Repositorium der Arbeitsgruppe~7.54 unter der Adresse
\url{https://a75436.berlin.ptb.de/vaclab/ptb-latex/tree/master/ptbposter} zu
\url{https://gitlab1.ptb.de/vaclab/ptb-latex/-/tree/master/ptbposter} zu
finden. Für Anregungen und Kritiken bin ich dankbar.
\medskip
Rolf Niepraschk
Rolf Niepraschk, 3/2025
\end{document}
......@@ -12,6 +12,7 @@
}{}
\RequirePackage[no-math]{fontspec}
\RequirePackage[mathit=sym]{unicode-math}
\ifSERIF
\setmainfont{texgyrepagella}[
......@@ -22,31 +23,43 @@
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\else
\setmainfont{texgyreheros}[
\setsansfont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\renewcommand*\familydefault{\sfdefault}% ???
\fi
\setromanfont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\renewcommand*\familydefault{\sfdefault}%
\fi
\ifMATHSERIF
\RequirePackage{unicode-math}
\setmathfont{texgyrepagella-math.otf}[
math-style=TeX,
bold-style=TeX,
]
\else
%%%\RequirePackage[usefilenames,weight=Regular]{firamath-otf}
%%%\setoperatorfont\mathsf
%%%\unimathsetup{partial=upright}%
%%%%%%\RequirePackage{arevmath}
%%%%%%\SetSymbolFont{largesymbols}{normal}{OMX}{iwona}{m}{n}
%%%%%%%%%%%%\RequirePackage[onlysansmath]{mdsymbol}
\renewcommand*\familydefault{\sfdefault}%
%\RequirePackage{unicode-math}
\RequirePackage{newtxsf}
\setmathfont{FiraMath-Regular.otf}[
Scale=1,
math-style=TeX,
bold-style=TeX,
Numbers={Lining,Proportional},
]
%\RequirePackage[usefilenames,weight=Regular]{firamath-otf}
\setoperatorfont\mathsf
\unimathsetup{partial=upright}%
%\RequirePackage{mathastext}% nicht so gut
\setmathfont{texgyreheros-regular.otf}[range=up/{Latin,Greek,num}]
\setmathfont{texgyreheros-italic.otf}[range=it/{latin,greek}]
\setmathfont{texgyreheros-bolditalic.otf}[range=bfit/{latin,greek}]
\setmathfont{texgyreheros-bold.otf}[range=bfup/{latin,greek}]
\fi
\setmonofont{AnonymousPro-Regular}[%
......@@ -54,12 +67,14 @@
BoldFont = AnonymousPro-Bold,
ItalicFont = AnonymousPro-Italic,
BoldItalicFont = AnonymousPro-BoldItalic,
Scale = MatchLowercase]
Scale = 1.05,
RawFeature={embolden=.5}
]
\RequirePackage{newunicodechar}
\newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE' (\u202F, 8239)
\newunicodechar{^^^^2009}{\,\hspace{0pt}}% 'THIN SPACE'
\newunicodechar{^^^^00ad}{\-}% 'SOFT HYPHEN'
\endinput
\endinput
\ProvidesPackage{ptbposter-tcb}[2020/02/28 v0.1f ptbposter/tcolorbox (RN)]
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\ProvidesPackage{ptbposter-tcb}[2021/09/21 1.0.1 ptbposter/tcolorbox (RN)]
\newcommand*\PTB@posterSet{%
columns=3,rows=5,spacing=\PTB@texthsep,showframe=false,}
......@@ -77,13 +78,13 @@
adjusted title/.style={title={\raisebox{0pt}[\height][0pt]{#1}}}
}
\AtBeginDocument{%
\AddToHook{begindocument/end}{%
\protected@edef\PTB@tempa{\noexpand\tcbposterset{poster={\PTB@posterSet},%
boxes={\PTB@boxesSet}}}%
\PTB@tempa
\begin{tcbposter}%
}
\AtEndDocument{%
\AddToHook{enddocument}{%
\end{tcbposter}%
}
......
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
% Rolf Niepraschk, Rolf.Niepraschk@gmx.de
\setcounter{errorcontextlines}{100} \listfiles
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ptbposter}[2022/09/08 v1.0c PTB-Poster (RN)]
\ProvidesClass{ptbposter}[2025/03/12 1.1.1 PTB-Poster (RN)]
\newif\ifPTB@useCMYK \PTB@useCMYKfalse % vorerst
\newif\ifPTB@german@ \PTB@german@true
\newif\ifPTB@german@ \PTB@german@false
\newdimen\PTB@topmargin % Abstand zum Rahmen
\newdimen\PTB@leftmargin % Abstand zum Rahmen
......@@ -47,22 +47,25 @@
\newbox\PTB@tempboxa
\newif\ifPTBlandscape \PTBlandscapefalse
\newif\ifPTB@XeOrLua \PTB@XeOrLuafalse
\newif\ifSERIF \SERIFfalse
\newif\ifMATHSERIF \MATHSERIFfalse
\newif\ifFIRA \FIRAfalse
\newif\ifPTB@logo@long@ \PTB@logo@long@true
\RequirePackage{ifluatex,ifxetex}
\ifxetex\PTB@XeOrLuatrue\else\ifluatex\PTB@XeOrLuatrue\fi\fi
\PassOptionsToPackage{pagesize=false}{typearea}
\PassOptionsToPackage{paper=a0paper,onecolumn,portrait}{geometry}
\PassOptionsToPackage{paper=a0paper,onecolumn,portrait,driver=none}{geometry}
\newcommand*\PTB@title@justification{\relax}
\newcommand*\PTB@authors@justification{\relax}
\newcommand*\PTB@title@series{\relax}
\newcommand*\PTB@layout{}
\newcommand*\PTB@target@size{}
\newcommand*\PTB@babel@opt{english,main=ngerman}
\DeclareOption{english}{\def\PTB@babel@opt{ngerman,main=english}}
\DeclareOption{ngerman}{\def\PTB@babel@opt{english,main=ngerman}}
\DeclareOption{german}{\def\PTB@babel@opt{english,main=ngerman}}
\DeclareOption{sanserif}{% noch experimentell! Besser: LuaTeX/XeTeX + OTF
\SERIFfalse
......@@ -76,6 +79,9 @@
\DeclareOption{mathserif}{%
\MATHSERIFtrue
}
\DeclareOption{fira}{%
\FIRAtrue
}
\DeclareOption{boldTitle}{%
\global\let\PTB@title@series=\bfseries
}
......@@ -89,21 +95,26 @@
\global\let\PTB@authors@justification=\centering
}
\DeclareOption{a4paper}{%
\PassOptionsToPackage{\CurrentOption}{geometry}
\def\PTB@target@size{a4}
}
\DeclareOption{a3paper}{%
\PassOptionsToPackage{\CurrentOption}{geometry}
\def\PTB@target@size{a3}
}
\DeclareOption{a2paper}{%
\PassOptionsToPackage{\CurrentOption}{geometry}
\def\PTB@target@size{a2}
}
\DeclareOption{a1paper}{%
\PassOptionsToPackage{\CurrentOption}{geometry}
\def\PTB@target@size{a1}
}
\DeclareOption{a0paper}{%
\PassOptionsToPackage{\CurrentOption}{geometry}
\let\PTB@target@size=\@empty
}
\DeclareOption{landscape}{%
\PTBlandscapetrue
\PassOptionsToPackage{\CurrentOption}{geometry}
}
\DeclareOption{portrait}{%
\PTBlandscapefalse
\PassOptionsToPackage{\CurrentOption}{geometry}
}
\DeclareOption{shortPTBlogo}{%
......@@ -115,38 +126,58 @@
\DeclareOption{layout2020}{%
\def\PTB@layout{1}%
}
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{babel}}
%\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{babel}}
\DeclareOption*{\OptionNotUsed}
\ExecuteOptions{serif,raggedTitle,layout2020}
\ProcessOptions\relax
% The default language should be `ngerman', `english' should also be present.
\def\@tempa{english}\def\@tempb{english,ngerman}
\@for\CurrentOption:=\@classoptionslist\do{%
\ifx\CurrentOption\@tempa
\def\@tempb{ngerman}% Only add `english' if not already present.
\fi
}%
\edef\@classoptionslist{\@tempb,\@classoptionslist}
\RequirePackage[\PTB@babel@opt]{babel}
\iflanguage{ngerman}{\PTB@german@true}{}
\LoadClass{scrartcl}
\usepackage[verbose]{geometry}%
\RequirePackage[verbose]{geometry}%
\@ifundefined{changefontsizes}{%
\ClassError{ptbposter}{%
Deine Version von KOMA-Script ist ungeeignet (vermutlich stark veraltet)!
Your version of KOMA-Script is unsuitable\MessageBreak
(probably very outdated)!
}{%
Installiere die aktuelle Version von KOMA-Script.
Install the latest version of KOMA-Script.
}%
\@@end
}{}
\ifPTB@XeOrLua
\ifx\PTB@target@size\@empty\else % Sheet scaling is necessary
\RequirePackage{blowup}
\IfPackageAtLeastTF{blowup}{2022/09/19}{%
\ClassNoteNoLine{ptbposter}{%
Scaling the sheet from size `a0' to size `\PTB@target@size'}%
\ifPTBlandscape
\blowUp{target=\PTB@target@size,landscape}
\else
\blowUp{target=\PTB@target@size}
\fi
}{%
\ClassError{ptbposter}{%
You need version `2022/09/19' or newer of the \MessageBreak
`blowup' package to scale the document, but only \MessageBreak
version `\csname ver@blowup.sty\endcsname' \MessageBreak
is available
}{%
Install the latest version of `blowup'.
}%
\@@end
}
\fi
\iftutex% LuaTeX oder XeTeX
\input{ptbposter-new-engines.clo}
\else
\input{ptbposter-old-engines.clo}
\fi
\let\eth=\relax
\RequirePackage{amsmath,ragged2e}
\RequirePackage{amsmath,array,ragged2e}
\RequirePackage[dvipsnames,svgnames,x11names]{xcolor}
\RequirePackage{multicol,graphicx}
......@@ -165,15 +196,9 @@
\providecommand*\microtypesetup[1]{}
\RequirePackage{babel}
\AtEndOfClass{%
\shorthandon{"}%
\PTB@german@false
\iflanguage{ngerman}{\PTB@german@true}{%
\iflanguage{german}{\PTB@german@true}{}%
}
\if@tempswa
\ifPTB@german@
\shorthandon{"}%
\defineshorthand{"`}{\guillemotright}%
\defineshorthand{"'}{\guillemotleft}%
\fi
......@@ -212,7 +237,58 @@
\definecolor{PTBcolor}{RGB}{0,155,206}% 2019
\fi
\RequirePackage[texcoord]{eso-pic}
% == Emulieren einiger eso-pic-Befehle, um den Inhalt skalierbar zu machen ==
%%% TODO: eso-pic ändern?
\RequirePackage{atbegshi}
\newcommand\PTB@AtBeginShipoutUpperLeft[1]{%
\AtBeginShipout{\AtBeginShipoutUpperLeft{#1}}%
}
\newcommand\PTB@AtBeginShipoutUpperLeftForeground[1]{%
\AtBeginShipout{\AtBeginShipoutUpperLeftForeground{#1}}%
}
\newcommand\PTB@AddToShipoutPictureBG{%
\@ifstar{\PTB@AtBeginShipoutUpperLeft}%
{\PTB@AtBeginShipoutUpperLeft}%
}
\newcommand\PTB@AddToShipoutPictureFG{%
\@ifstar{\PTB@AtBeginShipoutUpperLeftForeground}%
{\PTB@AtBeginShipoutUpperLeftForeground}%
}
\newcommand\PTB@AtPageUpperLeft[1]{%
\put(0,0){#1}%
}
\newcommand\PTB@AtPageLowerLeft[1]{%
\put(0,-\paperheight){#1}%
}
\newcommand\PTB@AtPageCenter[1]{\PTB@AtPageUpperLeft{%
\put(.5\paperwidth,-.5\paperheight){#1}}%
}
\newcommand\PTB@AtTextUpperLeft[1]{%
\begingroup
\@tempdima=1in\relax
\if@twoside
\ifodd\c@page
\advance\@tempdima\oddsidemargin
\else
\advance\@tempdima\evensidemargin
\fi
\else
\advance\@tempdima\oddsidemargin
\fi
\@tempdimb=-1in\relax
\advance\@tempdimb-\topmargin
\advance\@tempdimb-\headheight
\advance\@tempdimb-\headsep
\PTB@AtPageUpperLeft{%
\put(\@tempdima,\@tempdimb){#1}%
}%
\endgroup
}
\newcommand\PTB@AtTextLowerLeft[1]{%
\PTB@AtTextUpperLeft{\put(0,-\textheight){#1}}%
}
% --------------------------------------------------------------------
\RequirePackage{pict2e,picture,ifdraft,booktabs}
\RequirePackage{varwidth,qrcode}
......@@ -326,6 +402,11 @@
\PTBlandscapetrue
\fi
\RequirePackage{relsize}% ???
\renewcommand*\RSpercentTolerance{0}%
\renewcommand*\RSlargest{5000pt}% important!
\renewcommand*\RSsmallest{0pt}
\newcommand*\scaleFontSizes[1]{%
\global\PTB@default@fsize=#1\PTB@default@fontsize@base
}
......@@ -368,18 +449,17 @@
\scaleFontSizes{1}% wird ggf. in Präambel noch mal geändert.
\scaleTitleFontSize{1}% wird ggf. in Präambel noch mal geändert.
\AtEndPreamble{%
% Skalierungen in der Präambel sind passiert.
\changefontsizes{\the\PTB@default@fsize}%
\KOMAoptions{headings=normal,parskip=half}
\normalsize
\setlength\PTB@texthsep{.75em}%
\setlength\PTB@textvsep{.75em}%
\setlength\PTB@texthsep{0.0062164016879\PTB@scale@base}% 21.03029pt (A0)
\setlength\PTB@textvsep{\PTB@texthsep}% 21.03029pt (A0)
\setlength\PTB@maxtitleheight{0.057\PTB@scale@base}%
\setlength\PTB@framethickness{0.00168208578994\PTB@scale@base}%
\setlength\fboxsep{0.00355\PTB@scale@base} % 3pt bei A4
\setlength\fboxrule{0.0004722\PTB@scale@base}% 0.4pt bei A4
\setlength\fboxsep{0.00355\PTB@scale@base} % 3pt (A4), 12pt (A0)
\setlength\fboxrule{0.0004722\PTB@scale@base}% 0.4pt (A4), 1.6pt (A0)
\setlength\PTB@leftmargin{0.5\dimexpr\paperwidth-\PTB@framewidth}%
\PTB@tempdima=\dimexpr\PTB@leftmargin+\PTB@texthsep %
\geometry{%
......@@ -445,7 +525,7 @@
beforeskip=-2ex \@plus -1ex \@minus -.2ex,%
afterskip=0.4ex \@plus.2ex,%
tocindent=0pt,%
tocnumwidth=1.5em%
tocnumwidth=1.5em %
]{section}
\RedeclareSectionCommand[%
style=section,%
......@@ -454,7 +534,7 @@
beforeskip=-1.2ex\@plus -1ex \@minus -.2ex,%
afterskip=0.1ex \@plus .2ex,%
tocindent=1.5em,%
tocnumwidth=2.3em%
tocnumwidth=2.3em %
]{subsection}
\RedeclareSectionCommand[%
style=section,%
......@@ -463,7 +543,7 @@
beforeskip=-1.2ex\@plus -1ex \@minus -.2ex,%
afterskip=0.1ex \@plus .2ex,%
tocindent=3.8em,%
tocnumwidth=3.2em%
tocnumwidth=3.2em %
]{subsubsection}
\RedeclareSectionCommand[%
style=section,%
......@@ -472,7 +552,7 @@
beforeskip=1.2ex \@plus1ex \@minus.2ex,%
afterskip=-1em,%
tocindent=7.0em,%
tocnumwidth=4.1em%
tocnumwidth=4.1em %
]{paragraph}
\RedeclareSectionCommand[%
style=section,%
......@@ -481,10 +561,23 @@
beforeskip=1.2ex \@plus1ex \@minus .2ex,%
afterskip=-1em,%
tocindent=10em,%
tocnumwidth=5em%
tocnumwidth=5em %
]{subparagraph}
}
% non-floating figure/table
\renewenvironment{figure}[1][]{%
\def\@captype{figure}%
\par\nobreak}
{\par\nobreak}
\renewenvironment{table}[1][]{%
\def\@captype{table}%
\par\nobreak}
{\par\nobreak}
\let\bib@heading=\relax % no head line for bibliography (\refname)
\setcounter{secnumdepth}{-2}
\renewcommand*\maketitle[1][1]{}
\renewcommand*\tableofcontents{}
......
File added
This diff is collapsed.
No preview for this file type
......@@ -5,7 +5,7 @@
,layout2018
]{ptbposter}
\usepackage[
boxlayout=2 % 0, 1, 2, 3 # default: 2
boxlayout=2 % 0, 1, 2, 3 -- default: 2
]{ptbposter-tcb}
\phone{+49-30-3481-7316}
......@@ -25,22 +25,22 @@ boxlayout=2 % 0, 1, 2, 3 # default: 2
\colorlet{backgroundBottom}{IndianRed3!90}
\posterSet{showframe=false,columns=3,rows=3}
\title{Poster-Test (\texttt{tcolorbox}, \textup{Ti\textit{k}Z}) -- Nr.~2}
\title{Poster-Test (\texttt{ptbposter-tcb.sty}) -- Nr.~2}
\begin{document}
\begin{posterboxenv}[title=John Lennon]{name=John,column=1}
\begin{posterboxenv}[adjusted title=John Lennon]{name=John,column=1}
\includegraphics[width=\linewidth]{John.png}
\end{posterboxenv}
\begin{posterboxenv}[title=Paul McCartney]{name=Paul,column=3}
\begin{posterboxenv}[adjusted title=Paul McCartney]{name=Paul,column=3}
\includegraphics[width=\linewidth]{Paul.png}
\end{posterboxenv}
\begin{posterboxenv}{name=Beatles,column=2,at=middle}
\includegraphics[width=\linewidth]{The_Beatles_official_logo.pdf}
\end{posterboxenv}
\begin{posterboxenv}[title=George Harrison]{name=George,column=1,above=bottom}
\begin{posterboxenv}[adjusted title=George Harrison]{name=George,column=1,above=bottom}
\includegraphics[width=\linewidth]{George.png}
\end{posterboxenv}
\begin{posterboxenv}[title=Ringo Starr]{name=Ringo,column=3,above=bottom}
\begin{posterboxenv}[adjusted title=Ringo Starr]{name=Ringo,column=3,above=bottom}
\includegraphics[width=\linewidth]{Ringo.png}
\end{posterboxenv}
......