Skip to content
Snippets Groups Projects
ks-common.clo 9.25 KiB
Newer Older
Rolf Niepraschk's avatar
Rolf Niepraschk committed

\ProvidesFile{ks-common.clo}[2019/03/07 v1.0a class option (RN/PTB)]

%%% Definitionen, die ab 2019 gültig sind.

\newcommand*\ks@printFirstPage{%
  \unitlength=1bp %
  \AtPageLowerLeft{%
    %------------- Kopf ------------
Rolf Niepraschk's avatar
Rolf Niepraschk committed
    \put(68,763){\includegraphics[width=99bp]{PTB-Logo.pdf}}
    \put(287,679){\ks@nationalEmblem}
Rolf Niepraschk's avatar
Rolf Niepraschk committed
    \put(67,750){\footnotesize 
      \resizebox{157bp}{!}{Physikalisch-Technische Bundesanstalt}}
    \put(67,739){\footnotesize 
      \resizebox{117bp}{!}{Nationales Metrologieinstitut}}
    \put(252,655){\normalfont\huge Kalibrierschein}
    \put(266,637){\normalfont\itshape\normalsize Calibration Certificate}
    %-----------Mittelteil ---------
    \ks@put@main
    %------------- Fuss ------------
    \normalfont\scriptsize
    \put(68,86){\parbox[t]{\textwidth}{%
      Kalibrierscheine ohne Unterschrift und Siegel haben keine G\"ultigkeit.
      Dieser Kalibrierschein darf nur unver\"andert weiterverbreitet\\
      werden. Ausz\"uge bed\"urfen der Genehmigung der
      Physikalisch-Technischen Bundesanstalt. 
      Die dargestellten Ergebnisse beziehen\\
      sich nur auf die kalibrierten Gegenstände.\\[.2ex]
      \normalfont\itshape
      Calibration certificates without signature and seal are not valid.
      This calibration certificate may not be reproduced other than in
      full. \\ Extracts may be taken only with permission of the
      Physikalisch-Technische Bundesanstalt. 
      The presented results relate only to\\
      the items calibrated.
    }}
  }
}

