formatting a text before the score

2013-11-25 Thread olicha
Hi,
In order to give the context of a short waltz I wrote for a performance of a
play by Chekhov, I am trying to insert three cues of the play before the score.
Here is my code:
\markup  { \abs-fontsize #12
  \column {
\vspace #1
\wordwrap {LIOUBOV On dirait qu'il y a de la musique quelque
part.\italic {(Elle écoute.)}
}
\wordwrap {GAÏEV C'est notre fameux orchestre juif. Tu te rappelles,
quatre violons, une flûte et une contrebasse. 
}
\wordwrap {LIOUBOV Tiens, il existe toujours! Il faudrait l'inviter, à
l'occasion organiser une petite soirée. 
}
\left-align {\line { \italic {Anton Tchekhov}}}
  }
}

two problems:
- line spacing between two lines of a wrapped line (Gaiev's cue) is bigger
than between independent lines. I cannot find how to modify that.
- I'd like to right align the author's name but writting "right" instead of
"left" just push it further to the left and it gets clipped.

Thank for any help



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: formatting a text before the score

2013-11-25 Thread Ryan McClure
I'm working on the first problem still. However, give this a try for the 
name:


\markup{ \fill-line{ \line{ } \line { \italic{Anton Tchekhov


Basically, this fills an entire line. By having two lines inside the 
fill-line, it spaces one on the left and one on the right. The first one 
is empty, hence the { }. The second one, right-aligned, is the name



I'll get back to you as soon as I figure out the top part.

By the way, what version of LilyPond are you running?


-Ryan McClure



On 11/25/2013 01:21 PM, olicha wrote:

Hi,
In order to give the context of a short waltz I wrote for a performance of a
play by Chekhov, I am trying to insert three cues of the play before the score.
Here is my code:
\markup  { \abs-fontsize #12
   \column {
 \vspace #1
 \wordwrap {LIOUBOV On dirait qu'il y a de la musique quelque
part.\italic {(Elle écoute.)}
 }
 \wordwrap {GAÏEV C'est notre fameux orchestre juif. Tu te rappelles,
quatre violons, une flûte et une contrebasse.
 }
 \wordwrap {LIOUBOV Tiens, il existe toujours! Il faudrait l'inviter, à
l'occasion organiser une petite soirée.
 }
 \left-align {\line { \italic {Anton Tchekhov}}}
   }
}

two problems:
- line spacing between two lines of a wrapped line (Gaiev's cue) is bigger
than between independent lines. I cannot find how to modify that.
- I'd like to right align the author's name but writting "right" instead of
"left" just push it further to the left and it gets clipped.

Thank for any help



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: formatting a text before the score

2013-11-25 Thread ryanmichaelmcclure
Try this for the first part:

\markup{ 
  \abs-fontsize #12 \column { 
\vspace #1 \wordwrap {LIOUBOV On dirait qu'il y a de la musique quelque
part.\italic {(Elle écoute.)}
}
\wordwrap {GAÏEV C'est notre fameux orchestre juif. Tu te rappelles,
quatre violons, une flûte et une contrebasse. 
}
\hspace #0 
\wordwrap {LIOUBOV Tiens, il existe toujours! Il faudrait l'inviter, à
l'occasion organiser une petite soirée. 
}
  }
}

Putting \hspace #0 puts an invisible space there to keep them from
colliding. So, the final product would be:

\markup{ 
  \abs-fontsize #12 \column { 
\vspace #1 \wordwrap {LIOUBOV On dirait qu'il y a de la musique quelque
part.\italic {(Elle écoute.)}
}
\wordwrap {GAÏEV C'est notre fameux orchestre juif. Tu te rappelles,
quatre violons, une flûte et une contrebasse. 
}
\hspace #0 
\wordwrap {LIOUBOV Tiens, il existe toujours! Il faudrait l'inviter, à
l'occasion organiser une petite soirée. 
}
  }
}
\markup{ \fill-line{ \line{ } \line { \italic{Anton Tchekhov

Let us know if you need anything else! :)



-
Ryan McClure

Luna Music Engraving
www.lunamusicengraving.com
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/formatting-a-text-before-the-score-tp154399p154402.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: formatting a text before the score

2013-12-01 Thread olicha
Thanks a lot for the tips which work perfectly.
I would like to understand how the \hspace #0 can impact the height of a
line or the way it is wrapped. Is that explained anywhere in the
documentation?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/formatting-a-text-before-the-score-tp154399p154800.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user