Re: [NTG-context] Title of figure not below the figure, but on the right side
Am 15.04.2013 19:03, schrieb ntg-context-request@ntg.nl:
Define a float type `rightfigure` that inherits from `figure`; then setup that float's caption with \setupcaption[rightfigure][...=...]. Like so:
\definefloat[rightfigure][rightfigure][figure] \setupcaption[rightfigure][location=right]
\starttext \placefigure{caption 1}{\framed{figure 1}} \placerightfigure{caption 2}{\framed{figure 2}} \placefigure{caption 3}{\framed{figure 3}} \stoptext Thanks, that works!
So I use now: \definefloat[rightfigure][rightfigure][figure] \setupcaption[rightfigure][location=right] \startplacerightfigure[ title={Tolles Bild}, reference=fig:demo, number=no] {\framed{figure}} \stopplacerightfigure How can I now tell, where to place the figure? There are keys like "here", or "force", or "bottom" and so on, how to use them in this configuration? (my tries failed so far) Huseyin
How can I now tell, where to place the figure? There are keys like "here", or "force", or "bottom" and so on, how to use them in this configuration? (my tries failed so far)
I don't know! \startplacerightfigure[location=bottom,...] should work, but doesn't. (MWE below.) Perhaps somebody else knows? Or perhaps this is a bug? \definefloat[rightfigure][rightfigures][figure] \setupcaption[rightfigure][location=right] \setupwhitespace[big] \useMPlibrary[dum] \starttext \input davis \par \input knuth \par \input khatt-en \par % \showboxes \startplacerightfigure[ location=bottom, title={Tolles Bild}, reference=fig:demo, number=no, ] {\externalfigure[dum]} \stopplacerightfigure \input linden \par \input weisman \par \input zapf \par \stoptext
On 4/16/2013 10:10 AM, Sietse Brouwer wrote:
How can I now tell, where to place the figure? There are keys like "here", or "force", or "bottom" and so on, how to use them in this configuration? (my tries failed so far)
I don't know! \startplacerightfigure[location=bottom,...] should work, but doesn't. (MWE below.)
Perhaps somebody else knows? Or perhaps this is a bug?
it's a bug ... i moved some analyzing code (while doing this combination extension) and forgot to check the \start variant Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
"H. Özoguz"
-
Hans Hagen
-
Sietse Brouwer