ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Aditya Mahajan <adityam@umich.edu>
Subject: Re: Style for captions
Date: Wed, 18 Dec 2019 17:32:26 +0100	[thread overview]
Message-ID: <44315fc0-0053-451f-d43d-15085425e8d5@gmail.com> (raw)
In-Reply-To: <nycvar.YAK.7.76.1912180751570.27755@nqv-guvaxcnq>

Aditya Mahajan schrieb am 18.12.2019 um 13:52:
> 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}

\setupcaption
   [figure]
   [headstyle=bold,
    style=smallitalic]

Wolfgang

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

  parent reply	other threads:[~2019-12-18 16:32 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
2019-12-18 16:11     ` Aditya Mahajan
2019-12-18 16:28       ` Wolfgang Schuster
2019-12-18 16:32   ` Wolfgang Schuster [this message]
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=44315fc0-0053-451f-d43d-15085425e8d5@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=adityam@umich.edu \
    --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).