That works for that particular example, yes. Doesn't work for anything other than exactly two kana per kanji, though.
On 12/06/17 23:50, Carl Sorensen wrote: > > > On 12/6/17, 2:00 PM, "Caagr98" <caag...@gmail.com> wrote: > > I'm trying to insert a bit of Japanese text in some markup. Putting the > text itself works fine, but as soon as I try adding furigana (small kana > above the kanji), it looks terrible. Is there anything I can do about that? > > > Since the kanji should be perfectly aligned in a row, I did this. > > \version "2.19.80" > > #(define-markup-command (furi layout props kanji kana) (markup? markup?) > (interpret-markup layout props > (markup > (#:override '(baseline-skip . 0) > #:center-column > (#:magnify 1/2 kana > kanji))))) > > \markup { > \box 一番 % Works fine > } > > \markup { > \box \concat { % Terribly misaligned > \furi 一 "いち" > \furi 番 "ばん" > } > } > > \markup { > \box \concat { % Seems OK to me > \furi "一番" "いちばん" > } > } > > > Hope this helps, > > Carl > > > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user