diff options
author | jfbu <jfbu@free.fr> | 2018-11-21 18:58:58 +0100 |
---|---|---|
committer | jfbu <jfbu@free.fr> | 2018-11-21 22:21:02 +0100 |
commit | 1edf2a45b9873ce3a137c72667078989f0aaa6b3 (patch) | |
tree | 1e768f219b36632f638b2eb6e552c921a614c932 /doc/conf.py | |
parent | 6283324b1a6edd3ff46b7b775ba06842478f90c2 (diff) | |
download | sphinx-git-1edf2a45b9873ce3a137c72667078989f0aaa6b3.tar.gz |
LaTeX: font choices for Greek and Cyrillic support, and (Xe|Lua)LaTeX
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/conf.py b/doc/conf.py index 661efb434..8d0762b45 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -56,17 +56,17 @@ latex_documents = [('contents', 'sphinx.tex', 'Sphinx Documentation', 'Georg Brandl', 'manual', 1)] latex_logo = '_static/sphinx.png' latex_elements = { - 'fontenc': r'\usepackage[LGR,T2A,T1]{fontenc}', + 'fontenc': r'\usepackage[LGR,X2,T1]{fontenc}', 'fontpkg': r''' \usepackage[sc]{mathpazo} \usepackage[scaled]{helvet} \usepackage{courier} -\substitutefont{LGR}{\rmdefault}{udidot} -\substitutefont{LGR}{\sfdefault}{neohellenic} +\substitutefont{LGR}{\rmdefault}{cmr} +\substitutefont{LGR}{\sfdefault}{cmss} \substitutefont{LGR}{\ttdefault}{cmtt} -\substitutefont{T2A}{\rmdefault}{fcm} -\substitutefont{T2A}{\sfdefault}{fcs} -\substitutefont{T2A}{\ttdefault}{fct} +\substitutefont{X2}{\rmdefault}{cmr} +\substitutefont{X2}{\sfdefault}{cmss} +\substitutefont{X2}{\ttdefault}{cmtt} ''', 'passoptionstopackages': '\\PassOptionsToPackage{svgnames}{xcolor}', 'preamble': '\\DeclareUnicodeCharacter{229E}{\\ensuremath{\\boxplus}}', |