I was wondering if anyone here knew how to create a "curly" apostrophe in LaTeX without having to type out the unicode character for it. I know that the csquotes package is an option, but this only appears to allow making curly single and double quote pairs. I don't want quotes. I want a curly, single apostrophe.
It isn't, but I figured it out maybe. The apostrophe is curly when compiling with pdflatex, but not xelatex. I've been a fan of the latter because I write in several languages and I like unicode-by-default. I wonder why that's the case though.
XeTeX 3.141592653-2.6-0.999995 (TeX Live 2023/Arch Linux)
Mine a bit newer. That said, newer sometimes means buggier, the downside of being on a rolling release. I have a Debian server though. I'll install texlive and try it there maybe.
Isn’t that what you get if you use the ’ character for apostrophes? For example:
It isn't, but I figured it out maybe. The apostrophe is curly when compiling with pdflatex, but not xelatex. I've been a fan of the latter because I write in several languages and I like unicode-by-default. I wonder why that's the case though.
Did you try my minimal example? I don't use xelatex, but I've just tried running it on my example code and the output is the same as with pdflatex.
Yup. It worked perfectly with pdflatex but not with xelatex. I confirmed this with other files. I'll just stick with pdflatex for now
That's interesting. I wonder why we're getting different results.
Different versions of xetex, perhaps? I'm using
XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/Debian) (preloaded format=xelatex)
A little out of date, as I haven't got around to updating my Debian yet.
XeTeX 3.141592653-2.6-0.999995 (TeX Live 2023/Arch Linux)
Mine a bit newer. That said, newer sometimes means buggier, the downside of being on a rolling release. I have a Debian server though. I'll install texlive and try it there maybe.
Have you tried setting the +tlig opentype feature in your font definitions?