Files
tex/graphics/inkscape_preamble.tex

43 lines
1.2 KiB
TeX

% !TeX program = lualatex
\documentclass[10pt]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel} % Language
\usepackage{csquotes} % Quotation
\usepackage{fontspec}
\usepackage{amsmath}
\usepackage{accents}
\usepackage{mathtools}
\usepackage[colon=literal]{unicode-math}
\setmainfont{STIX}
\setmathfont{STIX Two Math}
\usepackage{graphicx}
\usepackage{alphalph}
\usepackage{commath}
\usepackage{mathtools}
\usepackage[arrows=pgf-filled, version=4]{mhchem}
\usepackage[free-standing-units=true]{siunitx}
\usepackage{xcolor}
% Roman Numbers
\newcommand{\toRoman}[1]{\MakeUppercase{\romannumeral #1}}
% SI unit and SI settings (siunitx)
\DeclareSIUnit\amu{u}
\DeclareSIUnit\bar{bar}
\DeclareSIUnit\year{yr}
\DeclareSIUnit\month{m}
\DeclareSIUnit\week{w}
\DeclareSIUnit\day{d}
\DeclareSIUnit\ppm{ppm}
\DeclareSIUnit\ppt{ppt}
\DeclareSIUnit\pptv{pptv}
\DeclareSIUnit\atm{atm}
\DeclareSIUnit\Molar{M}
\DeclareSIUnit\gramCarbon{g\ce{C}}
\DeclareSIUnit\permille{\text{\textperthousand}}
\sisetup{separate-uncertainty, multi-part-units=single, range-units=single, range-phrase=\ensuremath{\ldots}}
\newcommand{\der}[1]{\ensuremath{\textnormal{d}\,{#1}}}