mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add support for converting checkmark unicode to latex symbol
This commit adds an entry to the list of tex escapes for the checkmark unicode character. As part of this the use of the amssymb package is added which is required for the checkmark symbol among others. Closes #1959
This commit is contained in:
parent
cbe4350da8
commit
9401f62bba
@ -36,6 +36,7 @@ tex_replacements = [
|
||||
('±', r'\(\pm\)'),
|
||||
('→', r'\(\rightarrow\)'),
|
||||
('‣', r'\(\rightarrow\)'),
|
||||
('✓', r'\(\checkmark\)'),
|
||||
# used to separate -- in options
|
||||
('', r'{}'),
|
||||
# map some special Unicode characters to similar ASCII ones
|
||||
|
@ -42,6 +42,7 @@ HEADER = r'''%% Generated by Sphinx.
|
||||
%(longtable)s
|
||||
\usepackage{sphinx}
|
||||
\usepackage{multirow}
|
||||
\usepackage{amssymb}
|
||||
%(usepackages)s
|
||||
%(numfig_format)s
|
||||
%(preamble)s
|
||||
|
Loading…
Reference in New Issue
Block a user