Quoting Mark Veltzer (mark.velt...@gmail.com):
> I have a problem and a solution to it which does is not very stable.
> 
> My problem is that I want music sheets to be followed by their text. Since 
> these are
> songs I arrange the text in several columns to save space. The text is RTL
> (hebrew in this case).
> 
> What is the problem? I want the columns to be aligned to the right on the 
> screen.
> I can do it but the only way I found to do it is by inserting bogus not 
> deterministic
> number of empty columns and using 'fill-line'.
> 
> My question is this: Is there a better solution?

Is the attached more what you want? It's tricky to tell as I'm not
familiar with editing RTL in emacs. (I changed the 3 As to XYZ to
distinguish the paragraphs.)

Cheers,
David.
\version "2.18.2"
\markup {
  \small {
    \fill-line {
      "" % this gets pushed to the left by fill-line
      \right-align { % this gets pushed to the right by fill-line
	\concat {
	  \line {
	    \right-column {
	      \box "X"
	      "נח - היונה כבר שבה עם עלה של זית"
	      "נח - תן לנו לצאת ולחזור לבית"
	      "כי כבר נמאסנו זה על זה"
	      "האריה על הממותה, הגמל על השיבוטה"
	      "וגם ההיפופוטם."
	      "פתח לרגע את הצוהר"
	      "ונעוף לתכלת הלבנה"
	      "כך עם היונה."
	    }
	  }
	  "   " % this separates the columns
	  \line {
	    \right-column {
	      \box "Y"
	      "נח - כמה זמן נמשיך לשוט על פני המים?"
	      "נח - כל החלונות סגורים כמעט חודשיים."
	      "וכבר אין לנו אויר"
	      "לאריה ולממותה לגמל ולשיבוטה"
	      "וגם להיפופוטם."
	      "פתח לרגע את הצוהר"
	      "ואל תוך התכלת הלבנה"
	      "שלח את היונה."
	      \null
	      \box "Z"
	      "נח - מה אתה דואג, הן כבר חדל הגשם"
	      "נח - פתח את החלון, אולי הופיעה קשת"
	      "ויראו אותה כולם"
	      "האריה והממותה, הגמל והשיבוטה"
	      "וגם ההיפופוטם."
	      "פתח לרגע את הצוהר"
	      "ואל תוך התכלת הלבנה"
	      "שלח את היונה."
	    }
	  }
	}
      }
    }
  }
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to