-
Notifications
You must be signed in to change notification settings - Fork 0
/
livroabertoem-preamble.sty
61 lines (53 loc) · 1.43 KB
/
livroabertoem-preamble.sty
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
\RequirePackage{tikz}
\def\input@path{%
{figures}
}
\input{definitions/la-lists.tex}
\input{definitions/la-tables.tex}
\RequirePackage{definitions/la-tikzconfig}
\RequirePackage{float}
\RequirePackage{siunitx}
\RequirePackage{currency}
\RequirePackage{caption}
\RequirePackage{microtype}
\newcommand{\reais}{R\$}
\DefineCurrency{USD}{%
name = {dólar}, plural = {dólares}, iso = {USD}, kind = symbol, symbol = {\$}
}
\DefineCurrency{BRL}{%
name = {real}, plural = {reais}, iso = {BRL}, kind = symbol, symbol = {\reais}
}
\DefineCurrency{EUR}{%
name={euro}, plural={euros}, symbol={\euro}, iso={EUR}, kind=symbol
}
\CurrencySetup{%
pre = true, group-separator = {.}, base = {2}
}
\sisetup{
per-mode = symbol,
group-separator = {.},
output-decimal-marker = {,},
range-phrase = { a },
range-units = single,
detect-mode,
retain-zero-uncertainty,
drop-zero-decimal=false
}
\RequirePackage[brazilian]{babel}
\babelprovide[transforms = hyphen.repeat]{brazilian}
\addto\captionsbrazilian{%
\renewcommand{\appendixname}{Apêndice}%
\renewcommand{\bibname}{Bibliografia}
}
\RequirePackage[
style = apa,
backend = biber
]{biblatex}
\defbibheading{bibliography}[\refname]{\section*{#1}}
\RequirePackage[portuguese=brazilian]{csquotes}
\renewcommand{\mkblockquote}[4]{{\enquote{#1}}#2#3#4}
\renewcommand*{\mkenddispquote}[2]{#2#1}
\SetBlockThreshold{4}
\SetCiteCommand{\parencite}
\input{definitions/la-math.tex}
\input{definitions/la-hypersetup.tex}