From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: some small questions
Date: Mon, 9 Jan 2006 11:59:27 +0100 [thread overview]
Message-ID: <6faad9f00601090259i38661ea8yadabe584484fd1a@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0601080917390.18980@gaston.free.fr>
[-- Attachment #1: Type: text/plain, Size: 1958 bytes --]
On 1/8/06, Peter Münster wrote:
> On Sun, 8 Jan 2006, Peter Münster wrote:
>
> > \usemodule[symb-eur]
> > \def\SomeEuros{\blank[small] normal \texteuro, {\sl slanted \texteuro},
> > {\bf bold \texteuro}, {\bs bold slanted \texteuro}
> > {\tt tt \texteuro}, {\bf\tt bold tt \texteuro}}
> > \starttext
> > \ss here some sans euros: \SomeEuros \blank[big]
> > \rm and here I want the same (sans, but they are serif): \SomeEuros
> > \stoptext
>
> Of course, I can do
> \let\texteuroO\texteuro
> \def\texteuro{{\ss\texteuroO}}
> the question is just: what is the ConTeXt-way to do it.
I don't have the fonts that are used by symb-eur, so I can't test your
file, but my guess is that:
- if you only want the official euro symbol, don't even load the
package (but euro may not fit well with the font you're using)
- if you would like to keep slanted/bold version of the font and if
symb-eur satisfies your needs except that you want the sans version,
one possibility is to rewrite the package:
A long version is to change:
\definefontsynonym [EuroSerif] [eurose]
\definefontsynonym [EuroSerifBold] [euroseb]
\definefontsynonym [EuroSerifItalic] [eurosei]
\definefontsynonym [EuroSerifSlanted] [eurosei]
\definefontsynonym [EuroSerifBoldItalic] [eurosebi]
\definefontsynonym [EuroSerifBoldSlanted] [eurosebi]
into:
\definefontsynonym [EuroSerif] [EuroSans]
\definefontsynonym [EuroSerifBold] [EuroSansBold]
\definefontsynonym [EuroSerifItalic] [EuroSansItalic]
\definefontsynonym [EuroSerifSlanted] [EuroSansSlanted]
\definefontsynonym [EuroSerifBoldItalic] [EuroSansBoldItalic]
\definefontsynonym [EuroSerifBoldSlanted] [EuroSansBoldSlanted]
An alternative to the command you provided (but with the same
functionality and approximately just as long as yours):
% \startencoding[default] % don't know if this is needed or not
\definecharacter texteuro {{\ss\symbol[euro]}}
% \stopencoding
Mojca
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
next prev parent reply other threads:[~2006-01-09 10:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-07 13:05 Peter Münster
2006-01-07 13:52 ` Alan Bowen
2006-01-07 14:10 ` Peter Münster
2006-01-07 15:30 ` Alan Bowen
2006-01-07 19:11 ` Peter Münster
2006-01-07 19:43 ` Peter Münster
[not found] ` <6faad9f00601070531o5660fe3bgc378d090ae1dcaf7@mail.gmail.com>
2006-01-08 8:01 ` Peter Münster
2006-01-08 8:18 ` Peter Münster
2006-01-09 10:59 ` Mojca Miklavec [this message]
2006-01-14 17:29 ` Peter Münster
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=6faad9f00601090259i38661ea8yadabe584484fd1a@mail.gmail.com \
--to=mojca.miklavec.lists@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).