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 2015-07-26 23:34:47 -04:00
parent cbe4350da8
commit 9401f62bba
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177
2 changed files with 2 additions and 0 deletions

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

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