Re: Section labels

2018-11-14 Thread Michael Hendry
> On 14 Nov 2018, at 09:09, sean read  wrote:
> 
> I'm trying to write out lead sheets with section labels like you see on 
> modern charts with a and b section labelled by a bold letter in a box. Is 
> there a standardised way to do this in lilypond? I couldn't seem to find 
> anything in the documentation
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

Morning, Sean.

I use a template file as a basis for leadsheets, with variables for “The Head”, 
“The Chords”, “The Words”, such as:

TheHead =  \relative c' {
  \set Score.markFormatter = #format-mark-box-letters
  \clef "treble"
  \key c \major
  \numericTimeSignature
  \time 4/4
  % Put your own melody here
  | c4 d e f
}

The following is the beginning of Royal Garden Blues (which would replace “| c4 
d e f” above)...

  | a'4 ^ \markup "Introduction" a bes8 c4 bes8
  | a4 a bes8 c4 bes8
  | a4 c d f
  | g r4 c, r4 %\bar "||"

  \repeat volta 2 {
\mark
\bar "|:"
| a4 a bes8 c4 bes8
| a4 a bes8 c4 bes8
| a4 a bes8 c4 bes8
| a4 f8 g~ g2

...which illustrates the use of \markup for an introduction and a rehearsal 
mark for the “A” section, which is displayed in a box.

Successive uses of \mark result in “B”, “C” etc. sections.

I have gleaned loads of helpful hints and sections of code from the list over 
the years, but have never reached what I regard as the definitive template for 
wider distribution! Happy to share “the story so far” off-list, if that would 
help.

Michael




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


Re: Section labels

2018-11-14 Thread Torsten Hämmerle
Hi Sean,

A "section label" is called RehearsalMark in LilyPond.
These rehearsal marks are (by default) the capital letters A, B, C, …, but
they can be changed into consecutive numbers (1, 2, 3,...) or bar numbers.
With a box, a circle, or nothing around.

Cf.  Rehearsal marks

  

HTH,
Torsten




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Section labels

2018-11-14 Thread sean read
I'm trying to write out lead sheets with section labels like you see on
modern charts with a and b section labelled by a bold letter in a box. Is
there a standardised way to do this in lilypond? I couldn't seem to find
anything in the documentation
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user