[NTG-context] Alignment/line break in a TABLE cell

Wolfgang Schuster schuster.wolfgang at gmail.com
Thu May 19 12:04:56 CEST 2016


> Mari Voipio <mailto:mari.voipio at iki.fi>
> 19. Mai 2016 um 11:37
> Hi,
>
> I have a little problem with a table. It works fine otherwise, but in
> the first column the box and the number should be on the same line.
> This goes right with 3a, but all the other ones place the box on the
> first line and the number on the second. Widening column 1 doesn't
> help. How do I force the number to stay on the same line with the box?
Put \dontleavehmode before \externalfigure, e.g.

     \dontleavehmode\externalfigure[box3mm]

and in case the number is still moved to the next line because there 
isn’t enough space left you can put an unbrakbale space between the 
graphic and number, e.g.

     \dontleavehmode\externalfigure[box3mm]~1

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160519/e4286dd1/attachment.html>


More information about the ntg-context mailing list