ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Why isn't font changing inside tabulate environment?
       [not found] <880440768.4039516.1735307395476.ref@mail.yahoo.com>
@ 2024-12-27 13:49 ` Joel via ntg-context
  2024-12-27 14:02   ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Joel via ntg-context @ 2024-12-27 13:49 UTC (permalink / raw)
  To: Mailing List for ConTeXt Users; +Cc: Joel


[-- Attachment #1.1: Type: text/plain, Size: 414 bytes --]

I need to make a symbol, checkmark, appear inside a table. It is from a different font.
If I use this, it displays the checkmark in the document:
    {\switchtobodyfont[garamondsymbols, 12 pt]✔}
But inside a tabulate environment, it stops displaying the checkmark. Is there any solution for this?

\starttabulate[|p|p|]\NC{\switchtobodyfont[garamondsymbols, 12 pt]✔} \NC \NC\NR\stoptabulate
--Joel


[-- Attachment #1.2: Type: text/html, Size: 1226 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: Why isn't font changing inside tabulate environment?
  2024-12-27 13:49 ` [NTG-context] Why isn't font changing inside tabulate environment? Joel via ntg-context
@ 2024-12-27 14:02   ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2024-12-27 14:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Joel via ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 852 bytes --]

Joel via ntg-context schrieb am 27.12.2024 um 14:49:
> I need to make a symbol, checkmark, appear inside a table. It is from 
> a different font.
>
> If I use this, it displays the checkmark in the document:
>
>     {\switchtobodyfont[garamondsymbols, 12 pt]✔}
>
> But inside a tabulate environment, it stops displaying the checkmark. 
> Is there any solution for this?
>
> \starttabulate[|p|p|]
> \NC{\switchtobodyfont[garamondsymbols, 12 pt]✔} \NC \NC\NR
> \stoptabulate

1. Remove the space between 12 and pt.

2. Preload for your font at the begin of the document with \usebodyfont.

\usebodyfont[antykwa]
\setupbodyfont[pagella]

\starttext

\starttabulate
\NC \switchtobodyfont[antykwa]Antykwa \NC Pagella \NC\NR
\stoptabulate

\stoptext

3. If this still doesn't work show a complete example.

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 1914 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2024-12-27 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <880440768.4039516.1735307395476.ref@mail.yahoo.com>
2024-12-27 13:49 ` [NTG-context] Why isn't font changing inside tabulate environment? Joel via ntg-context
2024-12-27 14:02   ` [NTG-context] " Wolfgang Schuster

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