From 2444f0cbf7ed5c744c43dbca114a4f400cd1522f Mon Sep 17 00:00:00 2001 From: Adam Megacz Date: Sun, 15 May 2011 14:31:23 -0700 Subject: [PATCH] add begin/end{preview} to tex output --- examples/GArrowTikZ.hs | 2 ++ 1 file changed, 2 insertions(+) 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) -- 1.7.10.4