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: 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: <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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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