Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e76309c

Browse files
committed
Merged revisions 4758-4772 via svnmerge from
http://matplotlib.svn.sf.net/svnroot/matplotlib/trunk/matplotlib ........ r4768 | mdboom | 2007-12-18 14:17:13 -0500 (Tue, 18 Dec 2007) | 2 lines Update information about the backends (Ps and Pdf were not mentioned.) ........ r4769 | mdboom | 2007-12-18 15:57:40 -0500 (Tue, 18 Dec 2007) | 2 lines Update list of supported math symbols. ........ r4770 | mdboom | 2007-12-18 15:59:56 -0500 (Tue, 18 Dec 2007) | 2 lines Update list of supported backends. ........ svn path=/branches/transforms/; revision=4773
1 parent c7578a6 commit e76309c

2 files changed

Lines changed: 104 additions & 65 deletions

File tree

lib/matplotlib/mathtext.py

Lines changed: 75 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -81,47 +81,84 @@
8181
8282
Allowed TeX symbols:
8383
84-
[MGDTODO: This list is no longer exhaustive and needs to be updated]
85-
86-
\/ \Delta \Downarrow \Gamma \Im \LEFTangle \LEFTbrace \LEFTbracket
87-
\LEFTparen \Lambda \Leftarrow \Leftbrace \Leftbracket \Leftparen
88-
\Leftrightarrow \Omega \P \Phi \Pi \Psi \RIGHTangle \RIGHTbrace
89-
\RIGHTbracket \RIGHTparen \Re \Rightarrow \Rightbrace \Rightbracket
90-
\Rightparen \S \SQRT \Sigma \Sqrt \Theta \Uparrow \Updownarrow
91-
\Upsilon \Vert \Xi \aleph \alpha \approx \angstrom \ast \asymp
92-
\backslash \beta \bigcap \bigcirc \bigcup \bigodot \bigoplus
93-
\bigotimes \bigtriangledown \bigtriangleup \biguplus \bigvee
94-
\bigwedge \bot \bullet \cap \cdot \chi \circ \clubsuit \coprod \cup
95-
\dag \dashv \ddag \delta \diamond \diamondsuit \div \downarrow \ell
96-
\emptyset \epsilon \equiv \eta \exists \flat \forall \frown \gamma
97-
\geq \gg \heartsuit \hspace \imath \in \infty \int \iota \jmath
98-
\kappa \lambda \langle \lbrace \lceil \leftangle \leftarrow
99-
\leftbrace \leftbracket \leftharpoondown \leftharpoonup \leftparen
100-
\leftrightarrow \leq \lfloor \ll \mid \mp \mu \nabla \natural
101-
\nearrow \neg \ni \nu \nwarrow \odot \oint \omega \ominus \oplus
102-
\oslash \otimes \phi \pi \pm \prec \preceq \prime \prod \propto \psi
103-
\rangle \rbrace \rceil \rfloor \rho \rightangle \rightarrow
104-
\rightbrace \rightbracket \rightharpoondown \rightharpoonup
105-
\rightparen \searrow \sharp \sigma \sim \simeq \slash \smile
106-
\spadesuit \sqcap \sqcup \sqrt \sqsubseteq \sqsupseteq \subset
107-
\subseteq \succ \succeq \sum \supset \supseteq \swarrow \tau \theta
108-
\times \top \triangleleft \triangleright \uparrow \updownarrow
109-
\uplus \upsilon \varepsilon \varphi \varphi \varrho \varsigma
110-
\vartheta \vdash \vee \vert \wedge \wp \wr \xi \zeta
111-
84+
$ \% \AA \AE \BbbC \BbbN \BbbP \BbbQ \BbbR \BbbZ \Bumpeq \Cap \Colon
85+
\Cup \Delta \Doteq \Downarrow \Equiv \Finv \Gamma \H \Im \L \Lambda
86+
\Ldsh \Leftarrow \Leftrightarrow \Lleftarrow \Lsh \Nearrow \Nwarrow
87+
\O \OE \Omega \P \Phi \Pi \Psi \Rdsh \Re \Rightarrow \Rrightarrow
88+
\Rsh \S \Searrow \Sigma \Subset \Supset \Swarrow \Theta \Uparrow
89+
\Updownarrow \Upsilon \Vdash \Vert \Vvdash \Xi \_ \__sqrt__ \ac
90+
\acute \acwopencirclearrow \adots \ae \aleph \alpha \angle \approx
91+
\approxeq \approxident \arceq \ast \asymp \backcong \backprime
92+
\backsim \backsimeq \backslash \bar \barleftarrow \barwedge \because
93+
\beta \beth \between \bigcap \bigcirc \bigcup \bigodot \bigoplus
94+
\bigotimes \bigstar \bigtriangledown \bigtriangleup \biguplus
95+
\bigvee \bigwedge \blacksquare \blacktriangle \blacktriangledown
96+
\blacktriangleleft \blacktriangleright \bot \bowtie \boxbar \boxdot
97+
\boxminus \boxplus \boxtimes \breve \bullet \bumpeq \c \candra \cap
98+
\carriagereturn \cdot \cdotp \cdots \check \checkmark \chi \circ
99+
\circeq \circledR \circledS \circledast \circledcirc \circleddash
100+
\circumflexaccent \clubsuit \clubsuitopen \colon \coloneq
101+
\combiningacuteaccent \combiningbreve \combiningdiaeresis
102+
\combiningdotabove \combininggraveaccent \combiningoverline
103+
\combiningrightarrowabove \combiningtilde \complement \cong \coprod
104+
\copyright \cup \cupdot \curlyeqprec \curlyeqsucc \curlyvee
105+
\curlywedge \curvearrowleft \curvearrowright \cwopencirclearrow \d
106+
\dag \daleth \danger \dashv \ddag \ddddot \dddot \ddot \ddots
107+
\degree \delta \diamond \diamondsuit \digamma \div \divideontimes
108+
\dot \doteq \dotminus \dotplus \dots \doublebarwedge ? \downarrow
109+
\downdownarrows \downharpoonleft \downharpoonright \downzigzagarrow
110+
\ell \emdash \emptyset \endash \enspace \epsilon \eqcirc \eqcolon
111+
\eqdef \eqgtr \eqless \eqsim \equiv \eta \eth \exists \fallingdotseq
112+
\flat \forall \frakC \frakZ \frown \gamma \geq \geqq \gg \ggg \gimel
113+
\gneqq \gnsim \grave \greater \gtrdot \gtreqless \gtrless \gtrsim
114+
\hat \heartsuit \hookleftarrow \hookrightarrow \i \iiint \iint
115+
\imageof \imath \in \infty \int \intercal \invnot \iota \jmath \k
116+
\kappa \kernelcontraction \l \lambda \lambdabar \lasp \lbrace
117+
\lbrack \lceil \leftangle \leftarrow \leftarrowtail \leftbrace
118+
\leftharpoonaccent \leftharpoondown \leftharpoonup \leftleftarrows
119+
\leftparen \leftrightarrow \leftrightarrows \leftrightharpoons
120+
\leftthreetimes \leq \leqq \less \lessdot \lesseqgtr \lessgtr
121+
\lesssim \lfloor \ll \llcorner \lll \lneqq \lnsim \looparrowleft
122+
\looparrowright \lq \lrcorner \ltimes \maltese \mapsdown \mapsfrom
123+
\mapsto \mapsup \measeq \measuredangle \mho \mid \minus \models \mp
124+
\mu \multimap \nLeftarrow \nLeftrightarrow \nRightarrow \nVDash
125+
\nVdash \nabla \napprox \natural \ncong \ne \nearrow \neg \nequiv
126+
\nexists \ngeq \ngtr \ni \nleftarrow \nleftrightarrow \nleq \nless
127+
\nmid \not \notin \nparallel \nprec \nrightarrow \nsim \nsime
128+
\nsubset \nsubseteq \nsucc \nsupset \nsupseteq \ntriangleleft
129+
\ntrianglelefteq \ntriangleright \ntrianglerighteq \nu \nvDash
130+
\nvdash \nwarrow \o \obar \ocirc \odot \oe \oiiint \oiint \oint
131+
\omega \ominus \oplus \origof \oslash \otimes \overarc
132+
\overleftarrow \overleftrightarrow \parallel \partial \phi \pi
133+
\pitchfork \pm \prec \preccurlyeq \preceq \precnsim \precsim \prime
134+
\prod \propto \prurel \psi \quad \questeq \rasp \rbrace \rbrack
135+
\rceil \rfloor \rho \rightangle \rightarrow \rightarrowbar
136+
\rightarrowtail \rightbrace \rightharpoonaccent \rightharpoondown
137+
\rightharpoonup \rightleftarrows \rightleftharpoons \rightparen
138+
\rightrightarrows \rightthreetimes \rightzigzagarrow \risingdotseq
139+
\rq \rtimes \scrB \scrE \scrF \scrH \scrI \scrL \scrM \scrR \scre
140+
\scrg \scro \scurel \searrow \sharp \sigma \sim \simeq \slash
141+
\smallsetminus \smile \solbar \spadesuit \spadesuitopen
142+
\sphericalangle \sqcap \sqcup \sqsubset \sqsubseteq \sqsupset
143+
\sqsupseteq \ss \star \stareq \sterling \subset \subseteq \subsetneq
144+
\succ \succcurlyeq \succeq \succnsim \succsim \sum \supset \supseteq
145+
\supsetneq \swarrow \t \tau \textasciiacute \textasciicircum
146+
\textasciigrave \textasciitilde \textexclamdown \textquestiondown
147+
\textquotedblleft \textquotedblright \therefore \theta \thickspace
148+
\thinspace \tilde \times \to \top \triangledown \triangleleft
149+
\trianglelefteq \triangleq \triangleright \trianglerighteq
150+
\turnednot \twoheaddownarrow \twoheadleftarrow \twoheadrightarrow
151+
\twoheaduparrow \ulcorner \underbar \uparrow \updownarrow
152+
\updownarrowbar \updownarrows \upharpoonleft \upharpoonright \uplus
153+
\upsilon \upuparrows \urcorner \vDash \varepsilon \varkappa
154+
\varnothing \varphi \varpi \varrho \varsigma \vartheta \vartriangle
155+
\vartriangleleft \vartriangleright \vdash \vdots \vec \vee \veebar
156+
\veeeq \vert \wedge \wedgeq \widehat \widetilde \wp \wr \xi \yen
157+
\zeta \{ \| \}
112158
113159
BACKENDS
114160
115-
mathtext currently works with GTK, Agg, GTKAgg, TkAgg and WxAgg and
116-
PS, though only horizontal and vertical rotations are supported in
117-
*Agg
118-
119-
mathtext now embeds the TrueType computer modern fonts into the PS
120-
file, so what you see on the screen should be what you get on paper.
121-
122-
Backends which don't support mathtext will just render the TeX
123-
string as a literal. Stay tuned.
124-
161+
mathtext currently works with all backends.
125162
126163
KNOWN ISSUES:
127164

