mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
[1.7.x] Refs #23751 -- Added some unicode characters to the latex preamble.
Thanks Graham Wideman for the patch.
Backport of a80d70dd10
from master
This commit is contained in:
parent
904c47bc06
commit
3bd43598f7
1 changed files with 6 additions and 2 deletions
|
@ -233,8 +233,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue