ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Simplefonts question
Date: Mon, 14 Nov 2011 09:13:18 +0100	[thread overview]
Message-ID: <0C8D0A82-A287-4577-B714-94BC8C561D69@googlemail.com> (raw)
In-Reply-To: <CAPoA6K2XjsqGJp3jJ5TUFauZmjY1XmQ747O41LsyG8LFNL1YHw@mail.gmail.com>


Am 14.11.2011 um 07:00 schrieb Lutz Haseloff:

> 2011/11/11 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
>> 
>> Am 11.11.2011 um 13:01 schrieb Lutz Haseloff:
>> 
>>> Hi Wolfgang,
>>> 
>>> I'm looking for documentation for your handy module.
>>> 
>>> Particularly i'd like to know all the options i can use for
>>> the commands \setmainfont and \setupsimplefonts.
>>> 
>>> My goal is to use a font in my document in
>>> different sizes (say 12, 17 and 35pt) with adequate
>>> line spacing.
>> 
>> Do you want a whole family in this size or only a single style of a font?
> 
> I need Linux Libertine as Serif, Aller as SansSerif and Aller in 35pt
> for large titles with proper line spacing.
> 
> My success so far:
> 
> \definefontfeature[cond][default][extend=.8]
> \usemodule[simplefonts]
> \setmainfont[linuxlibertineo]
> \setsansfont[aller][features=cond]
> \mainlanguage[de]
> \starttext
> Dudelsackpfeifenmachergeselle
> 
> {\it
> Dudelsackpfeifenmachergeselle }
> 
> {\bf
> Dudelsackpfeifenmachergeselle }
> 
> {\bi
> Dudelsackpfeifenmachergeselle }
> 
> \ss
> Dudelsackpfeifenmachergeselle
> 
> {\it
> Dudelsackpfeifenmachergeselle }
> 
> {\bf
> Dudelsackpfeifenmachergeselle }
> 
> {\bi
> Dudelsackpfeifenmachergeselle }
> \stoptext
> 
> 
> Now some questions remain:
> How can i set the size of the fonts?
> \setsansfont[aller][features=cond,size=14pt]
> seems not to work.
> How can i define the 35pt .8 condensed Aller?


Define a style for the heading after you have set the font for serif and sans serif with:

\definefont[TtitleFont][Sans at 35pt]

\setuphead[chapter][style=TitleFont]
%\setuphead[chapter][style=TitleFont,interlinespace=40pt]

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
___________________________________________________________________________________


  reply	other threads:[~2011-11-14  8:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11 12:01 Lutz Haseloff
2011-11-11 13:35 ` Wolfgang Schuster
2011-11-14  6:00   ` Lutz Haseloff
2011-11-14  8:13     ` Wolfgang Schuster [this message]
2011-11-14  8:18     ` Christian
2011-11-14  8:55       ` Lutz Haseloff
2016-01-14 13:49 simplefonts question Meer, Hans van der
2016-01-14 15:21 ` Wolfgang Schuster
2016-01-14 17:03   ` massifr

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=0C8D0A82-A287-4577-B714-94BC8C561D69@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).