ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: <denis.maier@ub.unibe.ch>
To: <ntg-context@ntg.nl>
Subject: Re: Style options and setupinterlinespace
Date: Mon, 26 Apr 2021 20:53:21 +0000	[thread overview]
Message-ID: <e4a29af1bf074a8b979c568db708a8d2@ub.unibe.ch> (raw)
In-Reply-To: <dec920ddf4874d96aa6401d50e09943c@ub.unibe.ch>

Wikified, as per Aditya's suggestion.

Denis

> -----Ursprüngliche Nachricht-----
> Von: Maier, Denis Christian (UB)
> Gesendet: Montag, 26. April 2021 22:50
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Betreff: AW: [NTG-context] Style options and setupinterlinespace
> 
> Thanks everyone for your answers.
> In that case I'll change the wording in the wiki.
> 
> All best,
> Denis
> 
> > -----Ursprüngliche Nachricht-----
> > Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Wolfgang
> > Schuster
> > Gesendet: Montag, 26. April 2021 19:28
> > An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> > Betreff: Re: [NTG-context] Style options and setupinterlinespace
> >
> > Aditya Mahajan schrieb am 26.04.2021 um 18:02:
> > >> 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<https://wiki.contextgarden.net/Command/switchtobod
> > >>> yfont> described below in Complete Font
> > >>>
> >
> Change<https://wiki.contextgarden.net/Font_Switching#Complete_font_c
> > >>> hange>. However, it is fine to use them as style directives in
> > >>> hange>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.
> > > Using style=\tfx is roughly equivalent to typing `\tfx` at an
> > > appropriate
> > place. There is no automatic \setupinterlinespace after the style
> > value is executed.
> >
> > There is always the option to use \switchtobodyfont to change the font
> > size which affects also the linespacing but in this case one need
> > \setupinterlinespace after \tfx.
> >
> > In older versions (a few months ago) even \switchtobodyfont didn't
> > help here when you used the style-key to change the font size.
> >
> > 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
> >
> __________________________________________________________
> > _________________________
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2021-04-26 20:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22 13:14 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 [this message]
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

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=e4a29af1bf074a8b979c568db708a8d2@ub.unibe.ch \
    --to=denis.maier@ub.unibe.ch \
    --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).