I am trying sagetex in cloud.sagemath.com. Sagetex manual says at the top 
of page 7, that if nothing is specified for the <ltx option>, 
"width=.75\textwidth" will be used. It's a good thing, so the plots do not 
extrapolate page margins. However, it's not working, and we should pass 
explicit the above command. Can anyone update the manual or correct the 
sagetex package?

Thank you!

João.

An example from the internet follows below.

\documentclass{article}
% -----------------------------The preamble 
---------------------------------
\usepackage{xcolor}
\usepackage{sagetex}  % use Sage for it's math ability
\usepackage{graphicx} % for including pictures
\pagestyle{empty}        % remove the page numbers
% --------------------------End of preamble 
---------------------------------
\begin{document}
\begin{sagesilent}
var('x')
f = x*sin(x)
pltf = plot(f,(x,-10,10))
\end{sagesilent}
\begin{center}
\sageplot{pltf} % plot extrapolate margins. To keep plot within margins 
\sageplot[width=.75\textwidth]{pltf} should be used
\end{center}
\end{document}

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to