Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #92497

Re: How to pretty mathematical formulas in Python? Similar to Mathematica formats.

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <random832@fastmail.us>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.05; 'plenty': 0.07; 'subject:How': 0.09; 'received:internal': 0.09; 'stack': 0.13; 'thu,': 0.15; 'examples:': 0.16; 'formats.': 0.16; 'formula': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'sebastian': 0.16; 'subject: \n ': 0.16; 'wrote:': 0.16; 'python?': 0.18; 'module': 0.23; 'header:In-Reply-To:1': 0.24; 'mathematical': 0.27; 'matplotlib': 0.29; 'subset': 0.29; 'similar': 0.32; 'another': 0.34; 'google': 0.34; 'to:addr:python-list': 0.35; 'url:org': 0.36; 'there': 0.36; 'should': 0.37; 'received:10': 0.37; 'subject:: ': 0.37; 'received:66': 0.38; 'to:addr:python.org': 0.39; 'resources': 0.39; 'called': 0.40; 'learn': 0.60; 'your': 0.60; 'from:no real name:2**0': 0.61; "you've": 0.61; 'header:Message-Id:1': 0.62; 'python-list': 0.66; 'search,': 0.72; 'cheung': 0.84; 'mathematica': 0.84; 'subject:formulas': 0.84; 'url:api': 0.84
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=G05o3E5vnPIScgJuNYWL0fZ+7gM=; b=trDe+v QxBJx3rasLvcRD8XLahsr/xvY+kFOPQo2Lx0FRVBq5CBeIwqPucP4PElmc0OO/Fm XpuLwQYqyA7UfpDAPxd/QC9w/bhkl/LLSxDgF330MPEsBRWXgvuVPc96kq9V6ECy ZrajQXKpLbqRt2pfywqjDiGDEAMJUigAkR8hA=
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=G05o3E5vnPIScgJ uNYWL0fZ+7gM=; b=b4qu7Lf88refcYecIWkcexbEYGSgv3Kza/SZQ7EzffZxl1Y D4rSvH3SlkRg6g95zgRo1vDcwSzfLdyKI+iOYKYNrHBmRXOD9QY5PBkYHs7kr3RZ yaPyCUlbkeLNQTFDJX/LmErHS+OLH36iXWQOZGdCNgay8GR/n0BUu6udz7kI=
X-Sasl-Enc 5lONpxjFa5y3lwjR6bZxZZcFGDvs6nKiRsw03t6K+KzO 1434049042
From random832@fastmail.us
To python-list@python.org
MIME-Version 1.0
Content-Transfer-Encoding 7bit
Content-Type text/plain
X-Mailer MessagingEngine.com Webmail Interface - ajax-ff004c4b
Subject Re: How to pretty mathematical formulas in Python? Similar to Mathematica formats.
Date Thu, 11 Jun 2015 14:57:22 -0400
In-Reply-To <1434048887.945315.293214537.69EE7894@webmail.messagingengine.com>
References <b881edd8-55e7-4eea-88fd-7b3a094a295c@googlegroups.com> <1434048887.945315.293214537.69EE7894@webmail.messagingengine.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.406.1434049046.13271.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1434049046 news.xs4all.nl 2869 [2001:888:2000:d::a6]:50823
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:92497

Show key headers only | View raw


On Thu, Jun 11, 2015, at 14:54, random832@fastmail.us wrote:
> On Thu, Jun 11, 2015, at 14:32, Sebastian M Cheung via Python-list
> wrote:
> > How to pretty mathematical formulas in Python? Similar to Mathematica
> > formats.
> > 
> > Are there good packages to prettify mathematica formulas in Python?
> 
> From a google search, apparently matplotlib has a module called mathtext
> which uses a subset of LaTeX.
> 
> http://matplotlib.org/api/mathtext_api.html
> 
> Of course, you've got to put your formula in LaTeX format... which is
> the same format used on Stack Exchange and Wikipedia, so you should be
> able to find plenty of resources to learn about it.

I found another page on matplotlib's site with examples:
http://matplotlib.org/users/mathtext.html

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to pretty mathematical formulas in Python? Similar to Mathematica formats. Sebastian M Cheung <minscheung@googlemail.com> - 2015-06-11 11:32 -0700
  Re: How to pretty mathematical formulas in Python? Similar to Mathematica formats. random832@fastmail.us - 2015-06-11 14:54 -0400
  Re: How to pretty mathematical formulas in Python? Similar to Mathematica formats. random832@fastmail.us - 2015-06-11 14:57 -0400
  Re: How to pretty mathematical formulas in Python? Similar to Mathematica formats. TheSeeker <duane.kaufman@gmail.com> - 2015-06-11 13:27 -0700
  Re: How to pretty mathematical formulas in Python? Similar to Mathematica formats. Sebastian M Cheung <minscheung@googlemail.com> - 2015-06-11 15:04 -0700

csiph-web