Mari Voipio
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