File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77You can use a subset TeX markup in any matplotlib text string by placing it
88inside a pair of dollar signs ($).
99
10- Note that you do not need to have TeX installed, since matplotlib ships
11- its own TeX expression parser, layout engine and fonts. The layout engine
10+ Note that you do not need to have TeX installed, since Matplotlib ships
11+ its own TeX expression parser, layout engine, and fonts. The layout engine
1212is a fairly direct adaptation of the layout algorithms in Donald Knuth's
1313TeX, so the quality is quite good (matplotlib also provides a ``usetex``
1414option for those who do want to call out to TeX to generate their text (see
7676
7777 \sum_{i=0}^\infty x_i
7878
79- Fractions, binomials and stacked numbers
80- ----------------------------------------
79+ Fractions, binomials, and stacked numbers
80+ -----------------------------------------
8181
82- Fractions, binomials and stacked numbers can be created with the ``\frac{}{}``,
82+ Fractions, binomials, and stacked numbers can be created with the ``\frac{}{}``,
8383``\binom{}{}`` and ``\stackrel{}{}`` commands, respectively::
8484
8585 r'$\frac{3}{4} \binom{3}{4} \stackrel{3}{4}$'
You can’t perform that action at this time.
0 commit comments