mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Extend the list of special characters and magic markup used to produce them
to include various characters used in code samples, URLs, and other special contexts. This closes SF bug #525684.
This commit is contained in:
parent
f171ad9d99
commit
e789ea19c1
1 changed files with 10 additions and 6 deletions
|
|
@ -391,14 +391,18 @@ This \UNIX\ is also followed by a space.
|
|||
\end{verbatim}
|
||||
|
||||
There are a number of less-used marks in \LaTeX{} which are used
|
||||
to enter non-\ASCII{} characters, especially those used in
|
||||
European names. Given that these are often used adjacent to other
|
||||
characters, the markup required to produce the proper character
|
||||
may need to be followed by a space or an empty group, or the
|
||||
markup can be enclosed in a group. Some which are found in Python
|
||||
documentation are:
|
||||
to enter characters which are not found in \ASCII{} or which a
|
||||
considered special, or \emph{active} in \TeX{} or \LaTeX. Given
|
||||
that these are often used adjacent to other characters, the markup
|
||||
required to produce the proper character may need to be followed
|
||||
by a space or an empty group, or the markup can be enclosed in a
|
||||
group. Some which are found in Python documentation are:
|
||||
|
||||
\begin{tableii}{c|l}{textrm}{Character}{Markup}
|
||||
\lineii{\textasciicircum}{\code{\e textasciicircum}}
|
||||
\lineii{\textasciitilde}{\code{\e textasciitilde}}
|
||||
\lineii{\textgreater}{\code{\e textgreater}}
|
||||
\lineii{\textless}{\code{\e textless}}
|
||||
\lineii{\c c}{\code{\e c c}}
|
||||
\lineii{\"o}{\code{\e"o}}
|
||||
\lineii{\o}{\code{\e o}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue