ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [***SPAM***] Title of figure not below the figure, but on the right side
@ 2013-04-15  8:22 "H. Özoguz"
  2013-04-15 14:27 ` Sietse Brouwer
  0 siblings, 1 reply; 2+ messages in thread
From: "H. Özoguz" @ 2013-04-15  8:22 UTC (permalink / raw)
  To: ntg-context

I usually use:

\startplacefigure [title=Some very explanative title.]

\externalfigure[tollesbild][width=2cm]

\stopplacefigure


And this sets the title under the figure, perfect for me in general. But 
now I have a figure, where the (pretty long) title-text should be on the 
right side, how to get this?

Huseyin
___________________________________________________________________________________
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] 2+ messages in thread

* Re: [***SPAM***] Title of figure not below the figure, but on the right side
  2013-04-15  8:22 [***SPAM***] Title of figure not below the figure, but on the right side "H. Özoguz"
@ 2013-04-15 14:27 ` Sietse Brouwer
  0 siblings, 0 replies; 2+ messages in thread
From: Sietse Brouwer @ 2013-04-15 14:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 792 bytes --]

> But now I have a figure, where the (pretty long)
> title-text should be on the right side, how to
> get this?

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

Example stolen from:
http://wiki.contextgarden.net/Command/setupcaption
On what wiki pages did you look? Perhaps you could add a sentence
'For adjusting the captions and their location, see {{cmd|setupcaption}}.'
so that future users will be led to the page they need.

Cheers,
Sietse

[-- Attachment #1.2: Type: text/html, Size: 2385 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2013-04-15 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-15  8:22 [***SPAM***] Title of figure not below the figure, but on the right side "H. Özoguz"
2013-04-15 14:27 ` Sietse Brouwer

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).