# nxtlatex -- LaTeX classes and themes for faculty NXT **Version:** 1.2 **Date:** 2026-04-21 **License:** LPPL 1.3c (code), OFL 1.1 (font) **Author:** Volker Reichenberger **CTAN:** https://ctan.org/pkg/nxtlatex ## Description The `nxtlatex` package provides LaTeX tools for the faculty *NXT Nachhaltigkeit und Technologie* (Sustainability and Technology) at Reutlingen University, Germany. It comprises three components: - **nxtthesis** -- A thesis class based on KOMA-Script `scrreprt`. Requires LuaLaTeX. Provides a title page with institution metadata, font options (TeX Gyre, Libertinus), and a standard declaration of independent work. - **nxtbrief** -- A letter-class option (LCO) for KOMA-Script `scrlttr2`. Supports pdfLaTeX, XeLaTeX, and LuaLaTeX. Uses the Segoe UI font family. - **beamerthemenxt** -- A Beamer presentation theme in the NXT corporate design. Requires LuaLaTeX and the Segoe UI font. In addition, the OpenType font `NXT_Logo.otf` is included, which provides the NXT logo as a typographic glyph. ## Files | File | Description | |------------------------|----------------------------------------| | `nxtlatex.dtx` | Documented source (all components) | | `nxtlatex.ins` | Docstrip install script | | `nxtlatexcolors.sty` | Generated color palette package | | `nxtlatexlogos.sty` | Generated logo macro package | | `nxtthesis.cls` | Generated thesis class | | `nxtbrief.lco` | Generated letter class option | | `beamerthemenxt.sty` | Generated Beamer theme | | `NXT_Logo.otf` | NXT logo OpenType font (OFL 1.1) | | `OFL.txt` | SIL Open Font License 1.1 | | `BeispielthesisNXT.tex` | Example document for nxtthesis | | `BeispielbriefNXT.tex` | Example document for nxtbrief | | `BeispielfolienNXT.tex` | Example document for beamerthemenxt | | `getnxtlogos` | Logo installer script (macOS/Linux) | | `getnxtlogos.ps1` | Logo installer script (Windows) | | `README.md` | This file | ## Installation Run ``` latex nxtlatex.ins ``` to generate `nxtthesis.cls`, `nxtbrief.lco`, and `beamerthemenxt.sty`. Copy these files together with `NXT_Logo.otf` into a directory where TeX can find them, e.g.: ``` ~/texmf/tex/latex/nxtlatex/ ``` Then run `texhash` (or `mktexlsr`) to update the TeX file database. ## Usage ### nxtthesis ```latex \documentclass[german,gyre]{nxtthesis} \title{Title} \author{Author Name} \adresse{Street, ZIP City} \matrikelnummer{1234567} \akademischergrad{Bachelor of Science} \studiengang{Sustainable Technology} \abgabedatum{31 March 2026} \erstpruef{Prof. Dr. First Examiner} \erstpruefbezeichnung{First examiner} \zweitpruef{Prof. Dr. Second Examiner} \zweitpruefbezeichnung{Second examiner} \begin{document} \maketitle ... \eigenständigkeitserklärung \end{document} ``` ### nxtbrief ```latex \documentclass[nxtbrief]{scrlttr2} \usepackage[ngerman]{babel} \begin{document} \setkomavar{fromname}{Prof. Dr. Name} \begin{letter}{Recipient\\Address} \opening{Dear Sir or Madam,} ... \closing{Kind regards} \end{letter} \end{document} ``` ### beamerthemenxt ```latex \documentclass{beamer} \usetheme{NXT} \begin{document} \frame{\titlepage} \begin{frame}{Title} \begin{itemize} \item Item \end{itemize} \end{frame} \end{document} ``` ## Logo files The NXT and Reutlingen University logo files are protected by copyright and cannot be distributed as part of a public LaTeX package. They are therefore **not included** in `nxtlatex` and must be obtained separately. The package provides installer scripts that download the logos from the university website and place them in your local `texmf` tree: **macOS / Linux:** ```sh sh getnxtlogos ``` Installs to `~/Library/texmf/tex/latex/nxtlatex` (macOS) or `~/texmf/tex/latex/nxtlatex` (Linux). **Windows (PowerShell):** ```powershell powershell -ExecutionPolicy Bypass -File getnxtlogos.ps1 ``` Installs to `%USERPROFILE%\texmf\tex\latex\nxtlatex` (TeX Live and MiKTeX). Both scripts call `mktexlsr` (or `initexmf` on MiKTeX) afterwards to update the TeX file database. If the logo files are missing, all logo macros (`\nxtlogo`, `\nxthsrtlogo`, etc.) are silently ignored and the document still compiles without errors. The following macros are provided by `nxtlatexlogos.sty` and are available in all three components: | Macro | File | |-------------------|-----------------------------| | `\nxtlogo` | `NXT_Logo.pdf` | | `\nxthsrtlogo` | `NXT_Logo_NuT_RU.pdf` | | `\nxtlogonut` | `NXT_Logo_NuT.pdf` | | `\hsrtlogograu` | `Logo_HSRT_Grau.pdf` | | `\hsrtskyline` | `hsrtskyline.pdf` | All macros accept an optional argument passed to `\includegraphics`, e.g. `\nxtlogo[width=4cm]`. ## Customisation The `nxtbrief` and `beamerthemenxt` components are designed for Reutlingen University's NXT faculty but can be adapted for other institutions: - In `nxtbrief.lco`, update `\setkomavar{backaddress}` and `\setkomavar{location}` with your institution's details. - In `beamerthemenxt.sty`, redefine `\nxtBeamerSkyline` and `\nxtBeamerUniversityLogo` to point to your own graphics: ```latex \renewcommand{\nxtBeamerSkyline}{my-skyline.pdf} \renewcommand{\nxtBeamerUniversityLogo}{my-logo.pdf} ``` Missing graphics files are silently ignored. - In `nxtthesis`, redefine `\fakultaet` and `\hochschule`. ## Building the documentation ``` pdflatex nxtlatex.dtx makeindex -s gind.ist nxtlatex.idx makeindex -s gglo.ist -o nxtlatex.gls nxtlatex.glo pdflatex nxtlatex.dtx pdflatex nxtlatex.dtx ``` Or simply run `make` (see `Makefile`). ## License Copyright (C) 2026 Volker Reichenberger. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later version. The font `NXT_Logo.otf` is licensed under the SIL Open Font License, Version 1.1 (OFL-1.1).