47 lines
1.4 KiB
TeX
47 lines
1.4 KiB
TeX
\usepackage[binary-units=true]{siunitx}
|
|
|
|
\sisetup{%
|
|
detect-all = true,
|
|
detect-family = true,
|
|
detect-mode = true,
|
|
detect-shape = true,
|
|
detect-weight = true,
|
|
detect-inline-weight = math,
|
|
}
|
|
|
|
\DeclareSIUnit\px{px}
|
|
\DeclareSIUnit\rms{rms}
|
|
\DeclareSIUnit\rad{rad}
|
|
|
|
\usepackage{upgreek} % useful for "mu" in units
|
|
|
|
\usepackage{amssymb}
|
|
\usepackage{amsmath}
|
|
\usepackage{amsthm}
|
|
\usepackage{bm}
|
|
\usepackage{dsfont}
|
|
\usepackage{empheq} % for drawing boxes around equations
|
|
|
|
\let\originalleft\left
|
|
\let\originalright\right
|
|
\renewcommand{\left}{\mathopen{}\mathclose\bgroup\originalleft}
|
|
\renewcommand{\right}{\aftergroup\egroup\originalright}
|
|
|
|
\usepackage[ %
|
|
acronym, % Separate acronyms and glossary
|
|
toc, % appear in ToC
|
|
automake, % auto-use the makeglossaries command (requires shell-escape)
|
|
nonumberlist, % don't back reference pages
|
|
nogroupskip, % don't group by letter
|
|
nopostdot % don't add a dot at the end of each element
|
|
]{glossaries}
|
|
|
|
\usepackage[stylemods=longextra]{glossaries-extra}
|
|
|
|
\setabbreviationstyle[acronym]{long-short}
|
|
\setglossarystyle{long-name-desc}
|
|
|
|
% https://tex.stackexchange.com/questions/318694/glossaries-acronyms-avoid-additional-entries-in-number-list-with-indexonlyfirs
|
|
% Used to avoid many warnings
|
|
\renewcommand*{\acrshort}[1][]{\glsxtrshort[noindex,#1]}
|