As of KOMA-Script 3.44, scrlttr2
and scrletter
can handle multiple signatories of a letter. The signatories are separated from each other with \and
in the signature
variable. Several lines can be set with \\
within a signatory:
\documentclass{scrlttr2}
\usepackage[english]{babel}
\setkomavar{fromname}{Markus Kohm}
\setkomavar{fromaddress}{Musterhausen}
\setkomavar{signature}{Markus Kohm\\Maintainer \and Peter Musterman\\Developer}
\let\raggedsignature\raggedright
\usepackage{blindtext}
\begin{document}
\begin{letter}{Someone\\Somewhere}
\opening{Hi,}
\blindtext
\closing{Regards}
\end{letter}
\end{document}
The \sigspace
command is inserted between the individual signatories. This is defined as \quad
by default. For example, you can use
\renewcommand*{\sigspace}{\hfill}
to ensure that the signatories are distributed across the available total width.
Note: Internally each signatory is printed using a table of the form:
\rule[-\dp\strutbox]{0pt}{\dimeval{\baselineskip+\useplength{sigbeforeskip}}}%
\begin{tabular}[t]{@{}\sigalign @{}}
Signatory
\end{tabular}
By default, \sigalign
is determined automatically based on \raggedsignature
. If \raggedsignature
is neither \raggedright
nor \raggedleft
nor \centering
, a warning is issued and \sigalign
l
is used. This can be prevented by explicitly setting \sigalign
to a valid column definition before \closing
. Using the document preamble for such definitions is recommended.
The arrangement of the signatures can be changed via an explicit definition of \sigspace
and \sigalign
. In the following example, the first signature is left-aligned and the second is output after half the width of the type area:
\documentclass{scrlttr2}
\usepackage[english]{babel}
\setkomavar{fromname}{Markus Kohm}
\setkomavar{fromaddress}{Musterhausen}
\setkomavar{signature}{Markus Kohm\\Maintainer \and Peter Musterman\\Developer}
\let\raggedsignature\raggedright
\renewcommand*{\sigspace}{}
\renewcommand*{\sigalign}{p{.5\textwidth}}
\usepackage{blindtext}
\begin{document}
\begin{letter}{Someone\\Somewhere}
\opening{Hi,}
\blindtext
\closing{Regards}
\end{letter}
\end{document}