diff options
author | Fred Drake <fdrake@acm.org> | 2005-03-24 06:21:37 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2005-03-24 06:21:37 (GMT) |
commit | 712f07082df29ee29352e5d0b57e28370e4e8a33 (patch) | |
tree | 40f0074abfd3662023db45a879dcee3c1abc4b1a /Doc/tests | |
parent | 8efd90485c5d560571a71e72046d1b90ef8529a4 (diff) | |
download | cpython-712f07082df29ee29352e5d0b57e28370e4e8a33.zip cpython-712f07082df29ee29352e5d0b57e28370e4e8a33.tar.gz cpython-712f07082df29ee29352e5d0b57e28370e4e8a33.tar.bz2 |
clean up the underscore mess for the typeset formats so that subscripts
work in math displays (thanks to Bo Peng on the Doc-SIG)
Diffstat (limited to 'Doc/tests')
-rw-r--r-- | Doc/tests/math.tex | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Doc/tests/math.tex b/Doc/tests/math.tex new file mode 100644 index 0000000..11880e5 --- /dev/null +++ b/Doc/tests/math.tex @@ -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} |