ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Herbert Voss <Herbert.Voss@FU-Berlin.DE>
Subject: Re: libertine typescript
Date: Wed, 17 Nov 2010 16:01:10 +0100	[thread overview]
Message-ID: <4CE3EE36.50606@elvenkind.com> (raw)
In-Reply-To: <4CE162C6.9030208@FU-Berlin.DE>


Hi,

On 11/15/2010 05:41 PM, Herbert Voss wrote:
> I like to use the fonts keyboard, outline and shadow
> of libertine, defined in a typescrip, e.g.
>     \definetypeface[mylibertine][kb][keyboard][biolinumKB][default]
>     \definetypeface[mylibertine][ol][outline] [biolinumOL][default]
>     \definetypeface[mylibertine][sh][shadow]  [biolinumSH][default]

Hans has the final answer on this, but I suspect that the
second argument to \definetypeface has to be one of the six
predefined font styles (or a \definefontstyle alias to those
six). That limits the  allowable set to:

   [mm]                        [mm]
   [rm,roman,serif,regular]    [rm]
   [ss,sansserif,sans,support] [ss]
   [tt,teletype,type,mono]     [tt]
   [hw,handwritten]            [hw]
   [cg,calligraphic]           [cg]

the reason for that is that for each of those, there is possibly
also a bold, italic, bolditalic etc. font.

Since your special fonts do not have such alternatives, the easier
way is indeed

   \definefont[keyboard][LinBiolinum_Kb-0.5.4 sa 1]
   \definefont[outline][fxbo sa 1]
   \definefont[shadow][fxbs sa 1]

the reason for using 'sa 1' in those definitions is that it will
allow the fonts to scale with the current body font size.

Best wishes,
Taco

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2010-11-17 15:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-15 16:41 Herbert Voss
2010-11-17 15:01 ` Taco Hoekwater [this message]
2010-11-17 16:16   ` 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=4CE3EE36.50606@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=Herbert.Voss@FU-Berlin.DE \
    --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).