\version "1.6.10" % Thanks, Han-Wen! % Do you still have problems with the titles? \header { title = "Title" language = "hebrew,english" % don't forget to uncomment this! } \include "paper26.ly" % General purpose mapping function: applies FUNC to every % text field in MUSIC. #(define (text-map func music) (let ((text (ly-get-mus-property music 'text)) (element (ly-get-mus-property music 'element)) (elements (ly-get-mus-property music 'elements))) (if (not (null? text)) (ly-set-mus-property! music 'text (func text))) (if (not (null? element)) (ly-set-mus-property! music 'element (text-map func element))) (if (not (null? elements)) (ly-set-mus-property! music 'elements (map (lambda (m) (text-map func m)) elements))) music)) % Does Scheme really not include this function? #(define (string-reverse str) (list->string (reverse (string->list str)))) % Reverse every word (in terms of the above two functions) #(define (text-reverse lyric) (text-map string-reverse lyric)) % Sandwich every word between PRE and POST #(define (text-augment pre post) (lambda (lyric) (text-map (lambda (word) (string-append pre word post)) lyric))) % I factored out the lyrics, and also tried setting % the extra-offset property randomly. It works. lyr = \lyrics { % א %\property LyricsVoice . LyricText \override #'extra-offset = #'(5 . 0) %ta %\property LyricsVoice . LyricText \revert #'extra-offset %damm } \score { \addlyrics \notes { \clef "treble" \key g \minor \property Staff.midiInstrument = "oboe" \time 4/4 \relative d' { \partial 8 g8 | g8 g8 g16 d16 c4 c8 | \grace {g16} b8 b8 b16 g16 c8. d16 g8 | g8 d8 c4 ~ c16 d16 g16 f16 | % FR(5) b4 g8 b16 \grace {b16 } b16 g8 c16 d16 | g8 g16 d16 g32 d32 c16 c4 c8 | \grace {g16} b8 b8 b16 g16 c8. g16 g32 g32 g16 | \times 3/2 { g16 d16 g16 bis16 } c4. | b8-"art" c8 b8 ais8. b16 b16-\prall ais16 ~ | % FR(10) b16 b16 b8 b8 b4 ais16 b16 | c8 b8 c16 b16 ais8 b8 b16 ais16 | b4. b4. \grace {ais16 b16 } f4. | r8 b8 ais8 b8. f16 \times 2/3 { b32 ais32 b32 f16} | f8-"art" f8-"art" f16-"art" d16 f4-"art" ~ f16 g16-"art" | % FR(15) b4. \grace {b8 } f8 b16 f16 g8 | d16 c16 b8 ~ b4. s4/3 | b4. \grace }{b8 } f8 b16 f16 g8 | d4. c4. s4 | } \context Lyrics \apply #(text-augment "\\R{" "}") \lyrics { המבדיל בין קודש בין קודש לחול חטאתנו הוא ימחל זרעינו וכספנוירבה כחול וככוכבים בלילה יום פנה כצל תאמר אקרא נא עליך גמר אמר שמר אתא בקר וגם לילה } % Here you probably want to use "\\R{" and "}" instead. \paper { papersize = "a4" indent = 0.0\cm } \midi { \tempo 4 = 106 } }