On Apr 16, 2:31 pm, mabshoff <mabsh...@googlemail.com> wrote: > 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.
Well, I *hope* to post a patch to trac soon, but I haven't actually done it yet. John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---