ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \switchtobodyfont issue
@ 2021-05-22 10:51 Pablo Rodriguez
  2021-05-22 11:10 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2021-05-22 10:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have the following sample:

  \setupbodyfont[11.25pt]
  \starttext
  a
  \switchtobodyfont[x]
  a
  \switchtobodyfont[a]
  a
  \stoptext

How can I get both \switchtobodyfont working in both appearances?

Many thanks for your help,

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \switchtobodyfont issue
  2021-05-22 10:51 \switchtobodyfont issue Pablo Rodriguez
@ 2021-05-22 11:10 ` Wolfgang Schuster
  2021-05-22 11:29   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2021-05-22 11:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Pablo Rodriguez schrieb am 22.05.2021 um 12:51:
> Dear list,
> 
> I have the following sample:
> 
>    \setupbodyfont[11.25pt]
>    \starttext
>    a
>    \switchtobodyfont[x]
>    a
>    \switchtobodyfont[a]
>    a
>    \stoptext
> 
> How can I get both \switchtobodyfont working in both appearances?


You can't use x and a with \switchtobodyfont, only small and big are 
possible.

\starttext
a
\switchtobodyfont[small]
a
\switchtobodyfont[big]
a
\stoptext

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \switchtobodyfont issue
  2021-05-22 11:10 ` Wolfgang Schuster
@ 2021-05-22 11:29   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2021-05-22 11:29 UTC (permalink / raw)
  To: ntg-context

On 5/22/21 1:10 PM, Wolfgang Schuster wrote:
> [...]
> You can't use x and a with \switchtobodyfont, only small and big are
> possible.
>
> \starttext
> a
> \switchtobodyfont[small]
> a
> \switchtobodyfont[big]
> a
> \stoptext
Many thanks for your fast reply, Wolfgang.

This works fine with standard sizes:

  \starttext
  a
  \switchtobodyfont[x]
  a
  \stoptext

Many thanks for your help,

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-22 11:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-22 10:51 \switchtobodyfont issue Pablo Rodriguez
2021-05-22 11:10 ` Wolfgang Schuster
2021-05-22 11:29   ` Pablo Rodriguez

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