g-brief in LaTeX and “\Telefon already defined” problem

Tags:
Add comments

g-brief is a document class for LaTeX to write German standard letters. I like this document class very much and prefer it much over the Microsoft Word letter templates.
But on some machines I get the following error message when compiling the document using the MiKTeX packages:
   LaTeX Error: Command \Telefon already defined.

There is a simple solutions to resolve this error. You can just patch the package. Somewhere below the LaTeX directory you should find the marvosym.sty file. Open this file with a text editor of your choice an search for a line like this:
   \newcommand\Telefon{\mvchr{84}}
There you can change the name of the command \Telefon to something like \Telefonsymbol or the even better way (but I did not test this one): replace \newcommand with \def and leave Telefon as it is.

Another g-brief tip: you can define the following three elements on your document to turn on these various features:
\fenstermarken
\faltmarken
\trennlinien

3 Responses to “g-brief in LaTeX and “\Telefon already defined” problem”

  1. ★ kornykyano ★ Says:

    Thanks!

  2. GPD Says:

    Thanks, by the way, if anyone needs to change the language of the form, you can edit gbrief.cls and after \DeclareOption{american} block add your language, e.g. for greek:
    \DeclareOption{greek}{
    \def\sprache{greek}
    \def\telefontex{{\footnotesize THLEFWNO\/:}}
    \def\telefaxtext{{\footnotesize THLEOMOIOTUPO\/:}}
    \def\telextext{{\footnotesize THLEGRAFOS\/:}}
    \def\emailtext{{\footnotesize HLEKTRONIKO TAQUDROMEIO\/:}}
    \def\httptext{{\footnotesize HTTP\/:}}
    \def\banktext{{\footnotesize TRAPEZIKOS LOGARIASMOS\/:}} \def\blztext{{\footnotesize
    code}} \def\kontotext{{\footnotesize acct}}
    \def\betrefftext{{\normalsize Subj.:}}
    \def\ihrzeichentext{\footnotesize\textsc{PRWTOKOLLO SAS}}
    \def\ihrschreibentext{\footnotesize\textsc{EPISTOLH SAS}}
    \def\meinzeichentext{\footnotesize\textsc{PRWTOKOLLO MOU}}
    \def\unserzeichentext{\footnotesize\textsc{ANAFORA MOU}}
    \def\datumtext{\footnotesize\textsc{HMEROMHNIA}}}

  3. Louise Says:

    Hi,

    I am using the g-brief package and want to reduce the space between the address of the company and the date. I have looked into the g-brief-cls and tried changing almost anything, but I cannot reduce the space.

    Can anybody give me a hint as to which parameter to change?

    Thanks,
    -Louise

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in