ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: font size switching
Date: Mon, 17 Oct 2016 19:56:35 +0200	[thread overview]
Message-ID: <e49d8cec-a483-ce94-e012-0481bd6ef5f7@gmx.es> (raw)
In-Reply-To: <freemail.20161017193118.62003.1@fmxmldata06.freemail.hu>

On 10/17/2016 07:31 PM, Csikos Bela wrote:
> Pablo Rodriguez írta:
>> [...]
>> BTW, font (and language) commands are switches, so they don’t require
>> text enclosed in parentheses (such as \emph{} in LaTeX). I would
>> discourage the use of \tfn, but you’re on your own.
> 
> Do you mean it's better to use e.g. {\bf some text} then \bf{some text}?

No, I mean that {\bf text} is the only way of using it (afaIk, this is
TeX). See the code:

    \starttext
    \bf{text} tesafe
    \stoptext

All text in the sample is in bold font.

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

As far as I can understand, this might be a bug (or an inconsistency in
font size handling, at least). Isn’t it, Wolfgang?

I hope it helps,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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 17:56 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 [this message]
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=e49d8cec-a483-ce94-e012-0481bd6ef5f7@gmx.es \
    --to=oinos@gmx.es \
    --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).