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:
Matthew Treinish committed 2015-07-26 23:42:06 -04:00
1 parent cbe4350da8
commit 9401f62bba
2 files changed
+2

No files matched your search

+1
View File
@@ -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
+1
View File
@@ -42,6 +42,7 @@ HEADER = r'''%% Generated by Sphinx.
%(longtable)s
\usepackage{sphinx}
\usepackage{multirow}
\usepackage{amssymb}
%(usepackages)s
%(numfig_format)s
%(preamble)s