From 7da8a8ed4967c56eed95ae9f2f2816febb8ba21a Mon Sep 17 00:00:00 2001
From: niepra01 <rolf.niepraschk@ptb.de>
Date: Tue, 17 Mar 2015 16:26:29 +0100
Subject: [PATCH] =?UTF-8?q?Erste=20lauff=C3=A4hige=20Version=20(neues=20La?=
 =?UTF-8?q?yout)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ptbposter/ptbposter-test-hoch.tex |  97 +++++++++++++++++
 ptbposter/ptbposter.cls           | 174 ++++++++++++++++++++++++++++++
 2 files changed, 271 insertions(+)

diff --git a/ptbposter/ptbposter-test-hoch.tex b/ptbposter/ptbposter-test-hoch.tex
index e69de29..b6013d1 100644
--- a/ptbposter/ptbposter-test-hoch.tex
+++ b/ptbposter/ptbposter-test-hoch.tex
@@ -0,0 +1,97 @@
+
+\documentclass[english,sanserif]{ptbposter}
+%\documentclass[ngerman,sanserif]{ptbposter}
+
+\author{Ute Becker}
+\phone{+49-30-3481-7467}
+\fax{+49-30-3481-7503}
+\email{Ute.Becker@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{Das Liebesleben der Maikäfer}
+
+\begin{document}
+
+\begin{multicols}{2}
+\section{Introduction}
+
+Regarding to the Kyoto Protocol, the European Union and its members have
+committed themselves to reduce the emissions of refrigerant greenhouse gases,
+like R-134a, during the period 2008--2012. To control the emission of
+refrigerant equipment, it is necessary to check the accuracy of leak detectors
+and room controllers. In the European standard EN 14624 it is pointed out, only
+to use calibrated leaks (called sniffer test leaks) based on a primary
+standard.
+
+\begin{itemize}
+ \item The range of the PTB primary standard is from $4\cdot10^{-11}$ mol/s to
+ $4\cdot10^{-9}$ mol/s which is the most needed range in industry of around 1 g
+ loss per year of the cooling agent R134a.
+
+%%%\includegraphics[width=0.5\linewidth]{TL2}
+%%%\includegraphics[width=0.495\linewidth]{skizze}
+
+The leakrate $q_{pv}$ is calculated by $q_{pv}= \frac{\Delta V}{\Delta t} \cdot
+p_{atm}$ and the molar flow follows from $q_{\nu} = \frac{q_{pV}}{R\cdot
+T_{wv}}$.
+\end{itemize}
+\section{Measurements}
+There are two types of leaks, capillary and permeation leaks. Both kinds of
+leaks contain the gas R-134a which flow to atmospheric pressure. With the
+following measurements the influence of the fill pressure, the atmospheric
+pressure on the leak rate and stability is examined.
+\begin{itemize}
+ \item The capillary leak is equipped with a pressure reducer and generates a
+ gas flow of $q_{\nu}=8\cdot10^{-3}$\,Pa\,l/s. The measurements did not show a
+ significant dependence on the fill pressure and the atmospheric pressure,
+ however the repeatability is $\pm\,3.4\,\%$.
+
+%%%\includegraphics[width=0.8\columnwidth]{qvonpatmcap}
+
+\item The permeation leak is equipped with a Teflon membrane and generates a
+gas flow of $q_{\nu}=1\cdot10^{-3}$\,Pa\,l/s. In the following graph the mean
+leak rate is shown vs. different fill pressures. The measurements show a
+significant dependence on the fill pressure $p_{fill}$ and the atmospheric
+pressure $p_{atm}$. The slope of the linear least square fit determines the
+atmospheric coefficients $(\Delta q_{\nu}/q_{\nu}(1010\,hPa))/\Delta p_{atm}$ of
+the flow rates. The uncertainty bars show the standard deviation of repeat
+measurements.The permeation leak is equipped with a Teflon membrane and
+generates a gas flow of $q_{\nu}=1\cdot10^{-3}$ Pa l/s. In the following graph
+the mean leak rate is shown vs. different fill pressures. The measurements show
+a significant dependence on the fill pressure $p_{fill}$ and the atmospheric
+pressure $p_{atm}$. The slope of the linear least square fit determines the
+atmospheric coefficients $(\Delta q_{\nu}/q_{\nu}(1010\,hPa))/\Delta p_{atm}$
+of the flow rates. The uncertainty bars show the standard deviation of repeat
+measurements.
+
+
+%%%\includegraphics[width=0.8\columnwidth]{qvonpatmper}
+
+In the next step, the data were normalized for a gas flow $q_{\nu}$ at an
+atmospheric pressure of 1010\,hPa. Thus the fill pressure coefficients $(\Delta
+q_{\nu}/q_{\nu}(1bar))/\Delta p_{fill}$ could be calculated.
+
+%%%\includegraphics[width=0.8\columnwidth]{qvonpfill}
+
+\end{itemize}
+\section{Results}
+\begin{center}
+ \begin{tabular}{@{}lll@{}}
+    \toprule
+      & capillary leak & permeation leak \\
+    \midrule
+ $(\Delta q_{\nu}/q_{\nu}(1010\,hPa))/\Delta p_{atm}$ & - & $ \leq -0.0063/hPa $ \\
+ $(\Delta q_{\nu}/q_{\nu}(1bar))/\Delta p_{fill}$ & - & $\leq 0.46/bar$\\
+  repeatability & $\pm 3.4 \%$ & $\pm\,0.7\,\% \cdots \pm\,1.6\,\%$ \\
+    \bottomrule
+    \end{tabular}
+\end{center}
+So far, no temperature dependence could be measured due to consistencies
+probably caused by experimental shortcoming.
+\end{multicols}
+
+\end{document}
diff --git a/ptbposter/ptbposter.cls b/ptbposter/ptbposter.cls
index e69de29..4109f1c 100644
--- a/ptbposter/ptbposter.cls
+++ b/ptbposter/ptbposter.cls
@@ -0,0 +1,174 @@
+% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
+
+\errorcontextlines=100 %
+
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesClass{ptbposter}
+    [2015/03/16 v0.2a PTB-Poster-Klasse (RN)]
+
+\PassOptionsToPackage{paper=a0paper}{geometry}
+
+\newdimen\PTB@topmargin
+\newdimen\PTB@leftmargin
+\newdimen\PTB@default@fsize \setlength\PTB@default@fsize{41pt}
+\newdimen\PTB@textsep \setlength\PTB@textsep{.5\PTB@default@fsize}
+
+\newcommand\PTB@tempa{}
+\newcommand\PTB@tempb{}
+\newcommand\PTB@tempc{}
+
+\DeclareOption{portrait}{%
+  \setlength\PTB@leftmargin{0.5\dimexpr 841mm-780mm}
+  \setlength\PTB@topmargin{228mm}
+  \edef\PTB@tempa{\noexpand\PassOptionsToPackage{portrait,
+    textwidth=\the\dimexpr780mm-2\PTB@textsep,
+    textheight=\the\dimexpr880mm-2\PTB@textsep,hcentering,
+    top=\the\dimexpr\PTB@topmargin-\PTB@textsep}{geometry}}
+  \PTB@tempa
+}
+\DeclareOption{landscape}{% TODO: überarbeiten
+  \setlength\PTB@leftmargin{0.5\dimexpr 1189mm-1130mm}
+  \setlength\PTB@topmargin{228mm}% ???
+  \PassOptionsToPackage{landscape,textwidth=1130mm,textheight=550mm,
+    left=\PTB@leftmargin,top=\PTB@topmargin}{geometry}
+}
+
+\DeclareOption{sanserif}{% TODO!
+  %\AtBeginDocument{\renewcommand\familydefault{\sfdefault}}
+}
+\DeclareOption{serif}{% TODO!
+  %\AtBeginDocument{\renewcommand\familydefault{\rmdefault}}
+}
+
+\PassOptionsToClass{fontsize=\the\PTB@default@fsize}{scrartcl}
+
+\ExecuteOptions{portrait,ngerman,serif}
+\ProcessOptions\relax
+\LoadClass{scrartcl}
+
+\RequirePackage[
+,columnsep=3em
+]{geometry}
+
+\RequirePackage[svgnames]{xcolor}
+\RequirePackage[newcommands,newparameters]{ragged2e}% ???
+\RequirePackage{multicol,graphicx}
+\RequirePackage[
+,factor=1500
+,protrusion=true
+,expansion=true
+,verbose=true
+,final=true
+,letterspace=100
+,babel=true
+]{microtype}
+
+% TODO: Optionen serif/sanserif
+\RequirePackage[T1]{fontenc}
+\RequirePackage[utf8]{inputenc}
+\RequirePackage{textcomp}
+\RequirePackage{lmodern}
+\RequirePackage{tgpagella,qpxmath}
+\RequirePackage{tgheros}
+
+\RequirePackage{babel}
+
+\def\reserved@a{%
+  \shorthandon{"}%
+    \defineshorthand{"`}{\guillemotright}%
+    \defineshorthand{"'}{\guillemotleft}%
+  \shorthandoff{"}%
+}
+
+\iflanguage{ngerman}{\reserved@a}{%
+  \iflanguage{german}{\reserved@a}{}%
+}
+
+\newcommand\PTB@qrcode{}
+\newcommand\QRcode[1]{\gdef\PTB@qrcode{#1}}
+\newcommand*\PTB@location{38116~Braunschweig}
+\newcommand*\location[1]{\gdef\PTB@location{#1}}
+\newcommand*\PTB@street{Bundesallee~100}
+\newcommand*\street[1]{\gdef\PTB@street{#1}}
+\newcommand*\PTB@workingGroup{Arbeitsgruppe}
+\newcommand*\workingGroup[1]{\gdef\PTB@workingGroup{#1}}
+\newcommand*\PTB@department{Fachbereich}
+\newcommand*\department[1]{\gdef\PTB@department{#1}}
+\newcommand*\PTB@phone{}
+\newcommand*\phone[1]{\gdef\PTB@phone{#1}}
+\newcommand*\PTB@email{}
+\newcommand*\email[1]{\gdef\PTB@email{#1}}
+\newcommand*\PTB@fax{}
+\newcommand*\fax[1]{\gdef\PTB@fax{#1}}
+
+\definecolor{PTBcolor}{rgb}{0,0.67451,0.87451}
+
+\RequirePackage[texcoord]{eso-pic}
+\RequirePackage{pict2e,picture,ifdraft,qrcode,booktabs}
+
+\AddToShipoutPictureBG{%  TODO: Evtl. besser auf untere Blattkante beziehen.
+  \put(\PTB@leftmargin,-95.4mm){\includegraphics[width=477mm]{ptbposter-logo.pdf}}%
+  % TODO: Besser so \DeclareFixedFont{\Big}{\encodingdefault}{\sfdefault}{m}{n}{10}
+  \put(\PTB@leftmargin,-160mm){\sffamily\Huge\@title}%
+  \put(\PTB@leftmargin,-190mm){\sffamily\large\@author}%
+  \put(\PTB@leftmargin,-105mm){%
+    \linethickness{2mm}\color{PTBcolor}\line(1,0){\dimexpr\paperwidth-2\PTB@leftmargin}}
+  \linethickness{2mm}
+  \AtTextLowerLeft{%
+    \color{PTBcolor}%
+    \put(-\PTB@textsep,-\PTB@textsep){\framebox(\dimexpr\textwidth+2\PTB@textsep,
+      \dimexpr\textheight+2\PTB@textsep){}}
+  }%
+  \linethickness{.5mm}%
+  \put(\PTB@leftmargin-.5\@wholewidth,-1144mm){%
+    \raisebox{19mm}{\qrcode[height=47mm,tight]{\PTB@qrcode}}%
+    \color{PTBcolor}%
+    \hspace{2mm}\raisebox{-.5mm}{\rule{47mm}{47mm}}%
+    \hspace{2mm}\framebox(46mm,46mm){}%
+    %\circle*{1mm}%
+    \color{black}%
+    \hspace{2mm}\raisebox{41mm}{{\parbox[t][47mm]{155mm}{%
+      \tiny\sffamily
+      Physikalisch-Technische Bundesanstalt \\
+      Braunschweig und Berlin \par\vspace{1em}
+      \textbf{\@author} \\
+      \PTB@department \\
+      \PTB@workingGroup
+      %\rule{\linewidth}{5mm}%
+    }}}%
+    \hspace{12mm}\raisebox{41mm}{{\parbox[t][47mm]{125mm}{%
+      \tiny\sffamily
+      \begin{tabular}[t]{@{}ll@{}}
+        \ifx\PTB@street\@empty\else\PTB@street\\ \fi
+        \ifx\PTB@location\@empty\else\PTB@location\\ \fi
+        \ifx\PTB@phone\@empty\else Telefon:&\PTB@phone\\ \fi
+        \ifx\PTB@fax\@empty\else Fax:&\PTB@fax\\ \fi
+        \ifx\PTB@email\@empty\else E-Mail:&\PTB@email\\ \fi
+        www.ptb.de
+      \end{tabular}%
+      %\rule{\linewidth}{5mm}%
+    }}}%
+    \hspace{12mm}\raisebox{41mm}{{\parbox[t][47mm]{175mm}{%
+      \tiny\sffamily{}
+      % TODO: Siehe Lösung für abstracts
+      %%%$^{1}$Physikalisch-Technische Bundesanstalt \\
+      %%%$^{2}$Muster Universität Forschungsstadt
+      %\rule{\linewidth}{5mm}%
+    }}}%
+  }
+}
+
+%% Werte auf 41pt bezogen
+\edef\large{\noexpand\@setfontsize\noexpand\large
+  {\the\dimexpr1.3\PTB@default@fsize}{\the\dimexpr1.56\PTB@default@fsize}}
+%% vorher: 1.2 * \PTB@default@fsize / 1.2 * 1.2 * \PTB@default@fsize
+\edef\Huge{\noexpand\@setfontsize\noexpand\Huge
+  {\the\dimexpr2.6\PTB@default@fsize}{\the\dimexpr3.12\PTB@default@fsize}}
+%% vorher: 2.49 * \PTB@default@fsize / 2.49 * 1.2 * \PTB@default@fsize
+
+\setcounter{secnumdepth}{-2}
+\renewcommand*\maketitle[1][1]{}
+\renewcommand*\tableofcontents{}
+\pagestyle{empty}
+
+\endinput
-- 
GitLab