unicode-math icon indicating copy to clipboard operation
unicode-math copied to clipboard

Add math-style for upright uppercase (Latin and Greek) and italic lowercase (Latin and Greek)

Open kauesena opened this issue 6 years ago • 8 comments

Description

It would be a nice to be able to have all uppercase letters to be upright. The package does not yet have this option.

Check/indicate

  • [x] Relevant for XeTeX
  • [x] Relevant for LuaTeX
  • [x] Issue tracker has been searched for similar issues?
  • [ ] Links to <tex.stackexchange.com> discussion if appropriate

kauesena avatar Jun 24 '18 20:06 kauesena

What about math-style=french ?

wspr avatar Jun 25 '18 00:06 wspr

I have been using it, but it makes also all Greek lowercase upright. In the past, I used the mathdesign package which allowed this style using 'uppercase=upright'.

kauesena avatar Jun 25 '18 10:06 kauesena

Okay, fair enough. Is this a standard style somewhere? Could you provide links to example documents of this style in use? Or is it to work around a font difficulty?

wspr avatar Jun 25 '18 10:06 wspr

I have seen documents with such configuration, but I couldn't find one as I searched through my books and PDF's here. There was one which I thought was configured thus, but it ended up being the typical French style. I believe it probably isn't a standard anywhere, and I am just someone who sadly prefers the in-between of math-style standards.

Maybe I can call this a font difficulty: when using the French style the lowercase roman letters are upright with \mathbf, and are italicised in normal math mode. I usually prefer when the bold version of the letter in a equation is simply a heavier version of the same shape. I think the reason behind things not being this way is to make a clearer distinction between bold and not bold.

It would be nice to have this feature, but I do also understand that there may be little reason for the trouble of adding this style since it probably isn't standard anywhere. In that case, I hope to grow fond of the TeX or the French styles. :)

Thanks for the prompt answers and all the great work.

kauesena avatar Jun 25 '18 12:06 kauesena

Thanks for the additional comments. When I spend some time next with this package I’ll see if there’s anything I can add that doesn’t overly complicate the options.

wspr avatar Jun 25 '18 13:06 wspr

Maybe I can call this a font difficulty: when using the French style the lowercase roman letters are upright with \mathbf, and are italicised in normal math mode. I usually prefer when the bold version of the letter in a equation is simply a heavier version of the same shape.

that though is the standard behaviour of \mathbf with or without the unicode-math package. \mathbf is the bold version of \mathrm, not the bold version of the default math italic (which is \bm in classic math setup or \symbfit in unicode-math

David

davidcarlisle avatar Jun 25 '18 13:06 davidcarlisle

You're right, David! As I usually define a new command for vectors (which are my major use of bold characters in math mode, being a physics student), I do not use \mathbf frequently. I went and checked my cls files from when I still used pdflatex and mathdesign, and saw that I used \boldsymbol and not \mathbf, possibly because it has the behaviour you described, of which I had no remembrance.

kauesena avatar Jun 27 '18 16:06 kauesena

I also use this style (lowercase italic, uppercase upright). I don’t think it’s standard anywhere but it’s the logical intermediary between the French and TeX styles — and it’s more consistent. It doesn’t need to be complicated, either: it just needs the same Latin rules as math-style=french and the same Greek rules as math-style=TeX. You could call it something like math-style=mixed ;). Despite the fact that it’s non-standard I think it would be a nice option to have.

tytyvillus avatar Jan 15 '20 11:01 tytyvillus