On Fri, Aug 29, 2008 at 1:22 AM, Maike <[EMAIL PROTECTED]> wrote:
>
> Hello again,
>
> is there any way to use latex packages within sage? I'd like to write
> a german text, and that will be a pain if
>
> %latex
> \usepackage{ngerman}
>
> doen't work. Maybe I first have to install the package somewhere??
There is no current supported way to do the above.
It shouldn't be hard for somebody to add though. How complicated
of a pre-amble do you want? Would something like the following
be acceptable to you?
sage: latex.set_preamble('\\usepackage{ngerman} [etc]')
then henceforth %latex would always include
the \usepackage{ngerman} code before typesetting
a cell. The above would be extremely easy to implement.
-- William
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---