-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpdfa.tex
40 lines (31 loc) · 878 Bytes
/
pdfa.tex
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
\usepackage[a-1b]{pdfx}
% workadound for broken microtype in TL2018
% \usepackage{luatexbase}
% fonts
\usepackage{fontspec}
% math
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
% mathrm=sym, % use math font for mathrm, not text font
\usepackage[
math-style=ISO,
bold-style=ISO,
sans-style=italic,
nabla=upright,
partial=upright,
]{unicode-math}
\usepackage[
locale=BR,
separate-uncertainty=true,
per-mode=reciprocal,
]{siunitx}
\sisetup{math-micro=\text{µ},text-micro=µ}
% \setromanfont{Libertinus Serif}
% \setsansfont{Libertinus Sans}
% \setmonofont{Fira Code}[Scale=MatchLowercase]
% \setmathfont{Libertinus Math}
% \setmathfont{XITS Math}[range={scr, bfscr}]
% \setmathfont{XITS Math}[range={cal, bfcal}, StylisticSet=1]
% for pdf/a compliance, see https://tex.stackexchange.com/a/474336/59716
\pdfvariable omitcidset=1