ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
To: "Mattias Märka via ntg-context" <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: Re: Best way to access casul fonts
Date: Tue, 24 Jan 2023 08:41:27 +0100	[thread overview]
Message-ID: <ca3539b6-389a-5d02-f1f8-60f255868e37@gmx.es> (raw)
In-Reply-To: <kmttxT50GuTwZS4IzCDmhfVeM58IQ74yhdREB684_4UdzT8_HO3sUp9tG9Xz8ZP9h7qdTqYz4YEHrWUol5RxWheLDQoOvlEk8HAkr_N-G00=@marka.ee>

On 1/23/23 20:32, Mattias Märka via ntg-context wrote:
> Hi Pablo,
> 
> Yes, I want to mix casual with serif, sans-serif and so on. 
Hi Mattias (please, excuse my previous misspelling of your name),

here you have it:

  \definefontfamily[mainface][rm][TeX Gyre Pagella]
  \definefontfamily[mainface][ss][TeX Gyre Heros]
  \definefontfamily[mainface][tt][TeX Gyre Cursor]
  \definefontfamily[mainface][hw][Lucida Casual]
  \definefontfamily[mainface][cg][Lucida Casual]
  \setupbodyfont[mainface]
  \starttext
  \doloopoverlist{\rm,\ss,\tt,\hw,\cg}
    {{\recursestring%
      The quick brown fox jumps over the lazy dog.\par}}
  \stoptext

Lucida Casual is handwriting and calligraphy in the sample. But you only
need one of them.

I hope it helps,

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2023-01-24  7:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-23 18:04 Mattias Märka via ntg-context
2023-01-23 18:42 ` Garulfo via ntg-context
2023-01-23 19:10 ` Pablo Rodriguez via ntg-context
2023-01-23 19:32   ` Mattias Märka via ntg-context
2023-01-24  7:41     ` Pablo Rodriguez via ntg-context [this message]
2023-01-29 18:07       ` Mattias Märka via ntg-context
2023-01-30 11:20         ` Pablo Rodriguez via ntg-context
2023-01-30 17:24           ` Mattias Märka via ntg-context
2023-01-30 17:49             ` Henning Hraban Ramm via ntg-context
2023-01-30 18:05               ` Mattias Märka via ntg-context
2023-01-30 20:10               ` Hans Hagen via ntg-context

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=ca3539b6-389a-5d02-f1f8-60f255868e37@gmx.es \
    --to=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /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).