Changes

Jump to navigation Jump to search
419 bytes added ,  21:12, 3 September 2010
Added info about positioning.
[[Image:TikZ_example.png]]
 
== Placing TikZ graphics ==
 
You should wrap TikZ graphics inside \hbox when placing them, for example:
 
<texcode>
 
\placefigure[here][fig:myfig]{My figure.}{\hbox{\starttikzpicture
\draw (0, 0) circle (3cm);
\stoptikzpicture}}
 
</texcode>
 
Otherwise, positioning will not work (figure will not be centered). See [http://www.ntg.nl/pipermail/ntg-context/2007/023177.html this post] by Aditya Mahajan for explanation.
== See also ==
10

edits

Navigation menu