From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Style for captions
Date: Wed, 18 Dec 2019 16:11:05 +0100 [thread overview]
Message-ID: <1A8CCFFF-5101-444C-8CFE-DFA2DA825D48@gmail.com> (raw)
In-Reply-To: <nycvar.YAK.7.76.1912180751570.27755@nqv-guvaxcnq>
Thanks Aditya! That solve smy issue.
However, it is a bit of magic to know that \setupinterlinespace makes also the math font small, even for inline math.
Best regards: OK
> On 18 Dec 2019, at 13:52, Aditya Mahajan <adityam@umich.edu> wrote:
>
> On Wed, 18 Dec 2019, Otared Kavian wrote:
>
>> Hi all,
>>
>> In the example below, I would like to have the style of the figure's caption to be \itx, but the inline formula is set with a larger body font: is it possible to setup the caption of a float so that a smaller size applies also to the math formula?
>>
>> Best regards: Otared
>> PS: here is the example (not so minimal, sorry…)
>> % begin example-caption.tex
>> \setupcaption[figure][
>> headstyle={\bix},
>> style={\itx}]
>
> style={\switchtobodyfont[small]\setupinterlinespace\it}
>
> Aditya___________________________________________________________________________________
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2019-12-18 15:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-18 8:01 Otared Kavian
2019-12-18 12:52 ` Aditya Mahajan
2019-12-18 15:11 ` Otared Kavian [this message]
2019-12-18 16:11 ` Aditya Mahajan
2019-12-18 16:28 ` Wolfgang Schuster
2019-12-18 16:32 ` Wolfgang Schuster
2019-12-18 20:19 ` Otared Kavian
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=1A8CCFFF-5101-444C-8CFE-DFA2DA825D48@gmail.com \
--to=otared@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).