How to type Aleksander Mądry's last name in LaTeX
post by DanielFilan · 2023-11-21T00:50:07.189Z · LW · GW · 1 commentsContents
1 comment
- Type “Madry”.
- Realize that the a has a little tail that you need to include.
- That’s a feature of the Polish alphabet called an ogonek.
- You type it in LaTeX like so:
M\k{a}dry
. - You get the error “Command \k unavailable in encoding OT1”.
- That’s because you need LaTeX to use a slightly different font package.
- In your preamble, add
\usepackage[T1]{fontenc}
. - You’re done.
My thanks to the Stack Exchange articles about how to use that symbol and how to deal with the LaTeX error I got implementing that fix.
1 comments
Comments sorted by top scores.
comment by Shankar Sivarajan (shankar-sivarajan) · 2023-11-21T03:00:26.619Z · LW(p) · GW(p)
Alternatively:
- Type (or copy-and-paste) ``Mądry''.
- Run XeLaTeX instead.