diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-12-07 19:58:25 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-12-07 20:29:31 +0100 |
| commit | df679d9a57c218deeaac64e63be658d6b783e1d6 (patch) | |
| tree | eb91f0235890e37abc13882f9b7e325570f340d3 /personal/cv/fonts.tex | |
| parent | e470dab312b37d21dd27755e4bf4b815e6380f02 (diff) | |
| download | memory-leaks-df679d9a57c218deeaac64e63be658d6b783e1d6.tar.xz | |
Add "CV" """infrastructure"""
The phone and e-mail emojis take 2 columns when displayed, but I don't
think Pandoc has any way to know that when parsing tables (unless
there is some Unicode metadata marking those glyphs as wider than
normal).
Diffstat (limited to 'personal/cv/fonts.tex')
| -rw-r--r-- | personal/cv/fonts.tex | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/personal/cv/fonts.tex b/personal/cv/fonts.tex new file mode 100644 index 0000000..1a36389 --- /dev/null +++ b/personal/cv/fonts.tex @@ -0,0 +1,12 @@ +\tracinglostchars=2 + +\usepackage{fontspec} +\usepackage[Latin,NumberForms,Punctuation,Symbols]{ucharclasses} + +\newfontfamily{\mydefaultfont}{Symbola} +\newfontfamily{\mymainfont}{DejaVu Sans} + +\setTransitionsForSymbols{\mydefaultfont}{\mymainfont} +\setTransitionsFor{NumberForms}{\mydefaultfont}{\mymainfont} +\setTransitionTo{Punctuation}{\mymainfont} +\setTransitionTo{Latin}{\mymainfont} |
