ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: font size switching
Date: Mon, 17 Oct 2016 19:58:09 +0200	[thread overview]
Message-ID: <413b3f4d-5161-d73c-4277-31f5c5b870ef@uni-bonn.de> (raw)
In-Reply-To: <freemail.20161017193118.62003.1@fmxmldata06.freemail.hu>

On 10/17/2016 07:31 PM, Csikos Bela wrote:
> Do you mean it's better to use e.g. {\bf some text} then \bf{some text}?

The latter is not valid syntax. You want to read the wiki section on 
font switching: http://wiki.contextgarden.net/Font_Switching

>
>> >x and xx are different font sizes, not x repeated (it could have been
>> >named y or w instead). Here you have the difference:
>> >
>> >    \starttext
>> >    default, {\tfx smaller (x) {\tfx not smaller (x again)}}
>> >
>> >    default, {\tfx smaller (x) {\tfxx smaller (xx now)}}
>> >    \stoptext
> I know this. What I don't understand is that if I have the code:
>
> \starttext
> Default {\tfa Larger} {\tfx Smaller1} \\
> Default \tfa Larger \tfx Smaller2
> \stoptext
>
> then I have Smaller1 in (x) size and Smaller2 in default size. Why?
> I would expect Smaller2 to be in (x) size too (as the manual implies).
>
I'm not sure where you found the sentence you copied in your first mail. 
My copy of contextref.pdf says p. 107: "The various commands will adapt 
themselves to the actual setup of font and size." Which is exactly what 
you see.


Thomas




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

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-17 16:15 Csikos Bela
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 [this message]
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=413b3f4d-5161-d73c-4277-31f5c5b870ef@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --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).