Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Assuming sagemath means Sagemath Cloud, you can. First you need to put \usepackage{graphicx} in your preamble (before \begin{document}). Then you insert the picture as nousfalasharaf indicates: \includegraphics{picturename.pgn}.

Depending on how your picture was made, you might find your picture is too big/small. The \includegraphics command comes with options to help with the size, rotation, etc. The LaTeX wiki is a great reference to answer many questions. The section on including graphics and the various options is here.

Note (in the link above) that if you aren't using Sagemath Cloud to compile your document and the engine used is LaTeX, rather than pdfLaTeX, then it won't compile. It needs images as eps files.

Assuming sagemath means Sagemath Cloud, you can. First you need to put \usepackage{graphicx} in your preamble (before \begin{document}). Then you insert the picture as nousfalasharaf indicates: \includegraphics{picturename.pgn}.\includegraphics{picturename.png}.

Depending on how your picture was made, you might find your picture is too big/small. The \includegraphics command comes with options to help with the size, rotation, etc. The LaTeX wiki is a great reference to answer many questions. The section on including graphics and the various options is here.

Note (in the link above) that if you aren't using Sagemath Cloud to compile your document and the engine used is LaTeX, rather than pdfLaTeX, then it won't compile. It needs images as eps files.