% Inside the doc folder belongs also the final documentation pdf for the upload to CTAN! % currently i do not know how to automize this maybe via github workflow? %=============================================================================== % quantum-chemistry-bonn-doc.tex v0.2 2026/03/12 % Documentation for the quantum-chemistry-bonn LaTeX package % Copyright (c) 2025-2026 Christian Selzer %=============================================================================== \documentclass[a4paper,12pt]{article} \usepackage{xcolor} \usepackage{hyperref} \usepackage{booktabs} \hypersetup{ colorlinks=true, linkcolor=bonnblue, citecolor=bonnblue, urlcolor=bonnblue } \emergencystretch=1.5em % If the package is installed via CTAN or in your local TEXMF tree, use: % \usepackage{quantum-chemistry-bonn} % Otherwise, to compile this documentation, place quantum-chemistry-bonn.sty in the same directory and uncomment: \input{../tex/quantum-chemistry-bonn.sty} \title{\texttt{quantum-chemistry-bonn} Package Documentation} \author{Christian Selzer \& Lukas Wittmann} \date{2026/03/12} \begin{document} \maketitle \begin{abstract} This document describes the \texttt{quantum-chemistry-bonn} package (version 0.2, dated 2026/03/12), developed to consolidate common quantum-chemistry program names, colorful branding elements, and frequently used abbreviations into a single, centrally maintained style file. With \texttt{quantum-chemistry-bonn}, authors can ensure uniform formatting for program names, method labels, color highlights, and other notations across all QC-related manuscripts. \end{abstract} \tableofcontents \bigskip %------------------------------------------------------------------------------ \section{Introduction} The \texttt{quantum-chemistry-bonn} package was created to simplify and standardize the appearance of quantum-chemical program names, method labels, and key notations in \LaTeX\ documents. Rather than manually inserting font switches, colors, or special macros each time you mention a program (e.g., \orca, \xtb) or a quantity (e.g., \pka, \dgsolv), \texttt{quantum-chemistry-bonn} provides a concise set of commands that automatically apply consistent formatting. Additionally, several custom colors matching the University of Bonn’s corporate palette are defined, enabling easy color highlights in presentations, posters, or manuscripts. \medskip Key features: \begin{itemize} \item \textbf{Program Macros:} Uniform fonts (small caps, typewriter) for popular QC codes (\orca, \censo, \draco, \crest, \xtb, \tblite). \item \textbf{Color Palette:} Predefined RGB colors (e.g., \texttt{bonnblue}, \texttt{bonnred}, \texttt{bonnyellow}, \texttt{bonngreen}) aligned with University of Bonn branding. \item \textbf{Reference Shortcuts:} Quick macros for cross-referencing (\verb|\figref|, \verb|\tabref|, \verb|\eqeqref|, \verb|\siref|). \item \textbf{Abbreviation Macros:} Convenient commands for \etal, \ie, \eg, and physical chemistry quantities (\pka, \dgsolv, \kcalpmol, etc.). \item \textbf{QC-Method Macro:} Shorthands for several quantum mechanical methods such as \method{r2scan3c} and \method{wb97m-v}. \item \textbf{Acronym Definitions:} Over 80 predefined acronyms for common QC terminology (e.g., \ac{dft}, \ac{bsse}, \ac{cc}) via the \texttt{acronym} package. \item \textbf{Dependencies:} \texttt{xcolor}, \texttt{siunitx}, \texttt{expl3}/\texttt{xparse}, and \texttt{acronym}. \end{itemize} %------------------------------------------------------------------------------ \section{Installation} \label{sec:installation} \subsection{CTAN or Local } The \texttt{quantum-chemistry-bonn} package is available via CTAN. Add the following line in your document’s preamble: \begin{verbatim} \usepackage{quantum-chemistry-bonn} \end{verbatim} \subsection{Manual (Unpacked) Usage} If you have not installed the package system-wide, simply place \texttt{quantum-\hspace{0pt}chemistry-\hspace{0pt}bonn.sty} in the same folder as your \texttt{.tex} document. Then, in the preamble: \begin{verbatim} % If quantum-chemistry-bonn.sty is in the same directory: \input{quantum-chemistry-bonn.sty} \end{verbatim} %------------------------------------------------------------------------------ % \section{Package Options} % \label{sec:options} % The current version (0.2) of \texttt{quantum-chemistry-bonn} does not provide user-settable options. All macros and colors are preconfigured. Future versions may introduce options to toggle certain definitions or adjust color names. %------------------------------------------------------------------------------ \section{Color Definitions} \label{sec:colors} \texttt{quantum-chemistry-bonn} defines a palette of RGB colors aligned with the University of Bonn branding, plus a few additional utility colors. All color names can be passed to \verb|\textcolor{}{...}| or used in other color-aware commands. \bigskip \begin{tabular}{@{}llp{6.5cm}@{}} \textbf{Color Name} & \textbf{RGB} & \textbf{Description} \\ \midrule \texttt{bonnblue} & (007, 078, 159) & “Bonn blue” primary corporate color. \\ \texttt{bonnred} & (185, 039, 039) & “Bonn red” accent color. \\ \texttt{bonnyellow} & (252, 186, 000) & “Bonn yellow” highlight. \\ \texttt{bonngrey} & (144, 144, 133) & Neutral grey tone. \\ \texttt{bonngray} & (144, 144, 133) & Alias for \texttt{bonngrey} (American spelling). \\ \texttt{bonngreen} & (000, 123, 078) & Contrast green for accent. \\ \midrule \texttt{newaccent} & (000, 000, 000) & Reserved for future accent. \\ \texttt{black} & (000, 000, 000) & Standard black (redundant with default). \\ \texttt{highlightgreen} & (000, 204, 000) & Bright green for highlighting. \\ \texttt{white} & (255, 255, 255) & Pure white (contrast). \\ \texttt{StdBody} & (233, 233, 233) & Light grey for backgrounds or shading. \\ \end{tabular} \bigskip \subsection{Usage Examples} \begin{verbatim} % Text in Bonn blue: \textcolor{bonnblue}{This text appears in Bonn blue.} % Using shortcut macros: \colb{This is also Bonn blue.} \colr{This text is Bonn red.} \colg{This text is Bonn grey.} \coly{This text is Bonn yellow.} \end{verbatim} %------------------------------------------------------------------------------ \section{Shortcut Color Macros} \label{sec:shortcuts} To simplify inline color usage, \texttt{quantum-chemistry-bonn} defines four “shortcut” macros: \begin{itemize} \item \verb|\colb{}| $\Rightarrow$ \textcolor{bonnblue}{blue} text. \item \verb|\coly{}| $\Rightarrow$ \textcolor{bonnyellow}{yellow} text. \item \verb|\colr{}| $\Rightarrow$ \textcolor{bonnred}{red} text. \item \verb|\colg{}| $\Rightarrow$ \textcolor{bonngrey}{grey} text. \end{itemize} \noindent Example: \begin{verbatim} This sentence has a \colb{blue phrase}, a \colr{red phrase}, and a \coly{yellow phrase}. \end{verbatim} %------------------------------------------------------------------------------ \section{Reference Shortcut Macros} \label{sec:refs} \texttt{quantum-chemistry-bonn} provides four convenience macros for common cross-reference patterns: \begin{description} \item[\texttt{\textbackslash figref\{