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

\PTBunit --> \vUnit

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