lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3x repeats


From: Simon Bailey
Subject: Re: 3x repeats
Date: Mon, 23 Dec 2013 18:30:06 +0100




On Mon, Dec 23, 2013 at 5:54 PM, Xavier Noria <address@hidden> wrote:
On Mon, Dec 23, 2013 at 5:48 PM, Phil Holmes <address@hidden> wrote:

I've no idea - I'm just quoting what Elaine Gould says...

Ah, OK :)

By now I am putting a "3x" mark above the repeat (if I put the mark at the beginning it is printed above the clef rather than at the beginning of the bar).

dirty hack:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\version "2.17.27"


\relative c'' {

  \override TupletBracket.bracket-visibility = ##t

  \override TupletBracket.direction = #UP

  %% CHANGE THIS TO EXTEND TO BARLINE

  \override TupletBracket.shorten-pair = #'(0 . -5.0)

  \override TupletNumber.text = \markup "3x"

  \repeat volta 3 { 

    % tuplet 4/4 to get a bracket for "normal" durations

    \tuplet 4/4 { c8 b16 a ~ a8 g a4 c | c8 b16 a ~ a8 g a2 } 

  }

  \repeat unfold 2 { c8 b16 a ~ a8 g a2 | }

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

produces the attached output. :) the code is a bit ugly, and seriously misuses tuplets, but gets the job done. :)

regards,
sb

-- 
Do not meddle in the affairs of trombonists, for they are subtle and quick to anger.

Attachment: repeat bracket.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]