1. Dan Drake
  2. SageTeX


Dan Drake  committed b08b24d

more examples

  • Participants
  • Parent commits 3e5d53b
  • Branches default

Comments (0)

Files changed (1)

File example.tex

View file
+Plotting things doesn't automatically pull in the plot, just the text
+representation of the plot (the equivalent of applying \texttt{str()} to
+  sage: plot(sin(x), (x, 0, 2*pi))
+You can include output, but it will be ignored. This is useful for
+doctesting, as all the \texttt{sagecommandline} environment things get
+put into the ``\texttt{\_doctest.sage}'' file.
+  sage: factor(x^2 + 2*x + 1)
+  (x + 999)^2