When I use \emph{\~\i} to create an i with tilde in XeTeX (using Linux Libertine), the i is not typeset in italics. Does anyone know a workaround?

You can see a MWE here:

\documentclass[11pt]{article}
\usepackage{fontspec}
\setmainfont{Linux Libertine}

\begin{document}

\emph{G\~\i k\~uy\~u}
\end{document}

Any help would be greatly appreciated! Thanks in advance! Thomas

  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – Heiko Oberdiek Apr 17 '14 at 16:44
  • On my system I have to call the font as \setmainfont{Linux Libertine O} and this works without problems. – Ulrike Fischer Apr 17 '14 at 16:51

Too long for a comment.

If I change the font to Linux Libertine O (OpenType variant), then it works for both XeTeX and LuaTeX. Also the character can be specified directly:

\documentclass[11pt]{article}
\usepackage{fontspec}
\setmainfont{Linux Libertine O}

\begin{document}
  \emph{G\~\i k\~uy\~u  ĩ}
\end{document}

Result

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.