1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
\usepackage{imakeidx}
\makeindex
\usepackage{needspace}
\usepackage[english]{babel}
%\usepackage[
% backend=biber,
% urldate=long,
% date=long,
%]{biblatex}
%\addbibresource{non-decimal-units.bib}
\usepackage{enumitem}
\usepackage[
hidelinks,
]{hyperref}
\usepackage{tcolorbox}
\tcbuselibrary{documentation}
\tcbuselibrary{minted}
\tcbuselibrary{breakable}
\definecolor{DarkDefinition}{rgb}{0.392,0.392,0.942}
\tcbset{
listing engine=minted,
color definition=DarkDefinition,
floatplacement=h,
index colorize=true,
doc head={
interior style={
fill,
color=blue!10,
},
boxsep=2pt,
after skip=0pt,
nobeforeafter,
},
doc raster={
raster after skip=0pt,
},
before doc body={
\begin{tcolorbox}[
colback=blue!5,
colframe=blue!5,
arc=0pt,
outer arc=0pt,
before skip=0pt,
nobeforeafter,
]
},
after doc body={\end{tcolorbox}},
}
\newcommand\nduDocBrack[1]{\brackets{\texttt{#1}}}
\AtBeginEnvironment{tcb@manual@entry}{%
\needspace{4\baselineskip}%
}
\newtcbinputlisting{\unitlisting}[2]{%
listing file = {../latex/non-decimal-units.#1.tex},
title = Listing of units loaded with the \docAuxKey{#1} option,
listing only,
breakable,
minted options={fontsize=\small},
docexample,
}
\setlist[description]{
leftmargin=5em,
rightmargin=\leftmargin,
itemindent=\labelwidth,
align=right,
font=\docAuxKey,
noitemsep,
}
\usepackage{csquotes}
\usepackage{fnpct}
\usepackage{tabularray}
\UseTblrLibrary{booktabs}
\usepackage{cleveref}
\RequirePackage[autolanguage]{numprint}
\RequirePackage{fontspec}
\newfontfamily\mufifont{Palemonas MUFI}
\RequirePackage[
MUFI,
fonts={
MUFI=\mufifont,
},
]{unicode-alphabets}
\usepackage[
british,
danish,
]{non-decimal-units}
|