ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: context@vivaldi.net
To: ConTeXt <ntg-context@ntg.nl>
Subject: Fonts from various .otf to work with \bold, \emph, \bf, \bfa ...
Date: Thu, 06 Feb 2020 10:04:38 +0100	[thread overview]
Message-ID: <463b0e6557a1efb15d7697321373ea83@vivaldi.net> (raw)

Hello,

although font switching used to be discussed here and I studied wiki 
about font changing, I don't switch fonts in ConTeXt very often and my 
"maximum" font change was provided by \setupbodyfont[(e.g. termes)].

Now I am in the situation that I need to use fonts defined in:

   work-sans.bold.otf
   work-sans.bold-italic.otf
   work-sans.light.otf
   work-sans.light-italic.otf

(all from https://www.1001fonts.com/work-sans-font.html)

so that:

- normal text and math (nothing special - just subscripts) would be 
typeset with work-sans.light.otf
- \bold (\bf) would use work-sans.bold.otf,
- \emph (\em and \it) would use work-sans.light-italic.otf,
- \bi would use work-sans.bold-italic.otf
- also commands \bfa, \bfc, ... would use work-sans.bold.otf scaled 
somehow (probably by multiples of 1.2).

Some help setting it up and making it work would be appreciated...

Best regards,

Lukas
___________________________________________________________________________________
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:[~2020-02-06  9:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-06  9:04 context [this message]
2020-02-06 19:24 ` Pablo Rodriguez
2020-02-07  7:34   ` context
2020-02-07 20:22     ` Pablo Rodriguez
2020-02-07 21:58       ` Henning Hraban Ramm
2020-02-08 11:49       ` Wolfgang Schuster

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=463b0e6557a1efb15d7697321373ea83@vivaldi.net \
    --to=context@vivaldi.net \
    --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).