[IPython-dev] Using \( \), \[ \] instead of $...$, $$...$$ fox LaTeX math
Tue Jan 10 21:51:51 CST 2012
Thank you for the reply.
Actually I was not talking about making it configurable, just additionally
supporting \( \) and \[ \] besides $ and $$. As far as I know \( \) and
\[ \] are as widely used as $ and $$ for latex math. I'm sorry I said
"instead of" in the title. Should have used "in addition to." :)
When I first started using latex in several years ago, I saw an
documentation which recommended using \( \) and \[ \] instead of $...$
and $$...$$ somewhere (I don't remember where :)), so I have preferred
In fact, in the Mathjax documentation
(http://www.mathjax.org/docs/1.1/start.html), actually it says that "Note
in particular that the $...$ in-line delimiters are not used by default,"
because $ sign comes up too frequently in non-mathematical settings.
Mathjax supports both \[...\] and \(...\) by default. I just tried
matplotlib and I could use \( \) there too. (It seems matplotlib does not
support neither $$ nor \[ \].)
On Tue, 10 Jan 2012 14:17:51 -0600, Brian Granger <firstname.lastname@example.org>
> There are a number of levels that this choice enters in:
> * Our display system enforces that latex means $ and $$. This is
> important as it provides a uniform interface for all people who want
> to develop custom latex representations of their objects for display
> in the notebook. As time goes on, many third parties will rely on
> this convention.
> * The configuration of MathJax and matplotlib in the notebook and
> qtconsole. This has to line up with the conventions in the display
> system, otherwise things won't work properly.
> I think this is one case where it doesn't make sense for this to be
> configurable. Otherwise we can't promise that everyones code will
> "just work" in IPython. Is there a reason you can't use $ and $$?
> On Tue, Jan 10, 2012 at 10:21 AM, Joon Ro <email@example.com> wrote:
>> I just started using notebook, and it looks awesome. Thank you so much
>> your dedicated work. I cannot wait to try using it through a remote
>> Anyway, I was thinking it would be great if it is possible to use \( \),
>> \[ \] instead of $...$, $$...$$ in the notebook for the math. Would
>> be easily implementable?
>> Thank you,
>> IPython-dev mailing list
Using Opera's revolutionary email client: http://www.opera.com/mail/
More information about the IPython-dev