Debian Codegraph @

texmf-dist/doc/latex/rwth-ci/examples/DEMO-RWTHLetter.tex

raw
1 %% This is file `DEMO-RWTHLetter.tex' version 1.2 (2026-04-03),
2 %% it is part of
3 %% RWTH-CI -- Corporate Design for RWTH Aachen University
4 %% ----------------------------------------------------------------------------
5 %%
6 %% Copyright (C) 2025–2026 by Marei Peischl <[email protected]>
7 %%
8 %% ============================================================================
9 %% This work may be distributed and/or modified under the
10 %% conditions of the LaTeX Project Public License, either version 1.3c
11 %% of this license or (at your option) any later version.
12 %% The latest version of this license is in
13 %% http://www.latex-project.org/lppl.txt
14 %% and version 1.3c or later is part of all distributions of LaTeX
15 %% version 2008/05/04 or later.
16 %%
17 %% This work has the LPPL maintenance status `maintained'.
18 %%
19 %% The current maintainer of this work is
20 %% Marei Peischl <[email protected]>
21 %%
22 %% The development repository can be found at
23 %% https://gitlab.git.nrw/rwth-it-center/rwth-latex-templates/rwth-ci
24 %% Please use the issue tracker for feedback!
25 %%
26 %% If you need a compiled version of this document, have a look at
27 %% http://mirror.ctan.org/macros/latex/contrib/rwth-ci/doc
28 %% or at the documentation directory of this package (if installed)
29 %% <path to your LaTeX distribution>/doc/latex/rwth-ci
30 %% ============================================================================
31 %%
32 % !TeX program = lualatex
33 %%
34
35 \documentclass[
36 english,%language as global option
37 parskip=full,% select parskip mode
38 ]{scrartcl}
39
40 \usepackage[
41 % textwidth=wide,% choose wide letter layout instead of narrow
42 % payment-data=true,% Enable the output of payment data, may be empty, and may be set in the lco file
43 % logofile=example-image-plain,% Select your logo file
44 % accept-missing-logos=true,% No error in case logo files are not available
45 ]{rwth-letter}
46
47 %%%%%%%%%%%%%%%%%%%
48 % Language setup
49 %%%%%%%%%%%%%%%%%%%
50 \usepackage[english]{babel}
51 \usepackage[autostyle]{csquotes}% \enquote, to simplify use of quotation marks
52
53 \LoadLetterOption{DEMO-RWTHFromaddress}% Load address data from lco-file
54
55 \begin{document}
56
57 \begin{letter}{%
58 Mr. Lion\\
59 hbox 23/42\\
60 1337 Duck City\\
61 Island of \TeX
62 }
63
64 \setkomavar{subject}{\LaTeX{} letters using RWTH Aachen CI}
65 % \setkomavar{date}{2024-02-26}% In case \today should not be used
66 \setkomavar{yourmail}{yyyy-mm-dd}
67 \setkomavar{myref}{Demo-xx}
68
69 \opening{Hello,}
70 this is a template file to show the usage of the rwth-letter class.
71
72 The most important options can be found within the source file of this document.
73 Other options or layout adjustments may not comply CI regulations and therefore should not be used.
74
75 Supported options:\\
76
77 \begin{description}
78 \item[raggedright=true/false] Set all text ragged right. Default setting is false and uses justified text.
79 \item[textwidth=narrow/wide] The design allows two different letter layouts. The default is narrow.
80 \end{description}
81
82 To reuse the sender's address the template provides an example lco-file.
83 See the \KOMAScript{} documentation on details about these files and how to use them.
84
85 \closing{Happy \TeX{}ing}
86
87 \vfil
88 \encl{Sources for this document:\\
89 \texttt{DEMO-RWTHLetter.tex} (Letter),\\
90 \texttt{DEMO-RWTHFromaddress.lco} (Address data)}
91
92 \end{letter}
93
94
95
96 \end{document}
97 %% End of file `DEMO-RWTHLetter.tex'.