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

\PTBunit --> \vUnit

parent 8fe603e7
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
\defbeamertemplate*{title page}{PTB}[1][]{% \defbeamertemplate*{title page}{PTB}[1][]{%
\normalcolor\normalfont \normalcolor\normalfont
\unitlength=\PTBunit \unitlength=\vUnit
\linewidth=\dimexpr\textwidth-298\PTBunit% 298 = 2 x (width of blue square + distance) \linewidth=\dimexpr\textwidth-298\vUnit% 298 = 2 x (width of blue square + distance)
\begin{picture}(0,0)(\dimexpr\beamer@leftmargin-.5\paperwidth+.5\linewidth,570)% 570=tried \begin{picture}(0,0)(\dimexpr\beamer@leftmargin-.5\paperwidth+.5\linewidth,570)% 570=tried
\put(0,0){% \put(0,0){%
\put(0,630){% positions the baseline of the first line of text \put(0,630){% positions the baseline of the first line of text
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
\put(0,365){% \put(0,365){%
\begin{minipage}[t]{\linewidth}% \begin{minipage}[t]{\linewidth}%
\centering \centering
\usebeamerfont{author}\insertauthor\mbox{}\\[15\PTBunit] \usebeamerfont{author}\insertauthor\mbox{}\\[15\vUnit]
\usebeamerfont{institute}\insertinstitute \usebeamerfont{institute}\insertinstitute
\end{minipage}% \end{minipage}%
} }
......
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
\setbeamertemplate{frametitle}{% \setbeamertemplate{frametitle}{%
\ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}% \ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
\begin{beamercolorbox}[left,wd=\textwidth,ht=45.8\PTBunit,dp=19.6\PTBunit,% \begin{beamercolorbox}[left,wd=\textwidth,ht=45.8\vUnit,dp=19.6\vUnit,%
leftskip=0pt,rightskip=0pt]{frametitle} leftskip=0pt,rightskip=0pt]{frametitle}
\usebeamerfont{frametitle}% \usebeamerfont{frametitle}%
\strut\ifbeamer@plainframe\else\PTB@frametitle\fi\strut\\ \strut\ifbeamer@plainframe\else\PTB@frametitle\fi\strut\\
\vskip-54\PTBunit \vskip-54\vUnit
\end{beamercolorbox}% \end{beamercolorbox}%
} }
\setbeamertemplate{frametitle continuation}{% \setbeamertemplate{frametitle continuation}{%
...@@ -21,24 +21,24 @@ ...@@ -21,24 +21,24 @@
\else \else
\ifnum \insertpagenumber = 1 % first page (title page) \ifnum \insertpagenumber = 1 % first page (title page)
\begin{picture}(0,0)(-\beamer@leftmargin,\paperheight)% \begin{picture}(0,0)(-\beamer@leftmargin,\paperheight)%
\unitlength=\PTBunit \unitlength=\vUnit
\put(0,805){% \put(0,805){%
\begin{minipage}[b]{\PTB@textwidth}% \begin{minipage}[b]{\PTB@textwidth}%
\color{PTBblue}% \color{PTBblue}%
\includegraphics[height=130\PTBunit]{PTB-logo-A.mps}% \includegraphics[height=130\vUnit]{PTB-logo-A.mps}%
\hspace{3\unitlength} \hspace{3\unitlength}
\normalcolor\normalfont \normalcolor\normalfont
\begin{varwidth}[b]{\PTB@textwidth} \begin{varwidth}[b]{\PTB@textwidth}
\fontsize{30.53\PTBunit}{36.64\PTBunit}\selectfont \fontsize{30.53\vUnit}{36.64\vUnit}\selectfont
\bfseries \bfseries
Physikalisch-Technische Bundesanstalt\\ Physikalisch-Technische Bundesanstalt\\
Braunschweig und Berlin \\ Braunschweig und Berlin \\
\mdseries\translate{NMI} \mdseries\translate{NMI}
\end{varwidth} \end{varwidth}
\IfIsEmpty{\PTB@orgLogo}{}{% \IfIsEmpty{\PTB@orgLogo}{}{%
\hfill\includegraphics[height=130\PTBunit]{\PTB@orgLogo}% \hfill\includegraphics[height=130\vUnit]{\PTB@orgLogo}%
}\\[3\PTBunit]% }\\[3\vUnit]%
\includegraphics[width=\linewidth,height=20\PTBunit]% \includegraphics[width=\linewidth,height=20\vUnit]%
{PTB-dividing-bar.png} {PTB-dividing-bar.png}
\end{minipage} \end{minipage}
}% }%
...@@ -46,12 +46,12 @@ ...@@ -46,12 +46,12 @@
\else% normal page \else% normal page
\leavevmode \leavevmode
\hskip\beamer@leftmargin \hskip\beamer@leftmargin
\raisebox{-40\PTBunit}[0pt][0pt]{% \raisebox{-40\vUnit}[0pt][0pt]{%
\begin{minipage}[t]{\PTB@textwidth}% \begin{minipage}[t]{\PTB@textwidth}%
\rule{\linewidth}{0pt}\\ \rule{\linewidth}{0pt}\\
\color{PTBblue}% \color{PTBblue}%
\PTB@header@components\\[3\PTBunit]% normal or reverse \PTB@header@components\\[3\vUnit]% normal or reverse
\includegraphics[width=\linewidth,height=20\PTBunit]% \includegraphics[width=\linewidth,height=20\vUnit]%
{PTB-dividing-bar.png}% {PTB-dividing-bar.png}%
\end{minipage}} \end{minipage}}
\vskip0pt % \vskip0pt %
...@@ -62,14 +62,14 @@ ...@@ -62,14 +62,14 @@
\if@PTB@finalpage% special final page \if@PTB@finalpage% special final page
\global\@PTB@finalpagefalse% right place here? \global\@PTB@finalpagefalse% right place here?
\begin{picture}(0,0)(-\beamer@leftmargin,0)% \begin{picture}(0,0)(-\beamer@leftmargin,0)%
\unitlength=\PTBunit \unitlength=\vUnit
\put(0,61){% \put(0,61){%
\color{PTBblue}% \color{PTBblue}%
\includegraphics[width=290\PTBunit]{PTB-logo-C.mps}% \includegraphics[width=290\vUnit]{PTB-logo-C.mps}%
\hspace{14\unitlength}% \hspace{14\unitlength}%
\begin{varwidth}[b]{\PTB@textwidth}% \begin{varwidth}[b]{\PTB@textwidth}%
\normalcolor\bfseries \normalcolor\bfseries
\fontsize{37\PTBunit}{44\PTBunit}\selectfont \fontsize{37\vUnit}{44\vUnit}\selectfont
Physikalisch-Technische Bundesanstalt \\ Physikalisch-Technische Bundesanstalt \\
\Ifstr{\PTB@location}{BS}{% \Ifstr{\PTB@location}{BS}{%
Braunschweig \\ Braunschweig \\
...@@ -99,13 +99,13 @@ ...@@ -99,13 +99,13 @@
\else \else
\ifnum \insertpagenumber = 1 % first page (title page) \ifnum \insertpagenumber = 1 % first page (title page)
\begin{picture}(0,0)(-\beamer@leftmargin,0)% \begin{picture}(0,0)(-\beamer@leftmargin,0)%
\unitlength=\PTBunit \unitlength=\vUnit
\color{PTBblue}% \color{PTBblue}%
\put(0,52){% \put(0,52){%
\begin{minipage}[b]{\PTB@textwidth}% \begin{minipage}[b]{\PTB@textwidth}%
\mbox{}\hfill \mbox{}\hfill
\includegraphics[width=281\PTBunit]{PTB-logo-B.mps}\\[8\PTBunit]% \includegraphics[width=281\vUnit]{PTB-logo-B.mps}\\[8\vUnit]%
\includegraphics[width=\linewidth,height=20\PTBunit]% \includegraphics[width=\linewidth,height=20\vUnit]%
{PTB-dividing-bar.png} {PTB-dividing-bar.png}
\end{minipage} \end{minipage}
} }
...@@ -113,11 +113,11 @@ ...@@ -113,11 +113,11 @@
\else% normal page \else% normal page
\leavevmode \leavevmode
\hskip\beamer@leftmargin \hskip\beamer@leftmargin
\raisebox{55\PTBunit}[0pt][0pt]{\begin{minipage}[t]{\PTB@textwidth} \raisebox{55\vUnit}[0pt][0pt]{\begin{minipage}[t]{\PTB@textwidth}
\includegraphics[width=\textwidth,height=20\PTBunit]% \includegraphics[width=\textwidth,height=20\vUnit]%
{PTB-dividing-bar.png}\\[-10\PTBunit] {PTB-dividing-bar.png}\\[-10\vUnit]
\bfseries\normalcolor \bfseries\normalcolor
\fontsize{18.91\PTBunit}{22.69\PTBunit}\selectfont \fontsize{18.91\vUnit}{22.69\vUnit}\selectfont
Physikalisch-Technische Bundesanstalt\,~\raisebox{.15ex}[0pt][0pt]% Physikalisch-Technische Bundesanstalt\,~\raisebox{.15ex}[0pt][0pt]%
{\textcolor{PTBblue}{\rule{1ex}{1ex}}}\,~Braunschweig und Berlin \hfill {\textcolor{PTBblue}{\rule{1ex}{1ex}}}\,~Braunschweig und Berlin \hfill
\mdseries \translate{NMI} \\[.5ex] \mdseries \translate{NMI} \\[.5ex]
......
...@@ -8,14 +8,14 @@ ...@@ -8,14 +8,14 @@
\RequirePackage{varwidth,pict2e,relsize} \RequirePackage{varwidth,pict2e,relsize}
\renewcommand*\RSpercentTolerance{0}% exact values by \relscale and the like. \renewcommand*\RSpercentTolerance{0}% exact values by \relscale and the like.
\newlength\PTBunit \newlength\vUnit
\newlength\PTB@textwidth \newlength\PTB@textwidth
\setbeamersize{text margin left=0.039\paperheight,% \setbeamersize{text margin left=0.039\paperheight,%
text margin right=0.039\paperheight} text margin right=0.039\paperheight}
% sometimes \textwidth has the wrong value % sometimes \textwidth has the wrong value
\PTB@textwidth=\dimexpr\paperwidth-\beamer@leftmargin-\beamer@rightmargin% \PTB@textwidth=\dimexpr\paperwidth-\beamer@leftmargin-\beamer@rightmargin%
\PTBunit=.001\paperheight% For normalization to 1000 height units \vUnit=.001\paperheight% For normalization to 1000 height units
\providecommand\PTB@tempa{} \providecommand\PTB@tempa{}
\providecommand\PTB@tempb{} \providecommand\PTB@tempb{}
...@@ -64,10 +64,10 @@ ...@@ -64,10 +64,10 @@
\newcommand\PTB@frametitle{} \newcommand\PTB@frametitle{}
\newcommand\PTB@normal@header{% \newcommand\PTB@normal@header{%
\mbox{}\hfill\includegraphics[height=62\PTBunit]{PTB-logo-A.mps}% \mbox{}\hfill\includegraphics[height=62\vUnit]{PTB-logo-A.mps}%
} }
\newcommand\PTB@revers@header{% \newcommand\PTB@revers@header{%
\includegraphics[height=62\PTBunit]{PTB-logo-A.mps}\hfill\mbox{}% \includegraphics[height=62\vUnit]{PTB-logo-A.mps}\hfill\mbox{}%
} }
\newcommand\PTB@revers@footer{% \newcommand\PTB@revers@footer{%
\rlap{\insertshortdate } \hfill% left, wd=0 \rlap{\insertshortdate } \hfill% left, wd=0
......
No preview for this file type
...@@ -125,21 +125,23 @@ ...@@ -125,21 +125,23 @@
\begin{columns}[T]% \begin{columns}[T]%
\begin{column}{.5\dimexpr\textwidth-\columnsep} \begin{column}{.5\dimexpr\textwidth-\columnsep}
\selectlanguage{ngerman} \selectlanguage{ngerman}
\begin{block}{Unterstützung von »siunitx« (\translate{examples})} \begin{block}{Unterstützung von »siunitx« (\translate{examples})}
\verb!\num{3.1415926535}!$ \Longrightarrow \num{3.1415926535}$ \\[.5ex] \begin{itemize}
\verb!\SI{7.5E-5}{\pascal\cubic\metre! \\ \item \verb!\num{3.1415926535}!$ \Longrightarrow \num{3.1415926535}$ \\[.5ex]
\quad\verb!\per\second}! \item \verb!\SI{7.5E-5}! \verb!{\pascal\cubic\metre\per\second}!
$\Longrightarrow \SI{7.5E-5}{\pascal\cubic\metre\per\second}$ \\[.5ex] $\Longrightarrow \SI{7.5E-5}{\pascal\cubic\metre\per\second}$ \\[.5ex]
\end{itemize}
\end{block} \end{block}
\end{column}% \end{column}%
\hfill \hfill
\begin{column}{.5\dimexpr\textwidth-\columnsep} \begin{column}{.5\dimexpr\textwidth-\columnsep}
\selectlanguage{english} \itshape \selectlanguage{english} \itshape
\begin{block}{Support of »siunitx« (\translate{examples})} \begin{block}{Support of »siunitx« (\translate{examples})}
\verb!\num{3.1415926535}!$ \Longrightarrow \num{3.1415926535}$ \\[.5ex] \begin{itemize}
\verb!\SI{7.5E-5}{\pascal\cubic\metre! \\ \item \verb!\num{3.1415926535}!$ \Longrightarrow \num{3.1415926535}$ \\[.5ex]
\quad\verb!\per\second}! \item \verb!\SI{7.5E-5}! \verb!{\pascal\cubic\metre\per\second}!
$\Longrightarrow \SI{7.5E-5}{\pascal\cubic\metre\per\second}$ \\[.5ex] $\Longrightarrow \SI{7.5E-5}{\pascal\cubic\metre\per\second}$ \\[.5ex]
\end{itemize}
\end{block} \end{block}
\end{column}% \end{column}%
\end{columns} \end{columns}
......
...@@ -30,8 +30,8 @@ Rolf~Niepraschk\inst{3} \and Karl~Jousten\inst{4}} ...@@ -30,8 +30,8 @@ Rolf~Niepraschk\inst{3} \and Karl~Jousten\inst{4}}
%\vfill %\vfill
\relscale{0.7}% Adjust font size \relscale{0.7}% Adjust font size
\sisetup{per-mode = symbol-or-fraction}% "/" instead of "^{-1}" \sisetup{per-mode = symbol-or-fraction}% "/" instead of "^{-1}"
\begin{columns}[T]% align columns \begin{columns}[T]% \vUnit = \paperheight / 1000
\begin{column}{.65\paperheight} \begin{column}{650\vUnit}
\raggedright \raggedright
Pressures below \SI{E5}{\pascal}: calibration of membrane,\\ Pressures below \SI{E5}{\pascal}: calibration of membrane,\\
spinning rotor and ionization vacuum gauges \\[2ex] spinning rotor and ionization vacuum gauges \\[2ex]
...@@ -39,7 +39,7 @@ Rolf~Niepraschk\inst{3} \and Karl~Jousten\inst{4}} ...@@ -39,7 +39,7 @@ Rolf~Niepraschk\inst{3} \and Karl~Jousten\inst{4}}
\includegraphics[width=.65\linewidth]{Abb1.png} \includegraphics[width=.65\linewidth]{Abb1.png}
\end{column}% \end{column}%
\hfill \hfill
\begin{column}{.4375\paperheight} \begin{column}{438\vUnit}
\raggedright \raggedright
Gas flows below \SI{E-5}{\pascal\cubic\metre\per\second}:\\ Gas flows below \SI{E-5}{\pascal\cubic\metre\per\second}:\\
calibration of reference leaks\\[2ex] calibration of reference leaks\\[2ex]
...@@ -49,27 +49,27 @@ Rolf~Niepraschk\inst{3} \and Karl~Jousten\inst{4}} ...@@ -49,27 +49,27 @@ Rolf~Niepraschk\inst{3} \and Karl~Jousten\inst{4}}
\end{column} \end{column}
\end{columns} \end{columns}
\vspace{3.5ex} \vspace{50\vUnit}
\begin{columns}[b]% align columns \begin{columns}[T]% \vUnit = \paperheight / 1000
\begin{column}{.305\paperheight} \begin{column}{305\vUnit}
\raggedright \raggedright
Continuous Expansion\\ Continuous Expansion\\
\includegraphics[width=\linewidth]{Abb2.png} \includegraphics[width=\linewidth]{Abb2.png}
\end{column}% \end{column}%
\begin{column}{.55\paperheight} \begin{column}{550\vUnit}
\hspace{.475\linewidth}% if necessary, horizontal displacement \hspace{.475\linewidth}% horizontal shift
% zero-height/zero-width graphic % zero-height/zero-width graphic
\makebox[0pt][c]{\raisebox{0\paperheight}% if necessary, vertical displacement \makebox[0pt][c]{\raisebox{-305\vUnit}% vertical shift
[0pt][0pt]{\includegraphics[width=\linewidth]{Abb5.png}}} [0pt][0pt]{\includegraphics[width=\linewidth]{Abb5.png}}}
\end{column}% \end{column}%
\begin{column}{0.325\paperheight} \begin{column}{325\vUnit}
\raggedleft \raggedleft
\makebox[0pt][r]{Test leak against atmosphere}\\% can stick out to any left \makebox[0pt][r]{Test leak against atmosphere}\\% can stick out to any left
\includegraphics[width=\linewidth]{Abb4.png} \includegraphics[width=\linewidth]{Abb4.png}
\end{column}% \end{column}%
\end{columns} \end{columns}
\vspace{3ex} \vspace{66\vUnit}
\end{frame} \end{frame}
\begin{frame}[allowframebreaks] \begin{frame}[allowframebreaks]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment