## Monday, 26 August 2013

### how to put equations into Apple Pages

1. Download and install LaTeX. LaTeX is an Open Source typesetting program intended for producing scientific and academic articles and research work. To get LaTeX, go to:

http://guides.macrumors.com/Installing_LaTeX_on_a_Mac

2. Create a text box in Apple Pages:

3. Type a LaTeX equation into the text box. If you don't know how to do this, install Daum Equation Editor from the app store and click the TeX button (light blue in the grey bar at the bottom):

So this shows what the LaTeX equation syntax is.

\sqrt { a+b } \int { h\left( x \right)  }

Which looks like this:

4. Copy the LaTeX equation as writing/text/syntax and paste it into the text box.

5. Install LaTeXiT from here:

https://www.macupdate.com/app/mac/17889/latexit

6. Save your document, quit Pages, to make sure it understands the new fonts. You'll only have to do this the first time you install all these things.

7. Re-open your document.

8. Highlight the equation

9. Go to Pages: Services: Typeset LaTeX text or Typeset LaTeX Maths Display

10. It will now render the equation as proper mathematical symbols, like so. You can now click on the equation and make it bigger if you want to check the resolution of the font.

11. In future, you need only do steps 3, 4, 8, 9 for each equation.

### php 7 nightmare

OK so Centos 6 insists on installing php 5.3 and even if you download other RPMs and install them, they do not replace the existing 5.3 whic...