Revision: 8050 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8050&view=rev Author: mdboom Date: 2009-12-22 17:03:29 +0000 (Tue, 22 Dec 2009)
Log Message: ----------- Add docs for new features in mathtext Modified Paths: -------------- trunk/matplotlib/doc/users/mathtext.rst Modified: trunk/matplotlib/doc/users/mathtext.rst =================================================================== --- trunk/matplotlib/doc/users/mathtext.rst 2009-12-21 19:49:17 UTC (rev 8049) +++ trunk/matplotlib/doc/users/mathtext.rst 2009-12-22 17:03:29 UTC (rev 8050) @@ -23,11 +23,11 @@ customization variable ``mathtext.fontset`` (see :ref:`customizing-matplotlib`) -.. note:: - On `"narrow" <http://wordaligned.org/articles/narrow-python>`_ builds +.. note:: + On `"narrow" <http://wordaligned.org/articles/narrow-python>`_ builds of Python, if you use the STIX fonts you should also set ``ps.fonttype`` and ``pdf.fonttype`` to 3 (the default), not 42. - Otherwise `some characters will not be visible + Otherwise `some characters will not be visible <http://thread.gmane.org/gmane.comp.python.matplotlib.general/19963/focus=19978>`_. Here is a simple example:: @@ -85,18 +85,20 @@ \sum_{i=0}^\infty x_i -Fractions ---------- +Fractions, binomials and stacked numbers +---------------------------------------- -Fractions can be created with the ``\frac{}{}`` command:: +Fractions, binomials and stacked numbers can be created with the +``\frac{}{}``, ``\binom{}{}`` and ``\stackrel{}{}`` commands, +respectively:: - r'$\frac{3}{4}$' + r'$\frac{3}{4} \binom{3}{4} \stackrel{3}{4}$' produces .. math:: - \frac{3}{4} + \frac{3}{4} \binom{3}{4} \stackrel{3}{4} Fractions can be arbitrarily nested:: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins