How can I position a fullwidth logo in the top left corner of my scrlttr2
document? The following code leaves a small but noticable gap.
\documentclass[12pt,ngerman]{scrlttr2}
\usepackage{babel}
\setkomavar{fromname}{Just me}
\makeatletter
\@setplength{firstheadhpos}{0mm}
\@setplength{firstheadvpos}{0mm}
\makeatother
\firsthead{
\rule{\paperwidth}{3cm}
}
\begin{document}
\begin{letter}{John Doe \\ Berlin}
\opening{Dear John,}
\closing{Mit freundlichen Scherzen,}
\end{letter}
\end{document}
Best Answer
The problem is that
adds horizontal space if you don't avoid it putting a
%
after\firsthead{
, so you would have to writeMoreover, the use of
\firsthead
is deprecated. You should use the following syntax instead:Complete MWE
Output: