Hi Giles,

> The \mark command is centred. Can text be formatted to be left aligned (and 
> smaller)? Is there an initialisation parameter I can change to set its 
> default alignment?

I can’t test what v2.18 does (that’s a very old version!), but 2.25.11 
essentially** left-aligns the mark:

%%%  SNIPPET BEGINS
\version "2.25.11"

\layout {
  \context {
    \Score
    \override RehearsalMark.font-size = #1
    \override RehearsalMark.padding = #2.5
  }
}

theMusic = {
  \mark "Boore’s Dance"
  \key d \major
  \time 6/8
  a''4. g''4 d''8
  g''8 e''4. fis''4
  a''4. fis''4 d''8
  g''4 e''8 d''4.
  \bar "|."
}

\score {
  \new Staff \theMusic
}
%%%  SNIPPET ENDS


1. Note the context block I added, to [globally] adjust the font size of the 
RehearsalMark.

2. I prefer typographer’s quotes, so I changed the apostrophe in “Boore’s”.

3. Conventional coding in the ’Pond is to have a separate line for each measure 
of music, command/tweak, etc., so I recoded your example that way.

** I’m honestly not sure why there is a small discrepancy in the alignment — 
the left edge of the RehearsalMark should be exactly aligned with the left edge 
of the TimeSignature! — but you can adjust that with an extra-offset if it 
bothers you [as much as it bothers me!].

Hope this helps!
Kieren.

p.s.

> Ideally, whatever method arrived at would then create a marker in a MIDI file 
> - \mark does on last but one version of Lilypond, but not on my Windows 8.1, 
> Lilypond "2.18.2" installation

Sorry — definitely can’t help with this! :(
______________________________________________

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.

Reply via email to