Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is it possible to customize the default behavior of sagetex?

When using sagetex, I want my matrices to have square brackets and my vectors to have angled brackets. Hence, the first thing I do after \begin{document} is include the code

  \begin{sagesilent}
    latex.matrix_delimiters(left='[', right=']')
    latex.vector_delimiters(left='<', right='>')
  \end{sagesilent}

This is very annoying. Is it possible to set sagetex up to do this by default?