From 95d1425c7af5548d1bf8b60571eb61fec4c1e28c Mon Sep 17 00:00:00 2001 From: niepra01 <rolf.niepraschk@ptb.de> Date: Thu, 30 Nov 2017 14:56:59 +0100 Subject: [PATCH] Positionen angepasst, Kopfzeile usw. --- ptbletter/ptbletter.cls | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/ptbletter/ptbletter.cls b/ptbletter/ptbletter.cls index 07435a1..06b0941 100644 --- a/ptbletter/ptbletter.cls +++ b/ptbletter/ptbletter.cls @@ -4,7 +4,7 @@ \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{ptbletter} - [2015/05/26 v0.1c PTB-Brief-Klasse (RN)] + [2017/11/30 v0.2a PTB-Brief-Klasse (RN)] \let\ptb@tempdima=\@ovxx \let\ptb@tempdimb=\@ovyy @@ -135,11 +135,15 @@ %\@setplength{refwidth}{40mm} \@setplength{refaftervskip}{\z@} +\@setplength{firstheadhpos}{72bp} +\@setplength{firstheadvpos}{50bp} +\@setplength{firstheadwidth}{469bp} + \@setplength{firstfoothpos}{72bp} \@setplength{firstfootvpos}{764bp} -\@setplength{firstheadwidth}{469bp} \@setplength{firstfootwidth}{\useplength{firstheadwidth}} + \footskip= 30bp % \@setplength{subjectaftervskip}{23bp} @@ -153,7 +157,18 @@ \setkomafont{refname}{\sffamily\tiny} \setkomafont{refvalue}{\normalfont\footnotesize} +\setkomavar{firsthead}{ + \sffamily + \begin{minipage}[b]{\linewidth}% + \sffamily\bfseries\huge + Physikalisch-Technische Bundesanstalt\\[3bp] + \large + Braunschweig und Berlin\\ + \end{minipage}% +} + \setkomavar{location}{% + \begingroup \extrarowheight=-1bp % \begin{tabular}% {@{}>{\usekomafont{refname}}l<{:}@{~\,}>{\usekomafont{refvalue}}l@{}} @@ -169,6 +184,7 @@ \multicolumn{2}{@{}l@{}}{} \\ \usekomavar*{date} & \usekomavar{date} \end{tabular} + \endgroup } \setkomavar{firstfoot}{% TODO: engl/dt -- GitLab