setup.cfg.template

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ tag_svn_revision = 1
1313
#verbose = True
1414

1515
[provide_packages]
16-
# By default, matplotlib checks for a few dependencies and
17-
# installs them if missing. This feature can be turned off
16+
# By default, matplotlib checks for a few dependencies and
17+
# installs them if missing. This feature can be turned off
1818
# by uncommenting the following lines. Acceptible values are:
1919
# True: install, overwrite an existing installation
2020
# False: do not install
21-
# auto: install only if the package is unavailable. This
21+
# auto: install only if the package is unavailable. This
2222
# is the default behavior
2323
#
2424
## Date/timezone support:
@@ -30,28 +30,28 @@ tag_svn_revision = 1
3030
#configobj = False
3131

3232
[gui_support]
33-
# Matplotlib supports multiple GUI toolkits, including Cocoa,
34-
# GTK, Fltk, Qt, Qt4, Tk, and WX. Support for many of these
35-
# toolkits requires AGG, the Anti-Grain Geometry library, which
33+
# Matplotlib supports multiple GUI toolkits, including Cocoa,
34+
# GTK, Fltk, Qt, Qt4, Tk, and WX. Support for many of these
35+
# toolkits requires AGG, the Anti-Grain Geometry library, which
3636
# is provided by matplotlib and built by default.
3737
#
38-
# Some backends are written in pure Python, and others require
39-
# extension code to be compiled. By default, matplotlib checks
40-
# for these GUI toolkits during installation and, if present,
41-
# compiles the required extensions to support the toolkit. GTK
42-
# support requires the GTK runtime environment and PyGTK. Wx
43-
# support requires wxWidgets and wxPython. Tk support requires
44-
# Tk and Tkinter. The other GUI toolkits do not require any
45-
# extension code, and can be used as long as the libraries are
38+
# Some backends are written in pure Python, and others require
39+
# extension code to be compiled. By default, matplotlib checks
40+
# for these GUI toolkits during installation and, if present,
41+
# compiles the required extensions to support the toolkit. GTK
42+
# support requires the GTK runtime environment and PyGTK. Wx
43+
# support requires wxWidgets and wxPython. Tk support requires
44+
# Tk and Tkinter. The other GUI toolkits do not require any
45+
# extension code, and can be used as long as the libraries are
4646
# installed on your system.
47-
#
47+
#
4848
# You can uncomment any the following lines if you know you do
4949
# not want to use the GUI toolkit. Acceptible values are:
50-
# True: build the extension. Exits with a warning if the
50+
# True: build the extension. Exits with a warning if the
5151
# required dependencies are not available
5252
# False: do not build the extension
5353
# auto: build if the required dependencies are available,
54-
# otherwise skip silently. This is the default
54+
# otherwise skip silently. This is the default
5555
# behavior
5656
#
5757
#gtk = False
@@ -62,18 +62,20 @@ tag_svn_revision = 1
6262
[rc_options]
6363
# User-configurable options
6464
#
65-
# Default backend, one of: Agg, Cairo, CocoaAgg, GTK, GTKAgg,
66-
# GTKCairo, FltkAgg, QtAgg, Qt4Agg, SVG, TkAgg, WX, WXAgg.
67-
# Only the Agg and SVG backends do not require external
68-
# dependencies. Do not choose GTK, GTKAgg, GTKCairo, TkAgg or
69-
# WXAgg if you have disabled the relevent extension modules.
70-
# Agg will be used by default.
65+
# Default backend, one of: Agg, Cairo, CocoaAgg, GTK, GTKAgg,
66+
# GTKCairo, FltkAgg, Pdf, Ps, QtAgg, Qt4Agg, SVG, TkAgg, WX, WXAgg.
67+
#
68+
# The Agg, Ps, Pdf and SVG backends do not require external
69+
# dependencies. Do not choose GTK, GTKAgg, GTKCairo, TkAgg or WXAgg if
70+
# you have disabled the relevent extension modules. Agg will be used
71+
# by default.
72+
#
7173
#backend = Agg
7274
#
73-
# The numerix module was historically used to provide
75+
# The numerix module was historically used to provide
7476
# compatibility between the Numeric, numarray, and NumPy array
75-
# packages. Now that NumPy has emerge as the universal array
76-
# package for python, numerix is not really necessary and is
77-
# maintained to provide backward compatibility. Do not change
77+
# packages. Now that NumPy has emerge as the universal array
78+
# package for python, numerix is not really necessary and is
79+
# maintained to provide backward compatibility. Do not change
7880
# this unless you have a compelling reason to do so.
7981
#numerix = numpy

0 commit comments

Comments
 (0)