Debian Codegraph @

texmf-dist/doc/latex/nxtlatex/nxtbrief.lco

raw
1 %%
2 %% This is file `nxtbrief.lco',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% nxtlatex.dtx (with options: `nxtbrief')
8 %%
9 %% This is a generated file.
10 %%
11 %% Copyright (C) 2025 Volker Reichenberger.
12 %%
13 %% This file is part of the nxtlatex package.
14 %%
15 %% This file may be distributed and/or modified under the conditions
16 %% of the LaTeX Project Public License, either version 1.3c of this
17 %% license or (at your option) any later version.
18 %% The latest version of this license is in
19 %% https://www.latex-project.org/lppl.txt
20 %% and version 1.3c or later is part of all distributions of LaTeX
21 %% version 2008 or later.
22 %%
23 \ProvidesFile{nxtbrief.lco}[2026/04/21 v1.2 NXT letter class option]
24
25 \KOMAoptions{
26 fontsize=10pt,
27 foldmarks=MPvb,
28 backaddress=plain,
29 pagenumber=footright,
30 refline=nodate
31 }
32
33 \RequirePackage{fontspec}
34 \setmainfont{Segoe UI}[
35 BoldFont={Segoe UI Semibold}]
36 \setsansfont{Segoe UI}[
37 BoldFont={Segoe UI Semibold}]
38 \setmonofont{Source Code Pro}[
39 BoldFont={Source Code Pro Semibold}]
40
41 \RequirePackage{nxtlatexcolors}
42 \RequirePackage{nxtlatexlogos}
43 \RequirePackage[stretch=10]{microtype}
44 \RequirePackage{lastpage}
45 \RequirePackage{fontawesome}
46 \RequirePackage[colorlinks=true,linkcolor=]{hyperref}
47 \RequirePackage[parfill]{parskip}
48 \RequirePackage{eso-pic}
49
50 \@addtoplength{firstheadvpos}{4mm}
51 \@setplength{firstheadwidth}{\dimexpr\paperwidth-\useplength{toaddrhpos}-8mm\relax}
52 \setkomavar{firsthead}{%
53 \hfill\nxthsrtlogo[width=7.2cm]%
54 }
55
56 \setkomavar{backaddress}{%
57 Karsten Bier, NXT, Hochschule Reutlingen, 72762 Reutlingen}
58
59 \setlength{\oddsidemargin}{\useplength{toaddrhpos}}%
60 \addtolength{\oddsidemargin}{-1in}%
61 \setlength{\textwidth}{12.7cm}
62 \@setplength{locvpos}{\useplength{firstheadvpos}}
63 \@setplength{locwidth}{46mm}
64 \@setplength{lochpos}{10mm}
65 \@setplength{locheight}{27.2cm}
66 \@setplength{backaddrheight}{1.4cm}
67
68 \addtokomafont{pagenumber}{\footnotesize\sffamily}
69
70 \setkomavar{location}{%
71 \footnotesize
72 \begin{tabular}[t]{l@{}}
73 {}\\[4mm]
74 \end{tabular}%
75 \\[85mm]
76 {\footnotesize\sffamily
77 \begin{tabular}[t]{l@{}}
78 \usekomavar{date}\\[22mm]
79 \textbf{\usekomavar{fromname}}\\[5mm]
80 NXT\\
81 Nachhaltigkeit und Technologie\\
82 Hochschule Reutlingen\\
83 Alteburgstraße 150\\[0mm]
84 72762 Reutlingen\\[5mm]
85 \faPhoneSquare\\[0mm]
86 \usekomavar{fromphone}\\[5mm]
87 \Large\faMobile\\[0mm]
88 \usekomavar{frommobilephone}\\[5mm]
89 \faAt\\[0mm]
90 \usekomavar{fromemail}\\[5mm]
91 \faHome\\[0mm]
92 nxt.reutlingen-university.de
93 \end{tabular}%
94 }
95 \vfill
96 {\usekomafont{pagenumber}{Seite~\thepage/\pageref{LastPage}}}\\[20mm]
97 }
98
99 \renewcommand{\pagemark}{%
100 {\usekomafont{pagenumber}{Seite~\thepage/\pageref{LastPage}}}}
101 \setkomavar{firstfoot}{%
102 \AddToShipoutPictureFG*{%
103 \AtPageLowerLeft{%
104 \raisebox{2mm}{\hsrtskyline[width=\paperwidth]}%
105 }%
106 }%
107 }
108
109 \@setplength{sigindent}{0pt}
110 \renewcommand{\raggedsignature}{\raggedright}
111 \endinput
112 %%
113 %% End of file `nxtbrief.lco'.