From: eidenbenz <eidenbenz@arch.ethz.ch>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: caption in margin
Date: Fri, 19 Aug 2016 17:25:15 +0200 [thread overview]
Message-ID: <D1942212-9CA5-4A22-BEFE-CC0D6B49204F@arch.ethz.ch> (raw)
I want to place the caption of floats in the margin.
I thought the locationparameter of setupcaption can be used to do this.
But it doesnt work.
What am I missing? Thanks Michael
\useMPlibrary[dum]
\starttext
\showframe
\setupcaption [figure][]
\placefloat[][]{default}{\externalfigure[dummy][]}
\setupcaption [figure][location=inner]
\placefloat[][]{inner}{\externalfigure[dummy][]}
\setupcaption [figure][location=outer]
\placefloat[][]{outer}{\externalfigure[dummy][]}
\setupcaption [figure][location=innermargin]
\placefloat[][]{innermargin}{\externalfigure[dummy][]}
\setupcaption [figure][location=outermargin]
\placefloat[][]{outermargin}{\externalfigure[dummy][]}
\setupcaption [figure][location=leftmargin]
\placefloat[][]{leftmargin}{\externalfigure[dummy][]}
\setupcaption [figure][location=rightmargin]
\placefloat[][]{rightmargin}{\externalfigure[dummy][]}
\setupcaption [figure][location=lefthanging]
\placefloat[][]{lefthanging}{\externalfigure[dummy][]}
\setupcaption [figure][location=righthanging]
\placefloat[][]{righthanging}{\externalfigure[dummy][]}
\setupcaption [figure][location=hang]
\placefloat[][]{hang}{\externalfigure[dummy][]}
\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
___________________________________________________________________________________
next reply other threads:[~2016-08-19 15:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-19 15:25 eidenbenz [this message]
2016-08-22 10:08 ` Michael Eidenbenz
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=D1942212-9CA5-4A22-BEFE-CC0D6B49204F@arch.ethz.ch \
--to=eidenbenz@arch.ethz.ch \
--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).