Feeds:
Posts
Comments

## SAGE tip: Hiding LaTeX code in the notebook

A quick tip today, thanks to Jason from the google group for the tip. 🙂

I must admit to be a LaTeX addict, I’ve never used a wysiwyg editor… I do everything in LaTeX code,

• Reports,
• Magazine articles,
• Letters,
• Scientific articles,
• Tried once to do a music sheet,
• Posters,
• I tried sagetex,
• and plenty more!…
• When I discover that SAGE notebook accepted LaTeX code, that help convince me to use it!!!

Example:

%latex
$\vec{F} = m\vec{a}$

generates

$\vec{F} = m\vec{a}$

I use this method to explain in the calculation worksheet what I’m doing. However, when trying to print the sheet the LaTeX code was around and the file was `messy’.

If you use either %hide or %hideall character, the LaTeX output is hidden (at least when you want to print). Sometimes I get the cose hidden as well in the notebook, but thats not that important as hiding it when printing 🙂

Thank you again Jason.

Cheers!!

Dox

Advertisements

### One Response

1. […] This post was mentioned on Twitter by Patricia Rodríguez, sagemath.org. sagemath.org said: SAGE tip: Hiding LaTeX code in the notebook… http://fb.me/UBSHGLL3 […]