2

The separatorlines \trennlinien in g-grief2 class are not justified (flush with the the other components of the letter) like in the g-brief class. The first line seems to be to much on the right hand side compared to the other two lines, makeing the letter look wired. This doesn't look nice. can this be fixed ? how ? Here is what I mean:

Die \trennlinien im g-brief2 sind nicht bündig wie sie es im g-brief sind. Die erste Trennlinie fängt weiter rechts an als die im Adreßfenster und die unterste. Das sieht unästhetisch aus. Kann man das beheben ? wenn ja wie ? Hier das meine ich:

example of trennlinien in g-brief2

2

Add the following to your document preamble:

\usepackage{etoolbox}% http://ctan.org/pkg/etoolbox
\makeatletter
% \patchcmd{<cmd>}{<search>}{<replace>}{<success>}{<failure>}
\patchcmd{\ps@firstpage}{\put(0,-8)}{\put(-9,-8)}{}{}
\patchcmd{\ps@firstpage}{165mm}{180mm}{}{}
\makeatother

This updates the firstpage page style to move the header rule left and extend it. The modification is similar (when considering horizontal similarities) to the same style in g-brief.cls.

enter image description here

An adjustment does not seem necessary for subsequent page style (given in regularpage). However, if needed, add

\patchcmd{\@oddhead}{\put(0,0)}{\put(-9,0)}{}{}
\patchcmd{\@oddhead}{165mm}{180mm}{}{}

between the \makeatletter...\makeatother pair. It's necessary to patch \@oddhead since g-brief2 loads \AtEndofClass{\pagestyle{regularpage}}.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.