aboutsummaryrefslogtreecommitdiff
path: root/common/10_fonts.tex
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2024-05-23 14:46:28 +0200
committerSébastien Dailly <sebastien@dailly.me>2024-05-23 14:46:28 +0200
commit6428d3ffcd777206024b00c261ca759b98eafb49 (patch)
tree5d4f2a0ea7d461f1d9b5c603073b7573c2519ca9 /common/10_fonts.tex
parentd0a4827c8771f7d847cfc7c68e1961500184fa66 (diff)
Loads the fonts even if the project is outside of the directory
Diffstat (limited to 'common/10_fonts.tex')
-rw-r--r--common/10_fonts.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/common/10_fonts.tex b/common/10_fonts.tex
index 17df6e1..11e2a8e 100644
--- a/common/10_fonts.tex
+++ b/common/10_fonts.tex
@@ -1,11 +1,12 @@
\usepackage{fontspec}
\newfontfamily\CaviarDreamsFont{CaviarDreams}
- [ Path=../fonts/
- , BoldFont = *_Bold,
+ [ Path=\commonPath/../fonts/
+ , BoldFont = CaviarDreams_Bold
, Mapping=tex-text
+ , Extension = .ttf
]
\newfontfamily\LibertineFont{Linux Libertine O}
- [ Mapping=tex-text
+ [ Ligatures=TeX
]