latex3 / unicode-math

XeLaTeX/LuaLaTeX package for using unicode/OpenType maths fonts
http://ctan.org/pkg/unicode-math
LaTeX Project Public License v1.3c
239 stars 28 forks source link

additional fonts for #596 #597

Closed davidcarlisle closed 10 months ago

davidcarlisle commented 1 year ago

Status

READY

Description

adds

\defmathfont{ncm}{NewCMMath-Regular.otf}{AA66AA}{N}
\defmathfont{gnh}{GFSNeohellenicMath.otf}{AAAA66}{H}
\defmathfont{erm}{Erewhon-Math.otf}{66AA66}{E}

Could add more but perhaps a complete redesign would be needed in that case, the table is getting a bit wide

also switches out tabu package

Minimal example demonstrating the new/fixed functionality

doc change only

apoorvpotnis commented 1 year ago

Wouldn't it be better if the book weight of NCM was used instead of regular, to see the difference between LM and NCM?

davidcarlisle commented 1 year ago

@apoorvpotnis I did wonder about that, probably, yes.

ArchangeGabriel commented 1 year ago

I had asked about this before: https://github.com/wspr/unicode-math/issues/473

I recall @wspr saying that it did not want to expand the table much more, but can’t retrieve where that was said…

So I would say that yes, a redesign would be need.

apoorvpotnis commented 1 year ago

@davidcarlisle @ArchangeGabriel Can't the page dimensions be changed to accommodate additional fonts? Or print in landscape mode?

davidcarlisle commented 1 year ago

@apoorvpotnis currently (after https://github.com/wspr/unicode-math/pull/597/commits/c4d204072818dacde03e5070a21a87b10d58c14b) All the fonts listed in the issue are listed (stealing some space from the margins) But clearly this design does not scale, if more fonts are added you would probably be better with some kind of overlay interaction so you just compare two at a time from some list of possibilities or whatever. I think this is OK for now though.

apoorvpotnis commented 1 year ago

@davidcarlisle Garamond Math can be added as mentioned in #473.

wspr commented 10 months ago

Many thanks!