Debian Codegraph @

texmf-dist/doc/latex/tuda-ci/DEMO-TUDaLetter.tex

raw
1 %% This is file `DEMO-TUDaLetter.tex' version 4.05 (2025-11-13),
2 %% it is part of
3 %% TUDa-CI -- Corporate Design for TU Darmstadt
4 %% ----------------------------------------------------------------------------
5 %%
6 %% Copyright (C) 2018--2025 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://github.com/tudace/tuda_latex_templates
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/tuda-ci/doc
28 %% or at the documentation directory of this package (if installed)
29 %% <path to your LaTeX distribution>/doc/latex/tuda-ci
30 %% ============================================================================
31 %%
32 % !TeX program = lualatex
33 %%
34
35 % Enable PDF/A via pdfmanagement
36 % Temporary workaround for an incompatibility wth the current status of the tagging project, see https://github.com/tudace/tuda_latex_templates/issues/521
37 % \DocumentMetadata{
38 \RequirePackage{pdfmanagement}
39 \SetKeys[document/metadata]{
40 pdfstandard=a-2b,
41 pdfversion=1.7,% 2.0 is possible as well, but PDF/A-2b requires < 2.0
42 lang=en,
43 }
44
45 \documentclass[
46 english,% Main language as global option
47 accentcolor=9c,% Choose accent color: For a list of available colors see the full tudapub documentation
48 % logo=false,% Disable logo for all pages but first
49 premium=true,% enable coloring
50 % firstpagenumber=false,% disable pagenumbering on first page
51 % textwidth=narrow,% disable change of text width after the first page
52 % accept-missing-logos=true,% No error in case logo files are not available
53 % logofile=example-image,% In case logo should be replaced
54 ]{tudaletter}
55
56 %%%%%%%%%%%%%%%%%%%
57 % Language setup
58 %%%%%%%%%%%%%%%%%%%
59 \usepackage[english]{babel}
60 \usepackage[autostyle]{csquotes}% \enquote, to simplify use of quotation marks
61
62
63 \LoadLetterOption{DEMO-TUDaFromaddress}% Load address data from lco-file
64
65 \begin{document}
66
67
68 \begin{letter}{%
69 Technische Universität Darmstadt\\%
70 Referat Kommunikation\\%
71 Karolinenplatz 5\\%
72 64289 Darmstadt}
73
74 \setkomavar{subject}{\LaTeX{} letters using TU Darmstadt CI}
75 % \setkomavar{date}{2024-02-26}% In case \today should not be used
76 \setkomavar{yourmail}{yyyy-mm-dd}
77 \setkomavar{myref}{Demo-xx}
78 \setkomavar{frombank}{IBAN: 1234 5678 9123 4567 89}
79
80 \opening{Hello,}
81 this is a template file to show the usage of the tudaletter class.
82
83 The most important options can be found within the source file of this document.
84 Other options or layout adjustments may not comply CI regulations and therefore should not be used.
85
86 Supported options:\\
87 \parbox{\linewidth}{
88 \begin{description}
89 \item[premium=true/false] Enable coloring of the headline. Disabled by default.
90 \item[firstpagenumber=true/false] Disable pagenumbering for the first page. Enabled by default.
91 \item[raggedright=true/false] Set all text ragged right. Default setting is false and uses justified text.
92 \item[logo=true/false] Disable logo in the headline for all pages but first one.
93 \item[texwidth=narrow/wide] The design requires the text width to change between the first page and the rest of the letter.
94 \item[texwidth=narrow/wide] This setting is corresponds to the value “wide”.
95 I case this change happens within a paragraph the mechanism to do this adjustment is quite complex and might not work in all cases.
96 If you face any other special case it would be great to receive a report, so we can try to improve the used methods.
97 \end{description}
98 }
99
100 To reuse the sender's address the template provides an example lco-file.
101 See the \KOMAScript{} documentation on details about these files and how to use them.
102
103 \closing{Happy \TeX{}ing}
104
105 \encl{Sources for this document:\\
106 \texttt{DEMO-TUDaLetter.tex} (Letter),\\
107 \texttt{DEMO-TUDaFromaddress.lco} (Address data)}
108
109 \end{letter}
110
111
112 \end{document}
113 %% End of file `DEMO-TUDaLetter.tex'.