From 2315f5f45fcd7dbceef32d011d0d7ee5b8e6a4a8 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 16 Nov 2015 11:18:01 -0500 Subject: [PATCH] [1.9.x] Refs #23751 -- Added some unicode characters to the latex preamble. Thanks Graham Wideman for the patch. Backport of a80d70dd10f3c7d483579734e524c94c62832070 from master --- docs/conf.py | 8 ++++++-- 1 file 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