Debian Codegraph @

texmf-dist/doc/latex/onlinebrief24/examples/example-onlinebrief24-modern.tex

raw
1 \documentclass[modern, footercenter, infoblock, lang=english]{onlinebrief24}
2
3 \setfromfirstname{Jane}
4 \setfromlastname{Smith}
5 \setfromaddress{12 Oak Street | Bristol BS1 4DJ}
6 \setfromlandline{0123 / 456 788}
7 \setfromphone{0123 / 456 789}
8 \setfromemail{[email protected]}
9 \setfromweb{www.example.com}
10 \setfromlinkedin{jane-smith}
11
12 \setreturnaddress{Jane Smith, 12 Oak Street, Bristol BS1 4DJ}
13 \setrecipient{Example Services Ltd \\ Mr. John Smith \\ 24 Market Road \\ London SW1A 1AA}
14
15 \setsubject{A test of the new modern style}
16 \setplace{Bristol}
17 \setdate{\today}
18 \setyourref{INF-2026-17}
19 \setyourmessage{2026-03-17}
20 \setourref{OB24-2042}
21 \setcontactname{Jane Smith}
22 \setcontactphone{0123 / 456 789}
23 \setcontactemail{[email protected]}
24
25 \begin{document}
26 \begin{letter}{}
27 \opening{Dear Mr. Smith,}
28
29 This is an example letter that demonstrates the new
30 \texttt{modern} option of the \texttt{onlinebrief24.cls} class.
31
32 As you can see, my name appears in a large modern heading at the top
33 right, followed by the new information block and the contact details in
34 the footer.
35
36 Most importantly, the position of the address window and the sender line
37 remains exactly the same as in the standard layout.
38
39 \closing{Kind regards}
40 \end{letter}
41 \end{document}