lilypond-user
[Top][All Lists]
Advanced

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

Re: Problem with Percent repeats


From: Joshua Nichols
Subject: Re: Problem with Percent repeats
Date: Sun, 5 Jul 2015 16:11:01 -0400

See attached and also below.

\version "2.18.2"

#(set-global-staff-size 17)

\paper {
  paper-height = 3.5\in
  paper-width = 6\in
  indent = 0\in
  right-margin = 0.5\in
  bottom-margin = 0.5\in
  top-margin = 0.5\in
  left-margin = 0.5\in
  ragged-bottom = ##f
  ragged-last = ##f
 
}

\header {
  tagline = ##f
}


cOn = {  }
cOff = {  }

timp = \relative a, {

\mark \markup { \box 189 }

  \time 5/16 a16\mf\<[ r c r a]
  \time 4/16 c\! r r8
  \time 5/16 r8 r8.
  a16[ r c r a]
  r8 r8. \mark \markup { \box 190 }
 
 
 \repeat unfold 2  {
  \time 5/16  a16\<[ r c r a]
  }
  \alternative {
    {\time 4/16  c16\! r r8 }
    {\time 4/16  c16\! r r8 \mark \markup { \box 191 } }
  }



  \time 5/16 a16\<[ r c r a]
  \time 4/16 c\! r r8
  \time 3/8 a8 c4 \mark \markup { \box 192 }
  \time 5/16 a8. c8
  a8. c8
  \time 3/8 a4 c8 \mark \markup { \box 194 }
  \time 5/16 a8. c8
  \time 2/4 a c a[ c] \mark \markup { \box 195 }
  \time 5/16 a8. c8
  \time 3/8 a4 c8 \mark \markup { \box 196 }
  \time 5/16 a8. c8
  \time 3/8 a4 c8 \mark \markup { \box 197 }
  \time 7/16 a8. r8 c
  \time 2/4 a8 c a c \mark \markup { \box 198 }
  \time 5/16 a8. c8
  \time 2/4 a c a c \mark \markup { \box 199 }
  \repeat percent 3 {
    a c a[ c]
  }
  a[ c] a r   \bar "||"
}

\score {
  \new Staff \with { \clef F } {
    \timp
  }
  \layout {
    \context {
      \Score
      \omit BarNumber
      \omit TimeSignature
    }
  }
}
 

IC,

Josh

On Sun, Jul 5, 2015 at 4:00 PM, David Kastrup <address@hidden> wrote:
Joshua Nichols <address@hidden> writes:

> I've got this snippet:
>
> \repeat percent 2  {
>   \time 5/16  a16\<[ r c r a] |
>   \time 4/16  c\! r r8
>   }
>
> and I'm having trouble getting it to show up with the percent correctly
> placed between the barlines.
>
> It also needs to be noted that I have \omit \TimeSignature in my \score{}.
>
> Any help would be appreciated! Thanks!

How about putting together a working complete example with all the
pertinent details?  That way you would be reasonably sure that any
answer will actually apply to your use case.

--
David Kastrup

Attachment: example-unknown.ly
Description: Binary data


reply via email to

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