On Apr 16, 1:41 pm, gerhard <ge01...@yahoo.de> wrote:

Hi,

> This started out in grading notebooks, but does not really belong
> there.
> -----
> I am happy to report the functionality to modify
> the latex header for notebook output is already present in sage:
>
>     sage:  import sage.misc.latex as l
>
>     sage:  l.LATEX_HEADER+='\\def \\pgfsysdriver {pgfsys-dvips.def}\n
>                                               \\usepackage{tikz\n
>                                               \\usetikzlibrary
> {shapes,fit,positioning}\n'
>     sage:  print 'LATEX_HEADER\n', l.LATEX_HEADER
>
> does work as expected.

Yes, but I would not call the above construct elegant, so having
something cleaner and more accessible for the average user would be
nice. John Palmieri posted a patch to trac, so hopefully it will be
reviewed soon.

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to