TransWikia.com

Font that produces the long vowel sign (ː) in LaTeX (without TIPA)

TeX - LaTeX Asked on June 21, 2021

I’m currently using the kotex package, which produces all IPA symbols correctly, except for the long vowel sign ː.

The following code (in XeLaTeX) produces only a and not

documentclass{article}
usepackage{kotex}
setmainfont{Libertinus Serif}
setmainhangulfont{Noto Serif CJK KR}


begin{document}

aː

end{document}

Is it a font problem? What font can I use to produce ː without using TIPA?

One Answer

I don't have Noto Serif CJK KR. Here's what happens after changing that font into GungSeo (a font with Hangul characters I have on my system:

  1. if I comment the setmainhangulfont line, the character U+02D0 MODIFIER LETTER TRIANGULAR COLON is printed using Libertinus Serif;
  2. if I uncomment the line, the character is printed using GungSeo.

Thus the conjecture is that Noto Serif CJK KR doesn't have a glyph corresponding to U+02D0.

The file xetexko-space.sty has indeed

XeTeXcharclass "02D0 = XKcjksymbol % ː

and this is what makes the character to be drawn from the Hangul font, rather than the Latin one.

If you want to keep the character to be drawn from the Latin font, change that character class assignment.

documentclass{article}
usepackage{kotex}
setmainfont{Libertinus Serif}
setmainhangulfont{GungSeo}

XeTeXcharclass "02D0 = XKlatinchar % ː

begin{document}

aː

end{document}

Output with the modification

enter image description here

Output without the modification

enter image description here

You clearly see that the glyph for the triangular colon is taken from a different font (in this case GungSeo).

Correct answer by egreg on June 21, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP