Fonts & Character Sets ⇒ Automatic ordinals with fontspec and opentype?
Automatic ordinals with fontspec and opentype?
I think there must be some way to have it automatically superscript the endings in ordinals like '1st', '2nd', '3rd', etc., but I can't figure it out.
I turned on feature, 'VerticalPosition=Ordinal' in the font specification. That doesn't work properly. It does superscript ordinals properly. But it also superscripts all lower case letters in every word, regardless of whether it's an ordinal or not, and regardless of whether they are trailing or not.
Is there some other simple switch to turn it on that I'm missing? Or is this some kind of mapping or encoding problem?`
Or maybe it's just a bug. I notice that the example for VerticalPosition=Ordinal in most recent fontspec manual pdf at bottom of p. 22 is not rendered properly, though the error their is different from what I'm seeing:
http://www.ctan.org/tex-archive/macros/ ... ntspec.pdf
Thanks,
Herb
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p