* Re: change caption position temporarily
@ 2012-07-20 19:29 d_jan
2012-07-20 20:10 ` Peter Münster
0 siblings, 1 reply; 5+ messages in thread
From: d_jan @ 2012-07-20 19:29 UTC (permalink / raw)
To: ntg-context
>> Is it possible to set the caption position for some images to another position
>> than the one defined in \setupcations ?
>> The standard in my document is location=bottom but for some images I'd prefer
>> =right.
>
> \setupcaptions[location=bottom]
> \def\PlaceRightFigure#1#2{{\setupcaptions[location=right]%
> \placefigure{#1}{#2}}}
> \starttext
> \placefigure{caption 1}{figure 1}
> \PlaceRightFigure{caption 2}{figure 2}
> \placefigure{caption 3}{figure 3}
> \stoptext
Sorry that I get back on this so late:
thanks a lot, it works very well.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* change caption position temporarily
@ 2012-07-16 9:11 d_jan
2012-07-16 9:27 ` Peter Münster
0 siblings, 1 reply; 5+ messages in thread
From: d_jan @ 2012-07-16 9:11 UTC (permalink / raw)
To: ntg-context
Hello,
Is it possible to set the caption position for some images to another
position than the one defined in \setupcations ?
The standard in my document is location=bottom but for some images I'd
prefer =right.
Regards,
Jan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: change caption position temporarily
2012-07-16 9:11 d_jan
@ 2012-07-16 9:27 ` Peter Münster
2012-07-16 12:19 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Peter Münster @ 2012-07-16 9:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, Jul 16 2012, d_jan wrote:
> Is it possible to set the caption position for some images to another position
> than the one defined in \setupcations ?
> The standard in my document is location=bottom but for some images I'd prefer
> =right.
\setupcaptions[location=bottom]
\def\PlaceRightFigure#1#2{{\setupcaptions[location=right]%
\placefigure{#1}{#2}}}
\starttext
\placefigure{caption 1}{figure 1}
\PlaceRightFigure{caption 2}{figure 2}
\placefigure{caption 3}{figure 3}
\stoptext
--
Peter
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: change caption position temporarily
2012-07-16 9:27 ` Peter Münster
@ 2012-07-16 12:19 ` Wolfgang Schuster
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2012-07-16 12:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 16.07.2012 um 11:27 schrieb Peter Münster:
> On Mon, Jul 16 2012, d_jan wrote:
>
>> Is it possible to set the caption position for some images to another position
>> than the one defined in \setupcations ?
>> The standard in my document is location=bottom but for some images I'd prefer
>> =right.
>
> \setupcaptions[location=bottom]
> \def\PlaceRightFigure#1#2{{\setupcaptions[location=right]%
> \placefigure{#1}{#2}}}
> \starttext
> \placefigure{caption 1}{figure 1}
> \PlaceRightFigure{caption 2}{figure 2}
> \placefigure{caption 3}{figure 3}
> \stoptext
It’s easier to create a real float command which has it’s own caption settings.
\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
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-07-20 20:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-20 19:29 change caption position temporarily d_jan
2012-07-20 20:10 ` Peter Münster
-- strict thread matches above, loose matches on Subject: below --
2012-07-16 9:11 d_jan
2012-07-16 9:27 ` Peter Münster
2012-07-16 12:19 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).