diff --git a/kalibrierschein/IK-2015.clo b/kalibrierschein/IK-2015.clo index cfcda94e773c84e2696119ba93874ca17b4135ee..400c3d2e8957517ce06a4d1f96c9f403d0d15611 100644 --- a/kalibrierschein/IK-2015.clo +++ b/kalibrierschein/IK-2015.clo @@ -24,7 +24,7 @@ footskip=0bp, %------------- Kopf ------------ %%%\put(69,783){\parbox{\textwidth}{\huge\bfseries\ks@PTB}} %%%\put(69,760){\parbox{\textwidth}{\large\bfseries\ks@BSuB}} - \put(68,754){\includegraphics[width=308bp]{PTB-logo-KS-2015.pdf}} + \put(68,754){\includegraphics[width=308bp]{PTB-logo-2015.pdf}} %%%\put(287,680){\includegraphics[width=62bp]{Adler.pdf}} \put(252,640){\normalfont\huge Kalibrierschein} \put(260,622){\normalfont\itshape\large Calibration Certificate} @@ -135,7 +135,7 @@ footskip=0bp, \begin{picture}(0,0) \unitlength=1bp % %%%\put(-1,28){\parbox{\textwidth}{\normalfont\huge\bfseries\ks@PTB}} - \put(-1,-5){\includegraphics[width=308bp]{PTB-logo-KS-2015.pdf}} + \put(-1,-5){\includegraphics[width=308bp]{PTB-logo-2015.pdf}} \put(-1,-35){\parbox{\textwidth}{% \normalfont\small Seite~\thepage\ zum Kalibrierschein vom~\ks@certificateDate, diff --git a/kalibrierschein/KK-2015.clo b/kalibrierschein/KK-2015.clo index 43bf454c2f204b30b77f933f2ab54fbaff41f99f..f4914f0b0447e8736a76160510b51e0fa123027e 100644 --- a/kalibrierschein/KK-2015.clo +++ b/kalibrierschein/KK-2015.clo @@ -24,7 +24,7 @@ footskip=0bp, %------------- Kopf ------------ %%%\put(69,783){\parbox{\textwidth}{\huge\bfseries\ks@PTB}} %%%\put(69,760){\parbox{\textwidth}{\large\bfseries\ks@BSuB}} - \put(68,754){\includegraphics[width=308bp]{PTB-logo-KS-2015.pdf}} + \put(68,754){\includegraphics[width=308bp]{PTB-logo-2015.pdf}} \put(287,680){\includegraphics[width=62bp]{Adler.pdf}} \put(252,640){\normalfont\huge Kalibrierschein} \put(260,622){\normalfont\itshape\large Calibration Certificate} @@ -135,7 +135,7 @@ footskip=0bp, \begin{picture}(0,0) \unitlength=1bp % %%%\put(-1,28){\parbox{\textwidth}{\normalfont\huge\bfseries\ks@PTB}} - \put(-1,-5){\includegraphics[width=308bp]{PTB-logo-KS-2015.pdf}} + \put(-1,-5){\includegraphics[width=308bp]{PTB-logo-2015.pdf}} \put(-1,-35){\parbox{\textwidth}{% \normalfont\small Seite~\thepage\ zum Kalibrierschein vom~\ks@certificateDate, diff --git a/kalibrierschein/PTB-logo-KS-2015.pdf b/ptbletter/PTB-logo-2015.pdf similarity index 100% rename from kalibrierschein/PTB-logo-KS-2015.pdf rename to ptbletter/PTB-logo-2015.pdf diff --git a/ptbletter/ptbletter-doc.pdf b/ptbletter/ptbletter-doc.pdf index ca15578d8636ddd92cc07c13a86711893bf50aac..44b886c185fc8ead025800b6c954e71c9981ce27 100644 Binary files a/ptbletter/ptbletter-doc.pdf and b/ptbletter/ptbletter-doc.pdf differ diff --git a/ptbletter/ptbletter-doc.tex b/ptbletter/ptbletter-doc.tex index 6aea2987939cfdfacb90ada11087945a19f908eb..45c898f60c85b58718c3fec37a9558e41c3a0201 100644 --- a/ptbletter/ptbletter-doc.tex +++ b/ptbletter/ptbletter-doc.tex @@ -4,6 +4,8 @@ ,twoside ,serif ,BLN +,head1 +,visualize ]{ptbletter} \yourref{4711-0815} @@ -52,6 +54,10 @@ Klassenoptionen: deutsche Rechtschreibung werden benutzt (Standard). \item \textbf{en}, \textbf{english}: Trennregeln für die englische Sprache werden benutzt. + \item \textbf{head0}, kein Kopf + \item \textbf{head1}, PTB-Kopf mit Logo (Standard) + \item \textbf{head2}, PTB-Kopf ohne Logo + \item \textbf{visualize}, Visualisierung interner Parameter (zu Debug-Zwecken) \end{itemize} \noindent Alle anderen Optionen werden an die intern benutzte Dokumentenklasse diff --git a/ptbletter/ptbletter.cls b/ptbletter/ptbletter.cls index e42700f78482649ee9638395ddf391fbb2adc176..e48754c9b43b61636b3f6eab680ec109390ed37e 100644 --- a/ptbletter/ptbletter.cls +++ b/ptbletter/ptbletter.cls @@ -16,7 +16,7 @@ \newif\ifptb@serif \ptb@seriftrue \newcommand*\ptb@lang{main=ngerman} -\newcount\ptb@head \ptb@head=2 +\newcount\ptb@head \ptb@head=1 % \newcommand*\ptb@tempa{} \newcommand*\ptb@tempb{} @@ -151,14 +151,17 @@ \addtokomafont{addressee}{\sffamily} \setkomafont{refname}{\sffamily\tiny} \setkomafont{refvalue}{\normalfont\footnotesize} - \setkomavar{firsthead}{% - \begin{minipage}[b]{\linewidth}% - \sffamily\bfseries\huge% - Physikalisch-Technische Bundesanstalt\\[3bp]% - %%%\large - Braunschweig und Berlin - \end{minipage}% + \ifcase\ptb@head + \or% 1 + \or% 2 + \begin{minipage}[b]{\linewidth}% + \sffamily\bfseries\huge% + Physikalisch-Technische Bundesanstalt\\[3bp]% + %%%\large + Braunschweig und Berlin + \end{minipage}% + \fi } \setkomavar{location}{%