From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: Unable to switch math fonts
Date: Tue, 25 Jul 2017 00:12:03 +0200 [thread overview]
Message-ID: <f884c1d9-3e96-0e04-6a4b-c255c29c5b29@wxs.nl> (raw)
In-Reply-To: <61c060e8-4ffb-b472-df66-390492a8c8fd@gmail.com>
On 7/24/2017 11:41 PM, Sebastian L. wrote:
> Yes it helps, thanks; it explains why there was so little response to
> this. ;)
> After some search I found regular style pictures of it. I was sure, that
> it was italic as standard, because that's what "modern" suggests:
> compability for current regulations (i.e. regular constants, italic
> variables) as well as an attractive style overall. But since Neo Euler
> seems to have no italic style, it is of no use for academic purposes,
> like in my case.
originally "euler" is a math companion font to "concrete" and it's not
trivial to make en euler with all text styles (maybe some day the tex
gyre project will give it a try) .. btw, the same is true for sans
fonts: at some point one runs out of distinctive features
btw, it also fits with pagella (see type-imp-euler)
> The story, to add to the subject of the mail, in case somebody searches
> the archive for this, is that I wasn't able to find out is how to change
> the math font only, as i like the standard font with
> \setupbodyfont[sans] as global setup but not the style of (non-modern)
> Euler.
> I tried
>
> \definefontfamily [mainface] [mm] [Xits Math]
most users who mess with fonts either use the selectfont mechanism or
peek into the type-imp files to see how to set up a combination
> but this changes the whole typeface; not what I want.
> So the trick is to define the standard font for the rest of the font
> variations. The standard font can be found out with \showbodyfont. At
> least that's what it suggests. But it gives you "modern-design" as font.
> When you use this within \definefontfamily then it gives you nothing,
> because the real id of the standard font is "modern". So to change the
> math font only and keep the main font standard, you have to use this
> command group (just in case somebody looks for it):
>
> \definefontfamily [mainface] [rm] [Modern] % = serif
> \definefontfamily [mainface] [ss] [Modern] % = sans
> \definefontfamily [mainface] [tt] [Modern] % = mono (teletype)
> \definefontfamily [mainface] [mm] [Xits Math] [rscale=1.03] % = math
>
> But as this seems to be so trivial, that few people care, I really have
> to wonder why people who test CTX criticise the lack of documentation.
> We (especially who haven't been through LaTeX or even TeX) seem to be a
> minority.
In what sense?
Anyway, there is quite some documentation (also about fonts) available
(and the context distribution documentation section has examples).
> Cheers and thanks, S.
> On 23/07/2017 21:22, Pablo Rodriguez wrote:
>> On 07/22/2017 03:16 AM, Sebastian L. wrote:
>>> Hi, I have trouble with Neo Euler font after playing around with those
>>> options.
>>> [...]
>>> I am pretty sure that before I started mixing the fonts in one single
>>> document, Neo Euler was italic.
>>>
>>> Does anybody have a clue what might have went wrong?
>> Hi Sebastian,
>>
>> as far as I remember, Neo Euler is a regular font only
>> (https://github.com/khaledhosny/euler-otf).
>>
>> Euler is an italic font and it might have the other regular, bold, bold
>> italic typefaces (I don’t know).
>>
>> I hope it helps,
>>
>> Pablo
>
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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-07-24 22:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-20 7:38 Kumar Appaiah
2017-07-20 18:23 ` Pablo Rodriguez
2017-07-21 12:33 ` Kumar Appaiah
2017-07-22 1:16 ` Sebastian L.
2017-07-23 19:22 ` Pablo Rodriguez
2017-07-24 21:41 ` Sebastian L.
2017-07-24 22:12 ` Hans Hagen [this message]
2017-07-25 15:57 ` Sebastian L.
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=f884c1d9-3e96-0e04-6a4b-c255c29c5b29@wxs.nl \
--to=pragma@wxs.nl \
--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).