Yes, I know, this is what people suggested on stackoverflow. I would like to have a solution which doesn't use matthext, but using the same fonts used elsewhere.
no, what people suggested on stack overflow was latex (having to set
usetex=True). I am talking about "math text", which is matplotlib's
mini-latex language. You don't need to turn on usetex or have latex
installed. It'll just work.
Yes, I know, this is what people suggested on stackoverflow. I would like
to have a solution which doesn't use matthext, but using the same fonts
used elsewhere.
ok, thank you, but it seems to me that math text is oriented to writing formulas. I need to write some sentences and to set some words in bold. It is quite difficult to achieve this with math text, for example for the spaces.
Indeed, it is oriented to writing formulas, as much of our user-base is
familiar with latex and the amstex extension.
While I wouldn't be against someone adding new functionality to support
markdown or ReST, I am skeptical of its value:
markdown is great for prose that doesn't need to get cluttered with some
markup language. Nobody* is going to be plotting prose using matplotlib.
matplotlib's text objects supports mathtext out-of-the-box. Just need
the dollar signs to denote where to parse the mathtext. If one wants to
support markdown, then that may or may not conflict with the native support
for mathtext. I don't know for sure, but I wouldn't be surprised. Might
need a keyword argument or an rcParam to turn on?
How much of markdown should we support? Bullets? URLs? Images?
There is a cost/benefit to consider here, especially in the context of the
existing support for \textit{} and family.
Activity
WeatherGod commented on Jul 6, 2016
It supports "mathtext": http://matplotlib.org/users/mathtext.html
On Wed, Jul 6, 2016 at 3:55 AM, Ruggero Turra notifications@github.com
wrote:
wiso commented on Jul 6, 2016
Yes, I know, this is what people suggested on stackoverflow. I would like to have a solution which doesn't use matthext, but using the same fonts used elsewhere.
WeatherGod commented on Jul 6, 2016
no, what people suggested on stack overflow was latex (having to set
usetex=True). I am talking about "math text", which is matplotlib's
mini-latex language. You don't need to turn on usetex or have latex
installed. It'll just work.
On Wed, Jul 6, 2016 at 10:18 AM, Ruggero Turra notifications@github.com
wrote:
wiso commented on Jul 6, 2016
ok, thank you, but it seems to me that math text is oriented to writing formulas. I need to write some sentences and to set some words in bold. It is quite difficult to achieve this with math text, for example for the spaces.
WeatherGod commented on Jul 6, 2016
Indeed, it is oriented to writing formulas, as much of our user-base is
familiar with latex and the amstex extension.
While I wouldn't be against someone adding new functionality to support
markdown or ReST, I am skeptical of its value:
markup language. Nobody* is going to be plotting prose using matplotlib.
the dollar signs to denote where to parse the mathtext. If one wants to
support markdown, then that may or may not conflict with the native support
for mathtext. I don't know for sure, but I wouldn't be surprised. Might
need a keyword argument or an rcParam to turn on?
There is a cost/benefit to consider here, especially in the context of the
existing support for \textit{} and family.
On Wed, Jul 6, 2016 at 10:33 AM, Ruggero Turra notifications@github.com
wrote:
mdboom commented on Jul 6, 2016
MEP14 addresses some of these rich formatting issues. It would be a large project, but help is always welcome.
anntzer commented on Nov 15, 2016
Superseded by #7291 (MEP29: markup text).