How do you type math equations?

Is there a way to type math equations (showing division, exponents, etc.) in Pages?

MacBook Pro, OS X Mountain Lion (10.8.2)

Posted on Sep 23, 2012 2:14 PM

Reply
10 replies

Jan 13, 2014 6:52 PM in response to htdakar

With no slight to MathType, and with a bit of humor, one can generate equations natively on OS X. From the command line. Using tools that predate Apple and Microsoft. Well the original tools anyway. Here, I have borrowed groff(1) from GNU and took advantage of everything in Mavericks. Some of the older, published scientists had no choice but to submit papers to the IEEE in this format.


The source file, with the command-line syntax as a comment, that generates a 0.6 inch x 3.35 inch PDF image of an equation. This PDF can be dragged and dropped into either Pages application, with minimal scaling.


eqn.mom

\# groff -e -Tps -P-p0.6i,3.35i -mom eqn.mom | pstopdf -i -o eqn.pdf
\#
.L_MARGIN 0.15i
.R_MARGIN 0.15i
.PT_SIZE 12
.EQ
G(z) ~=~ e sup { ln ~ G(z) }
    ~=~ exp left ( sum from k>=1 { S sub k z sup k } over k right )
    ~=~ prod from k>=1 e sup { S sub k z sup k /k }
.EN


And, the resulting PDF equation image breaking up a Latin dance party:


User uploaded file

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do you type math equations?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.