phd-thesis/config.tex
Thomas Dehaeze 7b718dabda Many changes about notations
- nano-hexapod => active platform
- use "\text{}" for all units
2025-04-22 23:59:40 +02:00

45 lines
1.3 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{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]}