## SAGE tip: Hiding LaTeX code in the notebook

February 10, 2011 by doxdrum

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

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

51.609574
-3.980685

### Like this:

Like Loading...

*Related*

Posted in Linux, Mathematics, Physics, Science | Tagged Calculation, chrome, chromium, Code, Free, Hidden, Hide, Hiding, How to, HowTo, LaTeX, Line, Linux, Maple, Mathematica, Mathematics, Matlab, Notebook, Online, Programming, Python, Sage, Sage-dev, Sagemath, Symbolic, Terminal, Tips and Tricks, Ubuntu, Web Browser | 1 Comment

on February 10, 2011 at 9:42 pm |Tweets that mention SAGE tip: Hiding LaTeX code in the notebook « Doxdrum's Blog -- Topsy.com[…] 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 […]