2013/6/24 Mark Polesky <[email protected]>
[...]

> 1) How do I get the right vertical edges of the volta
> spanners to print when I've overridden the bar type at those
> moments?  They only seem to print when there's a repeat bar
> in the staff.
>

Hi,

use #(allow-volta-hook "||")


>
> 2) Is there a more appropriate repeat/alternative construct
> for this structure where I wouldn't have to override so many
> bar lines?
>

You could use \set Score.endRepeatType = #"||"
Though I doubt it's less typing.


>
> 3) I'm abusing the \tempo command as if it were \mark,
> otherwise there's a conflict between end-of-line marks and
> beginning-of-line marks.  Is there any way to enter 2
> RehearsalMark's before and after a single bar?  I wish there
> were commands like \markBeforeBar and \markAfterBar to
> facilitate these awkward situations.  Maybe I'll request
> that feature if no one has a better idea...
>

There is
http://old.nabble.com/Nice-workaround-for-simultaneous-rehearsal-marks-%E2%80%93-thanks-Neil!-td32212763.html
I was working on a different approach, but it isn't yet finished. :(

Your code could look:

\version "2.17.20"

\paper {
  indent = 0
  line-width = #80
  tagline = ##f
}

#(allow-volta-hook "||")

\layout {
  \context {
    \Score
    \override RehearsalMark.font-size = #-3
    \override RehearsalMark.font-shape = #'italic
    \override RehearsalMark.self-alignment-X = #RIGHT
    \override RehearsalMark.outside-staff-priority = #100
    \override RehearsalMark.break-visibility = #begin-of-line-invisible
    endRepeatType = #"||"
  }
}

\relative c'' {


  \repeat volta 3 { \tempo "Refrain" c1 }
  \alternative {
    { c \mark "to Verses" }
    { c \mark "to Coda" \bar "||" \break }
  }
  \repeat volta 2 { \unset Score.endRepeatType \tempo "Verses" c \mark "to
Refrain" \break }
  \tempo "Coda" c \bar "|."
}


HTH,
  Harm
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to