Marcin Borkowski wrote: > Hi again;), > > this won't work: > > \placefigure[right]{none}{\starttikzpicture > \draw (0,0) -| (2,2) -| (0,0) -- (2,2) > (2,0) -- (0,2) > (1,1) circle(1); > \stoptikzpicture} > (some text...) > > The tikzpicture apparently extends to the whole text width, resulting in > an overfull box (and nasty paragraph formatting). Putting it into an > \hbox helps, so I know what to do; the question is, _why_ this works > that way?
\starttikzpicture should do the box trick ... \let\normalstarttikzpicture\starttikzpicture \let\normalstoptikzpicture \stoptikzpicture \def\starttikzpicture{\hbox\bgroup\nomalstarttikzpicture} \def\stoptikzpicture {\nomalstoptikzpicture\egroup} but i'm not maintaining thst module myself Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________