lib/softcover/book_template/latex_styles/softcover.sty in softcover-1.1.13 vs lib/softcover/book_template/latex_styles/softcover.sty in softcover-1.1.14
- old
+ new
@@ -149,12 +149,29 @@
% Enable float placement options.
\usepackage{float}
% Define some commonly used Unicode characters.
+\usepackage{latex_styles/applekeys}
\usepackage{newunicodechar}
+\newunicodechar{⌘}{\cmdkey}
+\newunicodechar{⌥}{\optkey}
+\newunicodechar{⌃}{\ctlkey}
+\newunicodechar{⇧}{\shiftkey}
+\newunicodechar{→}{\ensuremath{\rightarrow}}
+\newunicodechar{←}{\ensuremath{\leftarrow}}
+\newunicodechar{↑}{\ensuremath{\uparrow}}
+\newunicodechar{↓}{\ensuremath{\downarrow}}
+\newunicodechar{⇥}{\tabkey}
+\newunicodechar{↵}{\returnkey}
+\newunicodechar{⌫}{\delkey}
+\newunicodechar{␣}{\textvisiblespace}
\newunicodechar{—}{---}
\newunicodechar{–}{--}
+\newunicodechar{™}{\texttrademark}
+\newunicodechar{©}{\copyright}
+\newunicodechar{®}{\textregistered}
+\newunicodechar{…}{\ldots}
\usepackage{latex_styles/language_customization}
% Fix quotes in code environments.
% Provides "upquote.sty" functionality compatible with the latest Pygments.