From: John Culleton <john@wexfordpress.com>
To: ntg-context@ntg.nl
Subject: Re: Comical error..
Date: Sat, 11 Feb 2017 21:40:50 -0500 [thread overview]
Message-ID: <20170211214050.0b08043b@acer3.locall.com> (raw)
In-Reply-To: <0C922451-3F71-4541-BBA1-610FAF29EC80@fiee.net>
On Sat, 11 Feb 2017 21:08:46 +0100
Here is another example from the Wiki
-------------------------------------
\definefontfamily
[mainface]
[rm]
[TeX Gyre Pagella]
[it={TeX Gyre Cursor-Italic},
bf={TeX Gyre Adventor-Bold},
bi={TeX Gyre Termes-BoldItalic}]
\setupbodyfontenvironment
[default]
[em=italic]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
Roman font {\em italic}
\bf Bold font \em bold italic
\stopTEXpage
\stoptext
---------------------------------------
and another
--------------------------------------
setupbodyfont[dejavu]
\setupbodyfontenvironment
[default]
[smallsized=1.25,
mediumsized=1.5,
largesized=2.0]
\definefontsize[smallsized]
\definefontsize[mediumsized]
\definefontsize[largesized]
\starttext
\setuphead[chapter] [style=\bflargesized]
\setuphead[section] [style=\bfmediumsized]
\setuphead[subsection][style=\bfsmallsized]
\chapter {Whatever $x-1$}
\section {Whatever $x-1$}
\subsection{Whatever $x-1$}
\input ward
\blank
Whatever $x-1$
\blank
{\itmediumsized This is italic medium sized. $\cos(x) = {\rm
Re}(\exp({\rm i}x))$}
\blank
{\rmmediumsized This is roman medium sized. \crlf
$\cos(x) = {\rm Re}(\exp({\rm i}x))$}
\stoptext
--------------------------------------
Some questions:
1. Where is the basic size of the font family defined in points?
2. In the second example which of the many Dejavu fonts is assumed to
be the starting point? Is it a ttf or a otf version?
3. Can any font family on the system be used or is there a specific
context list?
All answers appreciated of course :<)
John Culleton
Wexfordpress
Book design and indexing.
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2017-02-12 2:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-11 19:51 John Culleton
2017-02-11 20:08 ` Henning Hraban Ramm
2017-02-12 2:40 ` John Culleton [this message]
2017-02-12 12:28 ` josephcanedo
2017-02-12 17:44 ` Pablo Rodriguez
2017-02-12 20:02 ` John Culleton
2017-02-12 15:56 ` Comical error..solved John Culleton
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=20170211214050.0b08043b@acer3.locall.com \
--to=john@wexfordpress.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).