scribble: for Latex, pick tt encoding of <, >, and | explicitly
This commit is contained in:
parent
fc1089c842
commit
393a1f441a
|
@ -745,9 +745,9 @@
|
|||
"{\\char`\\_}"
|
||||
"$\\_$")]
|
||||
[(#\^) "{\\char'136}"]
|
||||
[(#\>) (if (rendering-tt) "{\\texttt >}" "$>$")]
|
||||
[(#\<) (if (rendering-tt) "{\\texttt <}" "$<$")]
|
||||
[(#\|) (if (rendering-tt) "{\\texttt |}" "$|$")]
|
||||
[(#\>) (if (rendering-tt) "{\\Stttextmore}" "$>$")]
|
||||
[(#\<) (if (rendering-tt) "{\\Stttextless}" "$<$")]
|
||||
[(#\|) (if (rendering-tt) "{\\Stttextbar}" "$|$")]
|
||||
[(#\-) "{-}"] ;; avoid en- or em-dash
|
||||
[(#\`) "{`}"] ;; avoid double-quotes
|
||||
[(#\') "{'}"] ;; avoid double-quotes
|
||||
|
|
|
@ -54,6 +54,12 @@
|
|||
\newcommand{\planetName}[1]{PLane\hspace{-0.1ex}T}
|
||||
\newcommand{\slant}[1]{{\textsl{#1}}}
|
||||
|
||||
% Used for <, >, and | in tt mode. For some fonts and installations,
|
||||
% there seems to be an encoding issue, so pick T1 explicitly:
|
||||
\newcommand{\Stttextmore}{{\fontencoding{T1}\selectfont>}}
|
||||
\newcommand{\Stttextless}{{\fontencoding{T1}\selectfont<}}
|
||||
\newcommand{\Stttextbar}{{\fontencoding{T1}\selectfont|}}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Tables
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user