Captions command (special alignment)
Hello, why that simple thing doesn't work? Does anybody know? \def\mycap#1#2{\hbox{\hbox{#1}\vtop{#2\par}}} \setupcaptions[command=\mycap] Simply I need this: Fig. 1 The fig is great... ...like any other fig. I have tried to set this up via table but still can't proceed. Thanks, Honza Hejzl
Am 17.09.2011 um 21:12 schrieb Honza Hejzl:
Hello, why that simple thing doesn't work? Does anybody know?
\def\mycap#1#2{\hbox{\hbox{#1}\vtop{#2\par}}} \setupcaptions[command=\mycap]
Simply I need this:
Fig. 1 The fig is great... ...like any other fig.
I have tried to set this up via table but still can't proceed.
This doesn’t work because the command-key expects a command with one argument which contains the caption number *and* text. To write your own caption layout ask Hans to rewrite the code for the \placefloatcaption (…number and …text) commands for MkIV. Wolfgang
participants (2)
-
Honza Hejzl
-
Wolfgang Schuster