ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Style options and setupinterlinespace
@ 2021-04-22 13:14 denis.maier
  2021-04-26 10:37 ` denis.maier
  0 siblings, 1 reply; 10+ messages in thread
From: denis.maier @ 2021-04-22 13:14 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 2065 bytes --]

Hi,

the wiki (https://wiki.contextgarden.net/Font_Switching) currently says:


> These quick font switches are meant for changing the font style, alternative, or size of a few words: they do not change the bodyfont, so they don't affect interline spacing or math font sizes. So, if you want to change the font size of an entire paragraph, use \switchtobodyfont<https://wiki.contextgarden.net/Command/switchtobodyfont> described below in Complete Font Change<https://wiki.contextgarden.net/Font_Switching#Complete_font_change>. However, it is fine to use them as style directives in setup commands, that is, using them as an option for style=<https://wiki.contextgarden.net/Style_and_Color_Parameters>... in any setup command that accepts style option

From this, I'd infer that a <style=tfx> or <style=\tfx> should change the interline spacing as well. But it does not seem to be the case as the example below shows.

Best,
Denis

----------------------------------------------------------------------------------------------
\definedelimitedtext[blockquoteA]
\setupdelimitedtext[blockquoteA]
                                                               [
                                                               style=tfx,
                                                               spacebefore=medium,
                                                               ]

\definedelimitedtext[blockquoteB]
\setupdelimitedtext[blockquoteB]
                                                               [
                                                               before={\tfx\setupinterlinespace},
                                                               spacebefore=medium,
                                                               ]

\starttext

\input knuth

\startblockquoteA
\input knuth
\stopblockquoteA

\input knuth

\startblockquoteB
\input knuth
\stopblockquoteB

\input knuth

\stoptext
----------------------------------------------------------------------------------------------


[-- Attachment #1.2: Type: text/html, Size: 8822 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-04-27  8:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-22 13:14 Style options and setupinterlinespace denis.maier
2021-04-26 10:37 ` denis.maier
2021-04-26 16:02   ` Aditya Mahajan
2021-04-26 17:27     ` Wolfgang Schuster
2021-04-26 20:50       ` denis.maier
2021-04-26 20:53         ` denis.maier
2021-04-27  3:49           ` Aditya Mahajan
2021-04-27  6:24             ` Hans Hagen
2021-04-27  8:17             ` denis.maier
2021-04-26 17:17   ` Pablo Rodriguez

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).