ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bruce Horrocks <ntg@scorecrow.com>
To: ntg-context mailing list <ntg-context@ntg.nl>
Subject: [NTG-context] Re: How to use fonts without typescripts?
Date: Thu, 16 May 2024 01:07:51 +0100	[thread overview]
Message-ID: <EBA94282-771A-490B-92E5-259B235B1C60@scorecrow.com> (raw)
In-Reply-To: <CALJ_jGSYg6w2SRE2aWCvmLXtWTm4LM9M14tuX1256FO_m_3tNg@mail.gmail.com>


> On 15 May 2024, at 15:33, Shiv Shankar Dayal <shivshankar.dayal@gmail.com> wrote:
> 
> Hi,
> 
> Defining typescripts to use a font is very painful. How can I use a font without using a typescript?

If you just want a very small amount of text in a different font you can use:

\definefont [useWarningFont] [name:arialbold*default at 22pt]
\starttext
This is the regular body text font but {\useWarningFont BE AWARE} that others can be used.
\stoptext


—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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
___________________________________________________________________________________

      parent reply	other threads:[~2024-05-16  0:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-15 14:33 [NTG-context] " Shiv Shankar Dayal
2024-05-15 14:44 ` [NTG-context] " Henri Menke via ntg-context
2024-05-15 14:48 ` Wolfgang Schuster
2024-05-16  0:07 ` Bruce Horrocks [this message]

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=EBA94282-771A-490B-92E5-259B235B1C60@scorecrow.com \
    --to=ntg@scorecrow.com \
    --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).