SageTeX is a package enabling Sage mathematics software to be used from within LaTeX documents in a wide variety of ways, similar to Sweave in R.

learn more… | top users | synonyms

1
vote
0answers
35 views

How to pass a function defined in sagetex to pgfplots

Is there any way to pass a function defined in sagtex to pgfplots for plotting? See the following example. \documentclass{article} \usepackage{pgfplots} \usepackage{sagetex} \begin{document} ...
1
vote
0answers
57 views

An 'equals to' statement to the side of your matrix using LaTeX

so I am using Sage and I am trying to get the statement {B_{old}}^{-1} = beside my matrix \[ \begin{pmatrix} 0 & 0 & 0 & 0 & 0 & 0 & -1 \\ 1 & {3\over10} & 0 & ...
1
vote
0answers
52 views

using sagetex hebrew

i wrote some code in sagtex and it run ok i use in \sagestr macro however when i insert the following 2 lines \usepackage[utf8x]{inputenc} \usepackage[english,hebrew]{babel} i cannot complie the ...
1
vote
0answers
178 views

Is it possible to use `lualatex`'s DVI output with `fontspec` without getting font-related errors?

Is it possible to use lualatex's DVI output with fontspec without getting font-related errors? I want to use the (eps-based) output of sagetex with a lualatex generated document with fontspec. As ...
0
votes
0answers
39 views

Is it possible to emulate a Sage session with SageTeX?

I'm editing an existing calculus book that uses Sage to demonstrate concepts. The existing book has Sage code listings that show what output the user will see if they duplicate the commands. For ...
0
votes
0answers
65 views

How to run LuaLaTeX or sagetex?

I have OSX. Texlive2014 is installed. I am using Texmaker. But I cannot compile a simple lualatex or sagetex source file. I get lots of errors. I have to install something or set something in the ...
0
votes
0answers
20 views

Getting TeX Live to see SageTeX on Arch Linux

I installed TeX Live 2014 using the network install. The value of TEXMFLOCAL is /usr/local/texlive/texmf-local and of TEXMFHOME is ~/texmf. SageTeX was installed using my distribution's package ...
0
votes
0answers
25 views

How to use sage recursively (term reusage)?

I want to use sage not only for calculations in the LaTeX source, but for maximal text reusage (e.g. in order to avoid typos in large sums). The following example illustrates my problem and shows my ...
0
votes
0answers
154 views

How to make a package using sagetex and sage-commands

I am trying to make my own package building on sagetex. It starts with \RequirePackage{sagetex} and I want it to execute some 'sagesilent' code as for instance \newcommand{\loadsagefunction}{ ...