From: "Mikael P. Sundqvist" <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Caption placement in margin
Date: Wed, 31 Aug 2016 09:59:52 +0200 [thread overview]
Message-ID: <CAHy-LL_hDTnYUYQA1nG0FgF_RPd=uQpEwAEyqyUJFJ8n0K1vwg@mail.gmail.com> (raw)
In-Reply-To: <07fa3270-826d-b037-e625-2de410250945@gmail.com>
On Tue, Aug 30, 2016 at 9:25 PM, Henri Menke <henrimenke@gmail.com> wrote:
> Dear list,
>
> I was trying to place float captions in the margin, which according to setup-en.pdf should work with location=outermargin, but it doesn't. The MWE below reproduces this on TL 2016 and on http://live.contextgarden.net/. Please fix.
>
> Cheers, Henri
>
> ---
>
> \setupfloatcaption
> [figure]
> [location=outermargin]
>
> \starttext
>
> \placefigure
> [top]
> {The famous dutch cow!}
> {\externalfigure[cow]}
>
> \stoptext
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
I have never noticed the setup \setupfloatcaption before, but I think
you have to add a top/middle/bottom or so to the outermargin, like
\setupfloatcaption[figure][location={outermargin,middle}]
\starttext
\placefigure
[top]
{The famous dutch cow!}
{\externalfigure[cow]}
\stoptext
Another option might be to use \setupcaption (somebody could perhaps
tell the difference between \setupfloatcaption and \setupcaption?)
\setupcaption[figure][
location={outermargin,middle},
align=flushleft,
width=\marginwidth,
]
\starttext
\showframe%just to show where it ends up
\placefigure
[top]
{The famous dutch cow!}
{\externalfigure[cow]}
\stoptext
/Mikael
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2016-08-31 7:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-30 19:25 Henri Menke
2016-08-31 7:59 ` Mikael P. Sundqvist [this message]
2016-08-31 8:30 ` Henri Menke
2016-08-31 8:37 ` Wolfgang Schuster
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='CAHy-LL_hDTnYUYQA1nG0FgF_RPd=uQpEwAEyqyUJFJ8n0K1vwg@mail.gmail.com' \
--to=mickep@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).