[NTG-context] \hbox and figures

Taco Hoekwater taco at elvenkind.com
Sat Jan 28 11:44:42 CET 2006

andrea valle wrote:
> Hi to all,
> I guess it's something obvious but...

> \hbox {\externalfigure[quarter]} test

If TeX sees a \hbox when in vertical mode, it stays in
vertical mode, simply adding the box to the page. Only
when it sees the 't' from test does it start the next
paragraph. To make the box part of the paragraph, TeX
has to be told to enter horizontal mode first. That is
done by adding \dontleavehmode:

   \hbox {\externalfigure[quarter]} test


More information about the ntg-context mailing list