• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Equation style display
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Equation style display


  • Subject: Re: Equation style display
  • From: Chris Hanson <email@hidden>
  • Date: Mon, 02 Jul 2012 12:01:49 -0700

Mathematical typesetting is actually incredibly complex, and people like Donald Knuth have dedicated significant portions of their careers to it. There's no simple way to go from a textual representation of a formula to a typeset version, not least of which because there's no universally agreed-upon textual representation or typeset version.

I'd also recommend using a web view to display an equation, along with one of the JavaScript TeX-to-HTML rendering packages. Stack Exchange uses one for their Mathematics Q&A site that seems to work pretty well. However, note that it's not instant.

  -- Chris

On Jul 2, 2012, at 8:55 AM, Jean Suisse <email@hidden> wrote:

> Dear all,
>
> I was wondering if there is a way to get the "pretty formatted" version of an equation (from an NSString) to display within a view (similar to the way Graph.app displays it).
> The question is open, any means is acceptable (if not too far-fetched).
> I know I can get a .png version using a call to a php script, but since MAC OS already ships with softwares capable of doing it, maybe there is a more elegant (and simple) way of implementing this feature.
>
> Any idea ?
>
> With my thanks,
> Jean
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Equation style display
      • From: Jean Suisse <email@hidden>
References: 
 >Equation style display (From: Jean Suisse <email@hidden>)

  • Prev by Date: Re: Equation style display
  • Next by Date: Re: NSInteger vs int vs int32_t
  • Previous by thread: Re: Equation style display
  • Next by thread: Re: Equation style display
  • Index(es):
    • Date
    • Thread