1

How can I make a letter start at the top of the page rather than the usual vertical spacing ? I am finding that the letter class requires a specific structure that is very rigid.

\documentclass[a4paper,12pt]{letter}

\title{The deterioration of Health and safety} \author{Heime} \date{January 2023}

\signature{Heime}

\address{This and That}

\begin{document}

\begin{letter}{Alice} \opening{Something}

\begin{flushright} \closing{Yours Sincerely,} \signature{Heime} \end{flushright}

\end{letter}

\end{document}

Ragonese
  • 171
  • 4

1 Answers1

0

For example:

\documentclass[12pt,fromalign=right,refline=nodate,backaddress=false,addrfield=topaligned,foldmarks=false]{scrlttr2}

\setkomavar{signature}{Heime} \setkomavar{fromaddress}{This and That} \setkomavar{date}{January 2023}

\setkomavar{location}{\raggedleft\usekomavar{date}}% put the date into the % location field \setplength{locvpos}{\topmargin+1in+\headheight+\headsep+1.2\baselineskip}% move the location field

\setplength{firstheadwidth}{\textwidth}% limit the width of the head at the % notepaper to the paper width

\setplength{toaddrhpos}{\oddsidemargin+1in}% possition of the recipient address \setplength{toaddrvpos}{\topmargin+1in+\headheight+\headsep}

\setplength{refvpos}{\useplength{toaddrvpos}+\useplength{toaddrheight}}% possition of the reference line

\setplength{sigindent}{.5\textwidth}% possition of the signature \let\raggedsignature=\raggedright

\usepackage{lipsum}

\begin{document}

\begin{letter}{Alice} \opening{Something} \lipsum[1] \closing{Yours Sincerely,} \end{letter}

\end{document}

enter image description here

For more information about using scrlttr2 (or package scrletter, e.g., in combination with class scrartcl) see chapters 4 and 21 in the KOMA-Script manuals and maybe also “How to create letters with KOMA-Script” (also available in German).

cabohah
  • 11,455