Hi again,
should I change the wiki or is the current behaviour a bug (that will eventually be corrected)?
Best,
Denis
Von: Maier, Denis Christian (UB)
Gesendet: Donnerstag, 22. April 2021 15:15
An: 'mailing list for ConTeXt users' <ntg-context@ntg.nl>
Betreff: Style options and setupinterlinespace
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 described below in
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=...
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
----------------------------------------------------------------------------------------------