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. Next, a cell with the following text: %latex \begin{tikzpicture}[>=stealth] \draw[red,rotate=10,scale=.5,ultra thick] (0.375,0) ellipse (1.125 and 2.0945); \end{tikzpicture} oh? will produce an ellipse with the string "oh?" to the left. Without "oh?", however, I get not output at all??? -puzzled --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---