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
1answer
89 views

How to pass parameters to Sage from Sagetex?

I haven't found a way to pass parameters to a sagesilent environment, so I wonder if it's possible. My final purpose is to combine sagetex with probsoln. The package probsoln lets you manage a problem ...
1
vote
0answers
16 views

How to store values in variables in sagetex?

The sagetex documentation (S. 5) says Also keep in mind that everything you send to Sage is done within one Sage session. This means you can define variables and reuse them throughout your LaTeX ...
1
vote
0answers
56 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
47 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
148 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
13 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
145 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}{ ...