summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-11-16 11:18:01 -0500
committerTim Graham <timograham@gmail.com>2015-11-16 20:32:17 -0500
commit2315f5f45fcd7dbceef32d011d0d7ee5b8e6a4a8 (patch)
treea874e08889d38d7bc5cdab67e6771892889089be
parent937ce01935647a47932b124f218bd23181779828 (diff)
[1.9.x] Refs #23751 -- Added some unicode characters to the latex preamble.
Thanks Graham Wideman for the patch. Backport of a80d70dd10f3c7d483579734e524c94c62832070 from master
-rw-r--r--docs/conf.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 029e489529..e58a853243 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -235,8 +235,12 @@ rst_epilog = """
# -- Options for LaTeX output --------------------------------------------------
latex_elements = {
- 'preamble': ('\\DeclareUnicodeCharacter{2264}{\\ensuremath{\\le}}'
- '\\DeclareUnicodeCharacter{2265}{\\ensuremath{\\ge}}')
+ 'preamble': (
+ '\\DeclareUnicodeCharacter{2264}{\\ensuremath{\\le}}'
+ '\\DeclareUnicodeCharacter{2265}{\\ensuremath{\\ge}}'
+ '\\DeclareUnicodeCharacter{2665}{[unicode-heart]}'
+ '\\DeclareUnicodeCharacter{2713}{[unicode-checkmark]}'
+ ),
}
# Grouping the document tree into LaTeX files. List of tuples