diff options
author | Jean-François B <jfbu@free.fr> | 2018-11-21 23:11:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 23:11:15 +0100 |
commit | 8412bdf9d69e10b1afb368a89676fe85da7cb7a3 (patch) | |
tree | e2842dad6f6bc175c9e2c904574b6990e4405a2e /doc/conf.py | |
parent | c4df9b5de2f57387a23ec5b28f74b5e760040dd6 (diff) | |
parent | 5974c4010bdc457bedc9c9ea724e438062e7ed4e (diff) | |
download | sphinx-git-8412bdf9d69e10b1afb368a89676fe85da7cb7a3.tar.gz |
Merge pull request #5645 from jfbu/latex_greek_cyrillic_letters
LaTeX: support for Greek and Cyrillic
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/conf.py b/doc/conf.py index e06d70150..8d0762b45 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -56,10 +56,17 @@ latex_documents = [('contents', 'sphinx.tex', 'Sphinx Documentation', 'Georg Brandl', 'manual', 1)] latex_logo = '_static/sphinx.png' latex_elements = { + 'fontenc': r'\usepackage[LGR,X2,T1]{fontenc}', 'fontpkg': r''' \usepackage[sc]{mathpazo} \usepackage[scaled]{helvet} \usepackage{courier} +\substitutefont{LGR}{\rmdefault}{cmr} +\substitutefont{LGR}{\sfdefault}{cmss} +\substitutefont{LGR}{\ttdefault}{cmtt} +\substitutefont{X2}{\rmdefault}{cmr} +\substitutefont{X2}{\sfdefault}{cmss} +\substitutefont{X2}{\ttdefault}{cmtt} ''', 'passoptionstopackages': '\\PassOptionsToPackage{svgnames}{xcolor}', 'preamble': '\\DeclareUnicodeCharacter{229E}{\\ensuremath{\\boxplus}}', |