From: Adam Megacz Date: Sun, 15 May 2011 21:31:23 +0000 (-0700) Subject: add begin/end{preview} to tex output X-Git-Url: http://git.megacz.com/?p=coq-hetmet.git;a=commitdiff_plain;h=2444f0cbf7ed5c744c43dbca114a4f400cd1522f add begin/end{preview} to tex output --- diff --git a/examples/GArrowTikZ.hs b/examples/GArrowTikZ.hs index 54c31ee..6ebaded 100644 --- a/examples/GArrowTikZ.hs +++ b/examples/GArrowTikZ.hs @@ -341,9 +341,11 @@ tikz example putStrLn "\\usepackage[tightpage,active]{preview}" putStrLn "\\begin{document}" putStrLn "\\setlength\\PreviewBorder{5pt}" + putStrLn "\\begin{preview}" putStrLn $ "\\begin{tikzpicture}[every on chain/.style={join=by ->},yscale=-1]" putStrLn (toTikZ example) putStrLn "\\end{tikzpicture}" + putStrLn "\\end{preview}" --putStrLn "\\pagebreak" --putStrLn "\\begin{align*}" --putStr (toTikZ' example)