[Numpy-svn] r5265 - trunk/numpy/doc

numpy-svn at scipy.org numpy-svn at scipy.org
Wed Jun 11 14:38:37 EDT 2008


Author: stefan
Date: 2008-06-11 13:38:20 -0500 (Wed, 11 Jun 2008)
New Revision: 5265

Modified:
   trunk/numpy/doc/HOWTO_DOCUMENT.txt
Log:
How to use variables in math markup.


Modified: trunk/numpy/doc/HOWTO_DOCUMENT.txt
===================================================================
--- trunk/numpy/doc/HOWTO_DOCUMENT.txt	2008-06-08 23:04:42 UTC (rev 5264)
+++ trunk/numpy/doc/HOWTO_DOCUMENT.txt	2008-06-11 18:38:20 UTC (rev 5265)
@@ -237,6 +237,12 @@
 
      The value of :math:`\omega` is larger than 5.
 
+   Variable names are displayed in typewriter font, obtained by using
+   ``\mathtt{var}``::
+
+     We square the input parameter `alpha` to obtain
+     :math:`\mathtt{alpha}^2`.
+
    Note that LaTeX is not particularly easy to read, so use equations
    sparingly.
 




More information about the Numpy-svn mailing list