CoCalc Shared FilesSagecloud handling of out and infile for sagetex.texOpen in CoCalc with one click!
Author: Dominique Laurain
Views : 20
1
\documentclass{article}
2
\title{Title of Document}
3
\author{Name of Author}
4
\usepackage{amsmath}
5
\usepackage{sagetex}
6
7
\setlength{\sagetexindent}{10ex}
8
9
\begin{document}
10
\maketitle
11
12
\section{Inline Sage, code blocks}
13
14
This is an example $2+2=\sage{2+2}$
15
16
17
\end{document}
18