summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/fontspec/fontspec.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'macros/unicodetex/latex/fontspec/fontspec.cfg')
-rw-r--r--macros/unicodetex/latex/fontspec/fontspec.cfg22
1 files changed, 22 insertions, 0 deletions
diff --git a/macros/unicodetex/latex/fontspec/fontspec.cfg b/macros/unicodetex/latex/fontspec/fontspec.cfg
new file mode 100644
index 0000000000..f7dbe9fc68
--- /dev/null
+++ b/macros/unicodetex/latex/fontspec/fontspec.cfg
@@ -0,0 +1,22 @@
+
+
+%%% FONTSPEC.CFG %%%
+%
+% This configuration file sets up TeX Ligatures by default for all fonts loaded
+% with `\setmainfont` and `\setsansfont`.
+%
+% In addition, `\setmonofont` has default features to enforce "monospace"
+% settings with regard to space stretchability and shrinkability.
+%
+% Make a copy of this file in your own home TEXMF directory to set up your own
+% defaults.
+
+\defaultfontfeatures
+ [\rmfamily,\sffamily]
+ {Ligatures=TeX}
+
+\defaultfontfeatures
+ [\ttfamily]
+ {WordSpace={1,0,0},
+ HyphenChar=None,
+ PunctuationSpace=WordSpace}