\newcommand\ks@put@main{%
  \normalfont\normalsize
  \@tempdima=68bp %
  \@tempdimb=660bp %
  \@tempdimd=207bp %
  %--------------------------------
  \advance\@tempdimb-60bp %
  \@tempdimc=\@tempdimb \advance\@tempdimc-10bp %
  \put(\@tempdima,\@tempdimb){Gegenstand:}
  \put(\@tempdimd,\@tempdimb){\ks@object}
  \put(\@tempdima,\@tempdimc){\scriptsize\itshape Object:}
  %--------------------------------
  \advance\@tempdimb-51bp %
  \@tempdimc=\@tempdimb \advance\@tempdimc-10bp %
  \put(\@tempdima,\@tempdimb){Hersteller:}
  \put(\@tempdimd,\@tempdimb){\ks@printDevicesTable{348bp}{37bp}{33bp}}
  \put(\@tempdima,\@tempdimc){\scriptsize\itshape Manufacturer:}
  %--------------------------------
  \advance\@tempdimb-51bp %
  \@tempdimc=\@tempdimb \advance\@tempdimc-10bp %
  \put(\@tempdima,\@tempdimb){Typ:}
  \put(\@tempdima,\@tempdimc){\scriptsize\itshape Type:}
  %--------------------------------
  \@tempdimb=452bp %
  %--------------------------------
  \@tempdimc=\@tempdimb \advance\@tempdimc-10bp %
  \put(\@tempdima,\@tempdimb){Kennnummer:}
  \put(\@tempdima,\@tempdimc){\scriptsize\itshape Serial No.:}
  %--------------------------------
  \advance\@tempdimb-30bp %
  \@tempdimc=\@tempdimb \advance\@tempdimc-10bp %
  \put(\@tempdima,\@tempdimb){Auftraggeber:}
  \put(\@tempdimd,\@tempdimb){\ks@applicant@table}
  \put(\@tempdima,\@tempdimc){\scriptsize\itshape Applicant:}
  \@tempdimb=377bp %
  %--------------------------------
  \advance\@tempdimb-12bp %
  \@tempdimc=\@tempdimb \advance\@tempdimc-10bp %
  \put(\@tempdima,\@tempdimb){Anzahl der Seiten:}
  \put(\@tempdimd,\@tempdimb){\ztotpages}
  \put(\@tempdima,\@tempdimc){\scriptsize\itshape Number of pages:}
  %--------------------------------
  \advance\@tempdimb-30bp % 
  \@tempdimc=\@tempdimb \advance\@tempdimc-10bp %
  \put(\@tempdima,\@tempdimb){Gesch\"aftszeichen:}
  \put(\@tempdimd,\@tempdimb){\ks@refNo}
  \put(\@tempdima,\@tempdimc){\scriptsize\itshape Reference No.:}
  %--------------------------------
  \advance\@tempdimb-30bp %
  \@tempdimc=\@tempdimb \advance\@tempdimc-10bp %
  \put(\@tempdima,\@tempdimb){Kalibrierzeichen:}
  \put(\@tempdimd,\@tempdimb){\ks@calibMark}
  \put(\@tempdima,\@tempdimc){\scriptsize\itshape Calibration mark:}
  %--------------------------------
  \advance\@tempdimb-30bp %
  \@tempdimc=\@tempdimb \advance\@tempdimc-10bp %
  \put(\@tempdima,\@tempdimb){Ort der Kalibrierung:}
  \put(\@tempdimd,\@tempdimb){PTB~\ks@location}
  \put(\@tempdima,\@tempdimc){\scriptsize\itshape Location of calibration:}
  %--------------------------------
  \advance\@tempdimb-30bp %
  \@tempdimc=\@tempdimb \advance\@tempdimc-10bp %
  \put(\@tempdima,\@tempdimb){Datum der Kalibrierung:}
  \put(\@tempdimd,\@tempdimb){\ks@calibDate}
  \put(\@tempdima,\@tempdimc){\scriptsize\itshape Date of calibration:}
  %--------------------------------
  \@tempdime=\@tempdimd \advance\@tempdime185bp %
  \advance\@tempdimb-30bp %
  %%%\@tempdimb=204bp %
  \@tempdimc=\@tempdimb \advance\@tempdimc-10bp %
  \ks@first@signature
Rolf Niepraschk's avatar
Rolf Niepraschk committed
  \put(\@tempdimd,\@tempdimb){\ks@location, \ks@certificateDate}
  \put(\@tempdime,\@tempdimb){Im Auftrag}
  \put(\@tempdime,\@tempdimc){\scriptsize\itshape On behalf of PTB}
  \advance\@tempdimb-24bp %
  \@tempdimc=\@tempdimb \advance\@tempdimc-10bp %
  \put(\@tempdimd,\@tempdimb){Siegel}
  \put(\@tempdimd,\@tempdimc){\scriptsize\itshape Seal}
  %--------------------------------
  \advance\@tempdimb-40bp %
  \ks@first@signature@content
Rolf Niepraschk's avatar
Rolf Niepraschk committed
  \put(\@tempdime,\@tempdimb){\ks@examiner} 
  %--------------------------------
  \put(46bp,256bp){\rotatebox[origin=c]{90}{\tiny \ks@doc@style@code}}
}

\newcommand*\ks@head{%
  \begin{picture}(0,0)
    \unitlength=1bp %
    \put(-1,24){\parbox{\textwidth}{%
      \normalfont\small
      Seite~\thepage\ zum Kalibrierschein vom~\ks@certificateDate,
      Kalibrierzeichen:~\ks@calibMark \\
      \scriptsize\itshape
      Page~\thepage\ of the Calibration Certificate dated~\ks@certificateDate,
      calibration mark:~\ks@calibMark
    }}
  \end{picture}
}


\newcommand\ks@lastPage{%

  \begin{otherlanguage}{ngerman}

  \textbf{\Large Die Physikalisch-Technische Bundesanstalt} (PTB) in
  Braunschweig und Berlin ist das nationale Metrologieinstitut und die
  technische Oberbeh\"orde der Bundesrepublik Deutschland f\"ur das
  Messwesen. Die PTB geh\"ort zum Gesch\"aftsbereich des Bundesministeriums
  f\"ur Wirtschaft und Energie. Sie erf\"ullt die Anforderungen an Kalibrier-
  und Pr\"uflaboratorien auf der Grundlage der DIN~EN ISO/IEC~17025.

  Zentrale Aufgabe der PTB ist es, die gesetzlichen Einheiten in
  \"Ubereinstimmung mit dem Internationalen Einheitensystem (SI) darzustellen,
  zu bewahren und weiterzugeben. Die PTB steht damit an oberster Stelle der
  metrologischen Hierarchie in Deutschland. Die Kalibrierscheine der PTB
  dokumentieren eine auf nationale Normale r\"uckgef\"uhrte Kalibrierung.

  Dieser Ergebnisbericht ist in \"Ubereinstimmung mit den Kalibrier- und
  Messm\"oglichkeiten (CMCs), wie sie im Anhang~C des gegenseitigen
  Abkommens (MRA) des Internationalen Komitees f\"ur Ma\ss e und
  Gewichte enthalten sind. Im Rahmen des MRA wird die G\"ultigkeit der
  Ergebnisberichte von allen teilnehmenden Instituten f\"ur die im
  Anhang~C spezifizierten Messgr\"o\ss en, Messbereiche und
  Messunsicherheiten gegenseitig anerkannt (n\"ahere Informationen unter
  http://www.bipm.org).
  
  Diese Aussage und das CIPM-MRA-Logo beziehen sich nur auf die Messergebnisse 
  in diesem Kalibrierschein.

  \end{otherlanguage}

  \begingroup
    \vspace{1.6\baselineskip}
    \centering
    \includegraphics[width=68bp]{CIPM-MRA.png}\par
    \vspace{1.6\baselineskip}
  \endgroup

  \itshape

  \begin{otherlanguage}{english}

  \textbf{\Large The Physikalisch-Technische Bundesanstalt} (PTB) in
  Braunschweig and Berlin is the National Metrology Institute and the
  supreme technical authority of the Federal Republic of Germany for metrology.
  The PTB comes under the auspices of the Federal Ministry of Economics and
  Energy. It meets the requirements for calibration and testing laboratories as
  defined in DIN~EN ISO/IEC 17025.
  
  The central task of PTB is to realize, to maintain and to disseminate the
  legal units in compliance with the International System of Units (SI). PTB
  thus is at the top of the metrological hierarchy in Germany. The calibration
  certificates issued by PTB document a calibration traceable to national
  measurement standards.
  
  This certificate is consistent with the Calibration and Measurement
  Capabilities (CMCs) that are included in Appendix~C of the Mutual
  Recognition Arrangement (MRA) drawn up by the International Committee for
  Weights and Measures (CIPM). Under the MRA, all participating institutes
  recognize the validity of each other’s calibration and measurement
  certificates for the quantities, ranges and measurement uncertainties
  specified in Appendix~C (for details, see http://www.bipm.org).
 
  The CIPM MRA Logo and this statement attest only to the measurement component 
  of the certificate.
 

  \end{otherlanguage}

  \vfill
  
  \normalfont
  
  \begin{tabular}{@{}p{.5\textwidth}@{\hspace{36bp}}p{.5\textwidth}@{}}
  \multicolumn{2}{@{}l@{}}{ \small Physikalisch-Technische Bundesanstalt } 
  \tabularnewline[.3ex]
  \parbox[b]{\linewidth}{
    \scriptsize Bundesallee 100 \\ 
    38116~Braunschweig \\
    DEUTSCHLAND
  } &
  \parbox[b]{\linewidth}{
    \scriptsize Abbestra\ss e 2--12 \\
    10587~Berlin \\
    DEUTSCHLAND
  } 
  \end{tabular}
  
}

\newcommand*\ks@foot{%
  \begin{picture}(0,0)
    \unitlength=1bp %
    \normalfont
    %%\put(0,-25){\includegraphics[width=304bp]{ks-footline.png}}%
    \put(-1,-55){\normalfont\footnotesize
      \resizebox{303bp}{!}{%
        \textcolor{PTBcolor}{PTB}~|~Physikalisch-Technische 
        Bundesanstalt~|~Nationales Metrologieinstitut}}
  \end{picture}
}

\endinput
%%
%% End of file `ks-common.clo'.