IAM

OPENSOURCEFAN STUDYING
STUDYINGCOMPUTERSCIENCEANDMATH COMPUTERSCIENCE

Check out the latest superpixel benchmark — Superpixel Benchmark (2016) — and let me know your opinion! @david_stutz
26thNOVEMBER2016

SNIPPET

Simple, German letter in LaTeX using the g-brief document class. The example is part of a LaTeX snippet collection available on GitHub.

letter-enclosure.tex
 \documentclass[11pt]{g-brief}

\usepackage[]{babel}
\usepackage[utf8]{inputenc}
\usepackage{datetime}

\usepackage[headsep = 1.20\baselineskip,
	top          = 30mm,
	bottom       = 20mm,
	left         = 20mm,
	right        = 20mm,
]{geometry}

\Name{Sender Name}
\Strasse{Sender street}
\Ort{Sender city}
\EMail{Sender mail}
%\Postvermerk{}
\RetourAdresse{\  }
\Unterschrift{Sender signature}

\Adresse{Recipient name\\Recipient street\\Recipient city\\Recipient country\\Recipient phone}
\Betreff{Subject}
\Datum{\today}
\Anrede{Dear Sir or Madam,}
\Gruss{Best regards,}{0.5cm}

\Anlagen{Enclosure 1, Enclosure 2}

\begin{document}
\begin{g-brief}

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas eros augue, imperdiet ornare eros volutpat, volutpat finibus risus. Quisque convallis interdum aliquet. Praesent fermentum orci tortor, ac tempor felis luctus sed. Mauris a sapien at est pellentesque posuere eu at turpis. Nam tincidunt arcu dictum ligula bibendum imperdiet. Vestibulum placerat nisi a nisl hendrerit tristique. Phasellus risus felis, ornare at scelerisque a, molestie pretium nisi. Aliquam metus leo, rhoncus a bibendum eget, suscipit eu lacus. Nunc sit amet vehicula sem. Maecenas ornare tortor felis, eget mollis tellus egestas non. Vestibulum a tincidunt lectus. Morbi non tellus lacinia, facilisis felis ut, facilisis dui. Aliquam erat volutpat. Maecenas quis arcu mauris. Morbi quis vestibulum nisl.

\end{g-brief}
\end{document}
letter-enclosure.pdf
letter-enclosure

What is your opinion on the code snippet? Is it working? Let me know your thoughts in the comments below or using the following platforms: