3

I tried to edit a question where some kanji were followed by kana. I wanted to transform kana into furigana.

Original: ある夏の午後京浜電車けいひんでんしゃの中で

Furigana doesn't want to render correctly and starts too early (over 午後):

ある夏の午後京浜電車{けいひんでんしゃ}の中で

I tried combinations below (I used parentheses to show combinations I tried without rendering) - all give incorrect result:

ある夏の午後京浜(けいひん)電車(でんしゃ)の中で gives ある夏の午後京浜{けいひん}電車{でんしゃ}の中で

ある夏の午後京(けい)浜(ひん)電(でん)車(しゃ)の中で gives ある夏の午後京{けい}浜{ひん}電{でん}車{しゃ}の中で

Is there a way to render this furigana correctly?

ある夏の午後京浜電車(けいひんでんしゃ)の中で gives ある夏の午後京浜電車{けいひんでんしゃ}の中で

1
  • Ooops I didn't notice this post 編集しちゃった・・・スマソ! – user1016 May 7 '14 at 7:03
2

Put square brackets around the kanji and curly brackets around the kana:

ある夏の午後[京浜電車]​{けいひんでんしゃ}の中で

It should look like this:

ある夏の午後[京浜電車]{けいひんでんしゃ}の中で

In the first quote above, I used a zero-width space to prevent the furigana markup from rendering for demonstration purposes, so if you copy and paste that block it won't work. But if you type it like that, it should work.

1
  • Thank you very much! – Szymon May 7 '14 at 6:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .