# Revision history [back]

Thanks for reporting this! Indeed the documentation at http://www.sagemath.org/tour-quickstart.html is obsolete and should be fixed. As for the reason why you get _SAGE_VAR_x now, see the explanation in @nbruin 's answer. To get the pretty printing in console mode, simply use the magic command %display ascii_art:

sage: %display ascii_art
sage: f = 1 - sin(x)^2
sage: f
2
- sin (x) + 1


Note that you can use LaTeX typeset display by %display latex:

sage: %display latex
sage: f
\newcommand{\Bold}[1]{\mathbf{#1}}-\sin\left(x\right)^{2} + 1


However, this display mode is more adapted to the Jupyter notebook: there you really get the typeset display (see e.g. here for some example), not the raw LaTeX code.

Thanks for reporting this! Indeed the documentation at http://www.sagemath.org/tour-quickstart.html is obsolete and should be fixed. fixed (I've opened issue #151 for it). As for the reason why you get _SAGE_VAR_x now, see the explanation in @nbruin 's answer. To get the pretty printing in console mode, simply use the magic command %display ascii_art:

sage: %display ascii_art
sage: f = 1 - sin(x)^2
sage: f
2
- sin (x) + 1


Note that you can use LaTeX typeset display by %display latex:

sage: %display latex
sage: f
\newcommand{\Bold}[1]{\mathbf{#1}}-\sin\left(x\right)^{2} + 1


However, this display mode is more adapted to the Jupyter notebook: there you really get the typeset display (see e.g. here for some example), not the raw LaTeX code.

NB: for an up-to-date quick start guide, see the Chapter First Steps of the recent free book Computational Mathematics with SageMath.