Skip to content

Commit

Permalink
Updated README with font handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Pseudomanifold committed Sep 21, 2021
1 parent f0e8019 commit c2a0d7b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,20 @@ please let me know!
}
```

3. I have a font with special support for ordinal numbers. How can I use
them?\
\
The easiest way is to override the definitions and specify the
required font features:
```latex
\renewcommand{\st}{{\addfontfeatures{VerticalPosition=Ordinal}\textup{st}}\xspace}
\renewcommand{\rd}{{\addfontfeatures{VerticalPosition=Ordinal}\textup{rd}}\xspace}
\renewcommand{\nd}{{\addfontfeatures{VerticalPosition=Ordinal}\textup{nd}}\xspace}
\renewcommand{\th}{{\addfontfeatures{VerticalPosition=Ordinal}\textup{th}}\xspace}
```
Notice that this will not work for most fonts. If you are unsure,
just leave the default values in place.

# Contributing

If you require additional features, find some bugs, or just have some
Expand Down

0 comments on commit c2a0d7b

Please sign in to comment.