4

I want to create a tie over ng by typing: \t{ng}:

Working tie

The following minimal example causes the tie over ng to be displaced one position to the right, so that it appears over the g and empty space. The problem persists regardless of font. It works fine if I don't load either xeCJK or fontspec, but not if I load both.

I'm compiling with xelatex on Mac OS Mavericks.

\documentclass[utf8,12pt,letterpaper]{article}
\usepackage{xeCJK}
\usepackage{fontspec}
\setmainfont{Gentium Plus}
\begin{document}
\t{ng}
\end{document}

Displaced tie

  • It seems a bug of xunicode-addon. A quick fix is to use \t ng instead of \t{ng}. We will check the code later. – Leo Liu Feb 20 '14 at 8:09
  • I use it inside words and over several combinations of letters, so there is not really a quick fix in my case. I'll sit tight and wait for an update of the package. Thank you! – Mårten Feb 20 '14 at 12:29
4

The latest revision of xunicode-addon try to fix this bug (avaliable in ctex-kit or Google Driver currently). Please have a try.

Update: The new version is available in TeX Live 2013.

  • I'm not very good at changing things in my LaTeX installation manually, I'll wait until it's available for update through TeX Live. 多謝! – Mårten Feb 21 '14 at 0:19
  • @Mårten: You can download the files in Google Driver and decompress the files to your working directory. That's it. – Leo Liu Feb 24 '14 at 4:05
  • I added the .sty and the .def files in texmf and loaded \usepackage{xunicode-addon}. It did not solve the problem. What am I doing wrong? – Mårten Feb 24 '14 at 12:49
  • Scratch that; it now works, miraculously. Thank you so much. – Mårten Feb 25 '14 at 3:49
  • Actually, I have to withdraw that. I still find many instances where it is not working although I load the package. – Mårten Mar 3 '14 at 1:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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