* bold math not mathitalic
@ 2005-11-15 22:31 Hans van der Meer
0 siblings, 0 replies; 2+ messages in thread
From: Hans van der Meer @ 2005-11-15 22:31 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 2356 bytes --]
I am using the follwing (extracted) typescript lines for math in the
lucida fonts:
\starttypescript [luc]
\definetypeface [luc][mm][math][lucidayy][default]
[encoding=texnansi]
\definetypeface [luc][mm][bfmath][lucidayy][default]
[encoding=texnansi]
\stoptypescript
\starttypescript [math] [lucidayy] [default]
\definebodyfont [default] [mm]
[mr=MathRoman mo 1, mi=MathItalic mo 1, ....]
\stoptypescript
\starttypescript [bfmath] [lucidayy] [default]
\definebodyfont [default] [mm]
[mrbf=MathRomanBold mo 1, mibf=MathItalicBold mo 1, ....]
\stoptypescript
\starttypescript [math] [lucidayy] [name]
\definefontsynonym [MathRoman] [LucidaBright]
\definefontsynonym [MathItalic] [LucidaNewMath-AltItalic]
\stoptypescript
\starttypescript [math] [lucidayy] [texnansi,ec,8r]
\definefontsynonym [LucidaBright] [hlhr8y]
[encoding=texnansi]
\definefontsynonym [LucidaNewMath-AltItalic] [hlcrima]
\stoptypescript
\starttypescript [bfmath] [lucidayy] [name]
\definefontsynonym [MathRomanBold] [LucidaBright-Demi]
\definefontsynonym [MathItalicBold] [LucidaNewMath-AltDemiItalic]
\stoptypescript
\starttypescript [bfmath] [lucidayy] [texnansi,ec,8r]
\definefontsynonym [LucidaBright-Demi] [hlhb8y]
[encoding=texnansi]
\definefontsynonym [LucidaNewMath-AltDemiItalic] [hlcdima]
\stoptypescript
Typesetting:
\starttext
\usetypescript[luc][texnansi]\setupbodyfont[luc,10pt]\lucidatrue
{$\sqrt{a^2 + b^2} = c + \mf\sin{}x\quad {\ma NZRC}$}\crlf
\stoptext
Gives me for the variables neatly LucidaNewMath-AltItalic.
But typesetting
\starttext
\usetypescript[luc][texnansi]\setupbodyfont[luc,10pt]\lucidatrue
{$\bfmath\sqrt{a^2 + b^2} = c + \mf\sin{}x\quad {\ma NZRC}$}\crlf
\stoptext
Gives me LucidaBright-Demi instead of LucidaNewMath-AltDemiItalic.
Everything else however (even the blackletters from ma) are in the
correct bold math font.
The font must be present, because substituting MathItalicBold for
MathItalic in the [math] script proves that.
It seems that mibf has not been substituted, but instead used the mr
typeface.
Could this be a flaw in the (bold)math handling? For example a wrong
fam chosen in the font switch?
It seems weird that everything behaves neat except for the bold math
italic.
Hans van der Meer
[-- Attachment #1.2: Type: text/html, Size: 3560 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bold math not mathitalic
@ 2005-11-16 15:15 Hans van der Meer
0 siblings, 0 replies; 2+ messages in thread
From: Hans van der Meer @ 2005-11-16 15:15 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 3165 bytes --]
I am trying to define bold math myself, but encounter a problem with
the typescripts.
Further probing into this matter (previous mail, see below) shows
that the typescript delineated by ****'s is NOT USED AT ALL!
(Calling \setupformulas[method=bold] makes no difference).
It therefore does not seem a problem in the math family assignments
in font-bfm.tex, as I first suspected.
Is there some special invocation needed for hooking up a user defined
font set into $\bfmath ...$?
If have looked into font-bfm.tex and font-ini.tex but could not
figure it out.
Clearly I am misunderstanding the inner workings here, but I have no
clue in which direction to look.
> I am using the follwing (extracted) typescript lines for math in
> the lucida fonts:
>
> \starttypescript [luc]
> \definetypeface [luc][mm][math][lucidayy][default]
> [encoding=texnansi]
> \definetypeface [luc][mm][bfmath][lucidayy][default]
> [encoding=texnansi]
> \stoptypescript
>
> \starttypescript [math] [lucidayy] [default]
> \definebodyfont [default] [mm]
> [mr=MathRoman mo 1, mi=MathItalic mo 1, ....]
> \stoptypescript
>
************************************************************************
******
> \starttypescript [bfmath] [lucidayy] [default]
> \definebodyfont [default] [mm]
> [mrbf=MathRomanBold mo 1, mibf=MathItalicBold mo 1, ....]
> \stoptypescript
************************************************************************
******
> \starttypescript [math] [lucidayy] [name]
> \definefontsynonym [MathRoman] [LucidaBright]
> \definefontsynonym [MathItalic] [LucidaNewMath-AltItalic]
> \stoptypescript
>
> \starttypescript [math] [lucidayy] [texnansi,ec,8r]
> \definefontsynonym [LucidaBright] [hlhr8y]
> [encoding=texnansi]
> \definefontsynonym [LucidaNewMath-AltItalic] [hlcrima]
> \stoptypescript
>
> \starttypescript [bfmath] [lucidayy] [name]
> \definefontsynonym [MathRomanBold] [LucidaBright-Demi]
> \definefontsynonym [MathItalicBold] [LucidaNewMath-AltDemiItalic]
> \stoptypescript
>
> \starttypescript [bfmath] [lucidayy] [texnansi,ec,8r]
> \definefontsynonym [LucidaBright-Demi] [hlhb8y]
> [encoding=texnansi]
> \definefontsynonym [LucidaNewMath-AltDemiItalic] [hlcdima]
> \stoptypescript
>
> Typesetting:
> \starttext
> \usetypescript[luc][texnansi]\setupbodyfont[luc,10pt]\lucidatrue
> {$\sqrt{a^2 + b^2} = c + \mf\sin{}x\quad {\ma NZRC}$}\crlf
> \stoptext
> Gives me for the variables neatly LucidaNewMath-AltItalic.
*** Changing the fonts in the above typescript does work ***
>
> But typesetting
> \starttext
> \usetypescript[luc][texnansi]\setupbodyfont[luc,10pt]\lucidatrue
> {$\bfmath\sqrt{a^2 + b^2} = c + \mf\sin{}x\quad {\ma NZRC}$}\crlf
> \stoptext
> Gives me LucidaBright-Demi instead of LucidaNewMath-AltDemiItalic.
> Everything else however (even the blackletters from ma) are in the
> correct bold math font.
> The font must be present, because substituting MathItalicBold for
> MathItalic in the [math] script proves that.
*** But not coming from my typescript I conclude from several
experiments ***
Hans van der Meer
[-- Attachment #1.2: Type: text/html, Size: 9490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-16 15:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-15 22:31 bold math not mathitalic Hans van der Meer
2005-11-16 15:15 Hans van der Meer
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).