From: Flavien Lambert <petit.lepton@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Ubuntu Light font
Date: Thu, 30 Jan 2014 13:36:18 +0800 [thread overview]
Message-ID: <CAK=1gbpTzSeAnNLvDb6EA5_YyLNMAXP9AjWHZ48iSWu5d4h44Q@mail.gmail.com> (raw)
In-Reply-To: <BF58F802-B409-4F7D-B182-D51FC0146186@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 2672 bytes --]
Thanks Wolfgang, it works really well! Let me be very annoying and ask you
about the ligatures...
Thanks again,
F.
On 29 January 2014 20:31, Wolfgang Schuster <schuster.wolfgang@gmail.com>wrote:
>
> Am 28.01.2014 um 02:34 schrieb Flavien Lambert <petit.lepton@gmail.com>:
>
> > Still another question...I managed to have the ubuntu light for both
> regular and italic as well as greek letters in the text but I am still
> unable to obtain greek letters in math text. Could you indicate to me the
> right way?
> > Thanks,
> > F.
> >
> > \definefontfamily [mainface] [sans] [Ubuntu]
> [regularfont=ubuntulight,,italicfont=ubuntulightitalic,boldfont=ubuntu]
> > \definefallbackfamily [mainface] [math] [Ubuntu]
> [preset=math:lowercaseitalic,tf=style:light]
> > \definefallbackfamily [mainface] [math] [Ubuntu]
> [preset=range:greek,tf=style:light]
> > \definefallbackfamily [mainface] [math] [Ubuntu]
> [preset=math:digitsnormal,tf=style:light]
> > \definefontfamily [mainface] [math] [TeX Gyre Pagella Math]
>
> You tried "range:greek" but this is wrong because the preset can only be
> used for normal greek text, in math mode you have to choose one of the
> following presets:
>
> - math:lowercasegreeknormal
> - math:lowercasegreekitalic
> - math:uppercasegreeknormal
> - math:uppercasegreekitalic
> - math:lowercasegreekbold
> - math:lowercasegreekbolditalic
> - math:uppercasegreekbold
> - math:uppercasegreekbolditalic
>
> To use the lightitalic style of the ubuntu font you have to use the name
> of file methods because there is no lightitalic pattern for the style
> method (but I try add it).
>
> \definefontfamily [mainface] [sans] [Ubuntu] [tf=style:light]
>
> \definefallbackfamily [mainface] [math] [Ubuntu]
> [preset=math:lowercaseitalic,tf=style:light]
> \definefallbackfamily [mainface] [math] [Ubuntu]
> [preset=math:digitsnormal,tf=style:light]
> \definefallbackfamily [mainface] [math] [Ubuntu]
> [preset=math:lowercasegreekitalic,tf=name:ubuntulightitalic]
>
> \definefontfamily [mainface] [math] [TeX Gyre Pagella Math]
>
> \setupbodyfont[mainface,11pt]
>
> \starttext
> 123 \math{123 \alpha\beta\gamma}
> \stoptext
>
> Wolfgang
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 3793 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2014-01-30 5:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-27 9:53 Flavien Lambert
2014-01-27 11:50 ` Wolfgang Schuster
2014-01-28 0:43 ` Flavien Lambert
2014-01-28 1:34 ` Flavien Lambert
2014-01-29 8:04 ` Flavien Lambert
2014-01-30 12:22 ` Wolfgang Schuster
2014-01-29 12:31 ` Wolfgang Schuster
2014-01-30 5:36 ` Flavien Lambert [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='CAK=1gbpTzSeAnNLvDb6EA5_YyLNMAXP9AjWHZ48iSWu5d4h44Q@mail.gmail.com' \
--to=petit.lepton@gmail.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).