ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Csikos Bela <bcsikos425@freemail.hu>
To: ntg-context@ntg.nl
Subject: font size switching
Date: Mon, 17 Oct 2016 18:15:56 +0200 (CEST)	[thread overview]
Message-ID: <freemail.20161017181556.39308.1@fmxmldata09.freemail.hu> (raw)

Dear context users:

It seems to me that some of the the font size switching commands do not work
as described in the context reference manual (contextref.pdf, 27/09/2013), e.g.
 \tfx. The manual writes on page 109 that "Note that these commands select
font sizes relative to the default, not relative to whatever font size is currently in
effect." But in my case \tfx switches to smaller compared to the size in effect, and
not smaller compared to default size.

In additions I couldn't find command for returning to default size after a font switching
command. How to switch (back) to normal size? 

Here is an MWE:

\starttext

default, {\tfa larger (a)}, {\tfb larger (b)}, {\tfc larger (c)}, {\tfd larger (d)}

default, {\tfx smaller (x)}, {\tfxx smaller (xx)}

This is normal text, (default 10pt).
{\tfa This is larger (a).}
Normal again.
{\tfx This is smaller, (x).}

This is normal size.
\bfa This is larger bold (a).
\tf This is normal larger (a), \backslash tf doesn't change size.

How to switch back to normal size, if there is no suffix for normal size?

\tfx And why isn't this smaller (x) if the suffix changes size relative to default size
as the manual states?

\stoptext


Thank you in advance,

bcsikos
___________________________________________________________________________________
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:[~2016-10-17 16:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-17 16:15 Csikos Bela [this message]
2016-10-17 17:09 ` Pablo Rodriguez
2016-10-17 17:31   ` Csikos Bela
2016-10-17 17:56     ` Pablo Rodriguez
2016-10-17 17:58     ` Thomas A. Schmitz
2016-10-17 18:14       ` Pablo Rodriguez
2016-10-17 18:28         ` Hans Hagen
2016-10-17 19:46           ` Pablo Rodriguez
2016-10-20 16:07       ` Csikos Bela

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=freemail.20161017181556.39308.1@fmxmldata09.freemail.hu \
    --to=bcsikos425@freemail.hu \
    --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).