From: "Joshua Krämer" <joshua.kraemer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: ntg-context-wvrSQK3plZs@public.gmane.org
Subject: Alignment, indenting and font inside floats
Date: Mon, 28 Jul 2014 21:29:36 +0200 [thread overview]
Message-ID: <20140728212936.1b214d4e@medea1.site> (raw)
Dear list,
I want to setup all my floats' contents to be middle-aligned, not
indented and typeset in a distinct font. How can I do this? The
attached example does not work.
Thank you and kind regards,
Joshua Krämer
\setupindenting [yes, \the\baselineskip]
\definefontfamily [figurefamily] [serif] [Latin Modern Sans]
\setupfloats [align=middle, style={\switchtobodyfont[figurefamily]},
indenting=no]
\starttext
\input knuth
\startplacefigure
Word
\stopplacefigure
\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:[~2014-07-28 19:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-28 19:29 Joshua Krämer [this message]
2014-07-28 21:23 ` Rik Kabel
2014-07-28 21:45 ` Rik Kabel
2014-07-29 19:57 ` Joshua Krämer
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=20140728212936.1b214d4e@medea1.site \
--to=joshua.kraemer-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=ntg-context-wvrSQK3plZs@public.gmane.org \
/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).