| 1 |
# nxtlatex -- LaTeX classes and themes for faculty NXT |
| 2 |
|
| 3 |
**Version:** 1.2 |
| 4 |
**Date:** 2026-04-21 |
| 5 |
**License:** LPPL 1.3c (code), OFL 1.1 (font) |
| 6 |
**Author:** Volker Reichenberger <[email protected]> |
| 7 |
**CTAN:** https://ctan.org/pkg/nxtlatex |
| 8 |
|
| 9 |
## Description |
| 10 |
|
| 11 |
The `nxtlatex` package provides LaTeX tools for the faculty |
| 12 |
*NXT Nachhaltigkeit und Technologie* (Sustainability and Technology) |
| 13 |
at Reutlingen University, Germany. It comprises three components: |
| 14 |
|
| 15 |
- **nxtthesis** -- A thesis class based on KOMA-Script `scrreprt`. |
| 16 |
Requires LuaLaTeX. Provides a title page with institution metadata, |
| 17 |
font options (TeX Gyre, Libertinus), and a standard declaration of |
| 18 |
independent work. |
| 19 |
|
| 20 |
- **nxtbrief** -- A letter-class option (LCO) for KOMA-Script |
| 21 |
`scrlttr2`. Supports pdfLaTeX, XeLaTeX, and LuaLaTeX. |
| 22 |
Uses the Segoe UI font family. |
| 23 |
|
| 24 |
- **beamerthemenxt** -- A Beamer presentation theme in the NXT |
| 25 |
corporate design. Requires LuaLaTeX and the Segoe UI font. |
| 26 |
|
| 27 |
In addition, the OpenType font `NXT_Logo.otf` is included, which |
| 28 |
provides the NXT logo as a typographic glyph. |
| 29 |
|
| 30 |
## Files |
| 31 |
|
| 32 |
| File | Description | |
| 33 |
|------------------------|----------------------------------------| |
| 34 |
| `nxtlatex.dtx` | Documented source (all components) | |
| 35 |
| `nxtlatex.ins` | Docstrip install script | |
| 36 |
| `nxtlatexcolors.sty` | Generated color palette package | |
| 37 |
| `nxtlatexlogos.sty` | Generated logo macro package | |
| 38 |
| `nxtthesis.cls` | Generated thesis class | |
| 39 |
| `nxtbrief.lco` | Generated letter class option | |
| 40 |
| `beamerthemenxt.sty` | Generated Beamer theme | |
| 41 |
| `NXT_Logo.otf` | NXT logo OpenType font (OFL 1.1) | |
| 42 |
| `OFL.txt` | SIL Open Font License 1.1 | |
| 43 |
| `BeispielthesisNXT.tex` | Example document for nxtthesis | |
| 44 |
| `BeispielbriefNXT.tex` | Example document for nxtbrief | |
| 45 |
| `BeispielfolienNXT.tex` | Example document for beamerthemenxt | |
| 46 |
| `getnxtlogos` | Logo installer script (macOS/Linux) | |
| 47 |
| `getnxtlogos.ps1` | Logo installer script (Windows) | |
| 48 |
| `README.md` | This file | |
| 49 |
|
| 50 |
## Installation |
| 51 |
|
| 52 |
Run |
| 53 |
|
| 54 |
``` |
| 55 |
latex nxtlatex.ins |
| 56 |
``` |
| 57 |
|
| 58 |
to generate `nxtthesis.cls`, `nxtbrief.lco`, and `beamerthemenxt.sty`. |
| 59 |
Copy these files together with `NXT_Logo.otf` into a directory |
| 60 |
where TeX can find them, e.g.: |
| 61 |
|
| 62 |
``` |
| 63 |
~/texmf/tex/latex/nxtlatex/ |
| 64 |
``` |
| 65 |
|
| 66 |
Then run `texhash` (or `mktexlsr`) to update the TeX file database. |
| 67 |
|
| 68 |
## Usage |
| 69 |
|
| 70 |
### nxtthesis |
| 71 |
|
| 72 |
```latex |
| 73 |
\documentclass[german,gyre]{nxtthesis} |
| 74 |
\title{Title} |
| 75 |
\author{Author Name} |
| 76 |
\adresse{Street, ZIP City} |
| 77 |
\matrikelnummer{1234567} |
| 78 |
\akademischergrad{Bachelor of Science} |
| 79 |
\studiengang{Sustainable Technology} |
| 80 |
\abgabedatum{31 March 2026} |
| 81 |
\erstpruef{Prof. Dr. First Examiner} |
| 82 |
\erstpruefbezeichnung{First examiner} |
| 83 |
\zweitpruef{Prof. Dr. Second Examiner} |
| 84 |
\zweitpruefbezeichnung{Second examiner} |
| 85 |
\begin{document} |
| 86 |
\maketitle |
| 87 |
... |
| 88 |
\eigenständigkeitserklärung |
| 89 |
\end{document} |
| 90 |
``` |
| 91 |
|
| 92 |
### nxtbrief |
| 93 |
|
| 94 |
```latex |
| 95 |
\documentclass[nxtbrief]{scrlttr2} |
| 96 |
\usepackage[ngerman]{babel} |
| 97 |
\begin{document} |
| 98 |
\setkomavar{fromname}{Prof. Dr. Name} |
| 99 |
\begin{letter}{Recipient\\Address} |
| 100 |
\opening{Dear Sir or Madam,} |
| 101 |
... |
| 102 |
\closing{Kind regards} |
| 103 |
\end{letter} |
| 104 |
\end{document} |
| 105 |
``` |
| 106 |
|
| 107 |
### beamerthemenxt |
| 108 |
|
| 109 |
```latex |
| 110 |
\documentclass{beamer} |
| 111 |
\usetheme{NXT} |
| 112 |
\begin{document} |
| 113 |
\frame{\titlepage} |
| 114 |
\begin{frame}{Title} |
| 115 |
\begin{itemize} |
| 116 |
\item Item |
| 117 |
\end{itemize} |
| 118 |
\end{frame} |
| 119 |
\end{document} |
| 120 |
``` |
| 121 |
|
| 122 |
## Logo files |
| 123 |
|
| 124 |
The NXT and Reutlingen University logo files are protected by copyright |
| 125 |
and cannot be distributed as part of a public LaTeX package. They are |
| 126 |
therefore **not included** in `nxtlatex` and must be obtained separately. |
| 127 |
|
| 128 |
The package provides installer scripts that download the logos from the |
| 129 |
university website and place them in your local `texmf` tree: |
| 130 |
|
| 131 |
**macOS / Linux:** |
| 132 |
|
| 133 |
```sh |
| 134 |
sh getnxtlogos |
| 135 |
``` |
| 136 |
|
| 137 |
Installs to `~/Library/texmf/tex/latex/nxtlatex` (macOS) or |
| 138 |
`~/texmf/tex/latex/nxtlatex` (Linux). |
| 139 |
|
| 140 |
**Windows (PowerShell):** |
| 141 |
|
| 142 |
```powershell |
| 143 |
powershell -ExecutionPolicy Bypass -File getnxtlogos.ps1 |
| 144 |
``` |
| 145 |
|
| 146 |
Installs to `%USERPROFILE%\texmf\tex\latex\nxtlatex` (TeX Live and MiKTeX). |
| 147 |
|
| 148 |
Both scripts call `mktexlsr` (or `initexmf` on MiKTeX) afterwards to |
| 149 |
update the TeX file database. If the logo files are missing, all logo |
| 150 |
macros (`\nxtlogo`, `\nxthsrtlogo`, etc.) are silently ignored and the |
| 151 |
document still compiles without errors. |
| 152 |
|
| 153 |
The following macros are provided by `nxtlatexlogos.sty` and are |
| 154 |
available in all three components: |
| 155 |
|
| 156 |
| Macro | File | |
| 157 |
|-------------------|-----------------------------| |
| 158 |
| `\nxtlogo` | `NXT_Logo.pdf` | |
| 159 |
| `\nxthsrtlogo` | `NXT_Logo_NuT_RU.pdf` | |
| 160 |
| `\nxtlogonut` | `NXT_Logo_NuT.pdf` | |
| 161 |
| `\hsrtlogograu` | `Logo_HSRT_Grau.pdf` | |
| 162 |
| `\hsrtskyline` | `hsrtskyline.pdf` | |
| 163 |
|
| 164 |
All macros accept an optional argument passed to `\includegraphics`, |
| 165 |
e.g. `\nxtlogo[width=4cm]`. |
| 166 |
|
| 167 |
## Customisation |
| 168 |
|
| 169 |
The `nxtbrief` and `beamerthemenxt` components are designed for |
| 170 |
Reutlingen University's NXT faculty but can be adapted for other |
| 171 |
institutions: |
| 172 |
|
| 173 |
- In `nxtbrief.lco`, update `\setkomavar{backaddress}` and |
| 174 |
`\setkomavar{location}` with your institution's details. |
| 175 |
- In `beamerthemenxt.sty`, redefine `\nxtBeamerSkyline` and |
| 176 |
`\nxtBeamerUniversityLogo` to point to your own graphics: |
| 177 |
```latex |
| 178 |
\renewcommand{\nxtBeamerSkyline}{my-skyline.pdf} |
| 179 |
\renewcommand{\nxtBeamerUniversityLogo}{my-logo.pdf} |
| 180 |
``` |
| 181 |
Missing graphics files are silently ignored. |
| 182 |
- In `nxtthesis`, redefine `\fakultaet` and `\hochschule`. |
| 183 |
|
| 184 |
## Building the documentation |
| 185 |
|
| 186 |
``` |
| 187 |
pdflatex nxtlatex.dtx |
| 188 |
makeindex -s gind.ist nxtlatex.idx |
| 189 |
makeindex -s gglo.ist -o nxtlatex.gls nxtlatex.glo |
| 190 |
pdflatex nxtlatex.dtx |
| 191 |
pdflatex nxtlatex.dtx |
| 192 |
``` |
| 193 |
|
| 194 |
Or simply run `make` (see `Makefile`). |
| 195 |
|
| 196 |
## License |
| 197 |
|
| 198 |
Copyright (C) 2026 Volker Reichenberger. |
| 199 |
|
| 200 |
This work may be distributed and/or modified under the conditions |
| 201 |
of the LaTeX Project Public License, either version 1.3c of this |
| 202 |
license or (at your option) any later version. |
| 203 |
|
| 204 |
The font `NXT_Logo.otf` is licensed under the |
| 205 |
SIL Open Font License, Version 1.1 (OFL-1.1). |