mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
clean up the underscore mess for the typeset formats so that subscripts
work in math displays (thanks to Bo Peng on the Doc-SIG)
This commit is contained in:
parent
8efd90485c
commit
712f07082d
4 changed files with 256 additions and 28 deletions
16
Doc/tests/math.tex
Normal file
16
Doc/tests/math.tex
Normal file
|
@ -0,0 +1,16 @@
|
|||
\documentclass{howto}
|
||||
|
||||
\title{Test of python.sty with math}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
|
||||
\section{Subscripts in Math Mode}
|
||||
|
||||
This contains an inline formula containing a subscript: $H_20$.
|
||||
This display doesn't make sense, but contains a subscript as well:
|
||||
|
||||
$$\sum_1^2 = a_x$$
|
||||
|
||||
\end{document}
|
Loading…
Add table
Add a link
Reference in a new issue