ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sietse Brouwer <sbbrouwer@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [***SPAM***] Title of figure not below the figure, but on the right side
Date: Mon, 15 Apr 2013 16:27:58 +0200	[thread overview]
Message-ID: <CAF=dkzy+y2VvY8tS48yR=oTabncFhoroPYnCosXHq=xVCR83+g@mail.gmail.com> (raw)
In-Reply-To: <516BB8B0.1090608@mmnetz.de>


[-- 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
___________________________________________________________________________________

      reply	other threads:[~2013-04-15 14:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-15  8:22 "H. Özoguz"
2013-04-15 14:27 ` Sietse Brouwer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAF=dkzy+y2VvY8tS48yR=oTabncFhoroPYnCosXHq=xVCR83+g@mail.gmail.com' \
    --to=sbbrouwer@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).