From: Randall Skelton <randall.skelton@gmail.com>
Subject: Bold Greek Math with Fourier Font
Date: Fri, 8 Jul 2005 14:16:53 -0400 [thread overview]
Message-ID: <ba4316d3050708111658e3ee6f@mail.gmail.com> (raw)
Hi all,
Does anyone know how to setup fourier to have boldfaced symbols (both
greek and roman) using the Fourier font? I've read through the
"Mixed Normal and Bold Math" doc, but I cannot seem to get bold to
work at all with the Fourier font. Heck, I cannot even get the
boldmath definition to stop substituting with cm!
I've changed 'tex/context/base/type-syn.tex' and
'tex/context/base/type-enc.tex' to provide boldmath/bfmath definitions
as below. Despite 3 hours of fiddling, I'm getting substitution with
computer modern when I try and the boldmath definition in test.tex
(below).
I hope this isn't a case of me not reading the docs carefully
enough... Any and all help greatly appreciated.
Cheers,
Randall
%%%%% START tex/context/base/type-enc.tex
...
% Fourier (Utopia)
\starttypescript [math] [fourier] [default,ec]
\definefontsynonym [Fourier-Math-Letters] [futr8t]
%\definefontsynonym [Fourier-Math-Letters] [futmi]
\definefontsynonym [Fourier-Math-Letters-Italic] [futmii]
\definefontsynonym [Fourier-Math-Symbols] [futsy]
\definefontsynonym [Fourier-Math-Extension] [fourier-mex]
\stoptypescript
\starttypescript [boldmath,bfmath] [fourier] [default,ec]
\definefontsynonym [Fourier-Math-Letters-Bold] [fourier-mlb]
\definefontsynonym [Fourier-Math-Letters-Italic-Bold] [fourier-mlitb]
\definefontsynonym [Fourier-Math-Symbols] [futsy]
\definefontsynonym [Fourier-Math-Extension] [fourier-mex]
\stoptypescript
% fourier virtual fonts:
% futb8c.vf futbi9d.vf futc9c.vf futr8t.vf futri8t.vf futroorn.vf
futsi9e.vf
% futb8t.vf futbi9e.vf futc9d.vf futr9c.vf futri9c.vf futrorn.vf
futso9c.vf
% futb9c.vf futbo8c.vf futc9e.vf futr9d.vf futri9d.vf futs9c.vf
futso9d.vf
% futb9d.vf futbo8t.vf futcorn.vf futr9e.vf futri9e.vf futs9d.vf
futso9e.vf
% futb9e.vf futbo9c.vf futmi.vf futrc8t.vf futro8c.vf futs9e.vf
futsoorn.vf
% futbc8t.vf futbo9d.vf futmib.vf futrc9d.vf futro8t.vf futsc9d.vf
futsorn.vf
% futbi8c.vf futbo9e.vf futmii.vf futrc9e.vf futro9c.vf futsc9e.vf futsy.vf
% futbi8t.vf futboorn.vf futmiib.vf futrd8t.vf futro9d.vf futsi9c.vf
% futbi9c.vf futborn.vf futr8c.vf futri8c.vf futro9e.vf futsi9d.vf
% map file has:
%fourier-bb Fourier-Math-BlackBoard <fourier-bb.pfb
%fourier-mcl Fourier-Math-Cal <fourier-mcl.pfb
%fourier-mex Fourier-Math-Extension <fourier-mex.pfb
%fourier-ml Fourier-Math-Letters <fourier-ml.pfb
%fourier-mlit Fourier-Math-Letters-Italic <fourier-mlit.pfb
%fourier-mlb Fourier-Math-Letters-Bold <fourier-mlb.pfb
%fourier-mlitb Fourier-Math-Letters-Bold-Italic <fourier-mlitb.pfb
%fourier-ms Fourier-Math-Symbols <fourier-ms.pfb
\starttypescript [serif] [fourier] [ec]
\definefontsynonym [Fourier-Regular] [futr8t] [encoding=ec]
\definefontsynonym [Fourier-Slanted] [futro8t] [encoding=ec]
\definefontsynonym [Fourier-Italic] [futri8t] [encoding=ec]
\definefontsynonym [Fourier-RegularCaps] [futrc8t] [encoding=ec]
\definefontsynonym [Fourier-Bold] [futb8t] [encoding=ec]
\definefontsynonym [Fourier-BoldSlanted] [futbo8t] [encoding=ec]
\definefontsynonym [Fourier-BoldItalic] [futbi8t] [encoding=ec]
\definefontsynonym [Fourier-BoldCaps] [futbc8t] [encoding=ec]
\definefontsynonym [Fourier-Regular-Expert] [futr9e] [encoding=ec]
\definefontsynonym [Fourier-Slanted-Expert] [futro9e] [encoding=ec]
\definefontsynonym [Fourier-Italic-Expert] [futri9e] [encoding=ec]
\definefontsynonym [Fourier-RegularCaps-Expert] [futrc9e] [encoding=ec]
\definefontsynonym [Fourier-Semi-Expert] [futs9e] [encoding=ec]
\definefontsynonym [Fourier-SemiSlanted-Expert] [futso9e] [encoding=ec]
\definefontsynonym [Fourier-SemiItalic-Expert] [futsi9e] [encoding=ec]
\definefontsynonym [Fourier-SemiCaps-Expert] [futsc9e] [encoding=ec]
\definefontsynonym [Fourier-Bold-Expert] [futb9e] [encoding=ec]
\definefontsynonym [Fourier-BoldSlanted-Expert] [futbo9e] [encoding=ec]
\definefontsynonym [Fourier-BoldItalic-Expert] [futbi9e] [encoding=ec]
\definefontsynonym [Fourier-Black-Expert] [futc9e] [encoding=ec]
\definefontsynonym [Fourier-Regular-OldStyle] [futr9d] [encoding=ec]
\definefontsynonym [Fourier-Slanted-OldStyle] [futro9d] [encoding=ec]
\definefontsynonym [Fourier-Italic-OldStyle] [futri9d] [encoding=ec]
\definefontsynonym [Fourier-RegularCaps-OldStyle] [futrc9d] [encoding=ec]
\definefontsynonym [Fourier-Semi-OldStyle] [futs9d] [encoding=ec]
\definefontsynonym [Fourier-SemiSlanted-OldStyle] [futso9d] [encoding=ec]
\definefontsynonym [Fourier-SemiItalic-OldStyle] [futsi9d] [encoding=ec]
\definefontsynonym [Fourier-SemiCaps-OldStyle] [futsc9d] [encoding=ec]
\definefontsynonym [Fourier-Bold-OldStyle] [futb9d] [encoding=ec]
\definefontsynonym [Fourier-BoldSlanted-OldStyle] [futbo9d] [encoding=ec]
\definefontsynonym [Fourier-BoldItalic-OldStyle] [futbi9d] [encoding=ec]
\definefontsynonym [Fourier-Black-OldStyle] [futc9d] [encoding=ec]
\stoptypescript
...
%%%%% END
%%%%% START tex/context/base/type-syn.tex
...
\starttypescript [math] [fourier] [name]
\definefontsynonym [MathRoman] [Fourier-Math-Letters]
\definefontsynonym [MathItalic] [Fourier-Math-Letters-Italic]
\definefontsynonym [MathSymbol] [Fourier-Math-Symbols]
\definefontsynonym [MathExtension] [Fourier-Math-Extension]
\stoptypescript
\starttypescript [math] [fourier] [name] % todo
\definefontsynonym [OldStyle] [Serif-OldStyle] % strange, no oldstyles
\definefontsynonym [Fraktur] [eufm10]
\definefontsynonym [Blackboard] [msbm10]
\definefontsynonym [Gothic] [eufm10]
\definefontsynonym [Calligraphic] [eusm10]
\stoptypescript
\starttypescript [boldmath] [fourier] [name]
\definefontsynonym [MathRoman] [Fourier-Math-Letters-Bold]
\definefontsynonym [MathExtension] [Fourier-Math-Letters-Italic-Bold]
\definefontsynonym [MathSymbol] [Fourier-Math-Symbols]
\definefontsynonym [MathExtension] [Fourier-Math-Extension]
\stoptypescript
\starttypescript [bfmath] [fourier] [name]
\definefontsynonym [MathRoman] [Fourier-Math-Letters-Bold]
\definefontsynonym [MathExtension] [Fourier-Math-Letters-Italic-Bold]
\definefontsynonym [MathSymbol] [Fourier-Math-Symbols]
\definefontsynonym [MathExtension] [Fourier-Math-Extension]
\stoptypescript
...
%%%%% END
%%%%% START test.text
\definetypeface [mainface] [rm] [serif] [fourier] [default]
\definetypeface [mainface] [tt] [mono] [fourier] [default]
\definetypeface [mainface] [ss] [sans] [fourier] [default]
\definetypeface [mainface] [mm] [math] [fourier] [default]
\definetypeface [boldmath] [rm] [serif] [fourier] [default]
\definetypeface [boldmath] [tt] [mono] [fourier] [default]
\definetypeface [boldmath] [ss] [sans] [fourier] [default]
\definetypeface [boldmath] [mm] [boldmath] [fourier] [default]
\switchtobodyfont[mainface]
\starttext
This is a silly test that is taking way too long!
\startformula[mainface]
x = \Gamma + \Delta + \alpha + \delta + \zeta
\stopformula
\startformula[boldmath]
x = \Gamma + \Delta + \alpha + \delta + \zeta
\stopformula
\stoptext
%%%%% END
next reply other threads:[~2005-07-08 18:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-08 18:16 Randall Skelton [this message]
2005-07-09 13:04 ` Michel Bovani
2005-07-09 18:57 ` Randall Skelton
2005-07-09 20:23 ` Adam Lindsay
2005-07-09 22:09 ` Randall Skelton
2005-07-10 2:53 ` Randall Skelton
2005-07-11 15:41 ` Randall Skelton
2005-07-11 17:14 ` Michel Bovani
2005-07-12 1:08 ` Randall Skelton
2005-07-12 14:43 ` Michel Bovani
2005-07-14 22:43 ` Randall Skelton
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=ba4316d3050708111658e3ee6f@mail.gmail.com \
--to=randall.skelton@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).