0

I'm trying to typeset song lyrics in Japanese. I want the words to be accompanied by furigana glosses, as provided by the ruby package. But the default ruby size is too small, so I increased it as per documentation:

\renewcommand{\rubysize}{0.5} % default: 0.4

I then use the verse environment to typeset songs:

% [⋮]

\begin{verse}
世界に\\
\ruby{誕生}{たんじょう}\\
\ruby{瞬間}{しゅんかん}\\
誕生\\
その\ruby{繰}{く}り\ruby{返}{かえ}し
\endf{verse}

(Sample document here)

However, this specific combination—ruby + verse + larger \rubysize—somehow generates horizontal spacing on the start of the line, pushing the base (non-ruby) characters to the right. Notice how the base characters below are not left-aligned properly on lines 2 and 3:

ruby package spacing issue at start of line

How do I keep the Japanese characters left-aligned even when they have furigana glosses?

I'm using XeTeX, xeCJK, the ruby package, verse, Hiragino Mincho Pro, and TeX Live 2015.

  • 1
    please make that a complete document that produces the image, so we can run it. – David Carlisle Jun 16 '15 at 20:36
  • Also because I'm not getting your unwanted space (so it's probably a conflict with something else in your code). – Alenanno Jun 16 '15 at 21:14
  • Added sample minimal document, in the process of which I found that the problem only appears if 1) I increase \rubysize, and also 2) in the verse environment. I should have done this from the beginning; sorry. – melissa_boiko Jun 17 '15 at 12:48
  • @leoboiko Post that as an answer, it might be useful in the future. – Alenanno Jun 20 '15 at 13:04
  • The question still lacks a full MWE and based on the comments I'm not sure quite what we are expected to say. – Joseph Wright Jul 28 '15 at 5:59

Your Answer

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

Browse other questions tagged or ask your own question.