Hi Bert and welcome to the list.
It's nice to see you here!
Here's a template that may help you.
For barrés, see http://lsr.di.unimi.it/LSR/Item?id=952
HTH,
Cheers,

Pierre
PS. I'd strongly advise you to work with de v2.20:
http://lilypond.org/download.html

Le dim. 28 juin 2020 à 22:53, <[email protected]> a écrit :

> Hi lilypond folks,
>
> I'm trying to make a cleaned up version of the score here:
> http://www.knila.nl/files/Pasillo_no1.pdf (also attached).
>
> The composer is being quite expressive with stems and the notation in
> general, and I'd really like to replicate it.
>
> Right away I've started running into trouble. On the very first note, we
> have a doubled b. To a guitarist, that indicates that the note shall be
> played on more than one string. In lilypond I am having no luck figuring
> out how to make it do this.
>
> In the second measure, there are three voices. The melody (c' b'),
> accompaniment (c' b g b') (though the c' and b' are not doubled, those are
> just two voices sharing a note), and the bass (e,).
>
> Now I'm having the opposite problem as I ran into in the first note... I
> *don't* want to draw the c' twice, I just want two different stems coming
> out of it (seems to work ok for the b'). And then with the low e, I can't
> figure out how to get the half note to align horizontally with the b' from
> the first two voices. I am pretty sure I'm not just messing up the rhythm
> in my notation, but I could be wrong.
>
> Can anyone help me here? I'm embedding my .ly file below and attaching a
> rendered pdf.
>
> Also happy to have my markup style trounced on here, I'm mostly piecing
> things together from snippets in the lilypond docs.
>
> ---pasillo_n1.ly---
> \version "2.18.2"
> \header {
>   title = "Pasillo No. 1"
>   composer = "Prof Francisco A. Velasquez"
> }
>
> <<
>   \relative d'' {
>     \time 3/4
>     \key g \major
>     r8
>     <<
>       \new Voice = "melody"
>       { \voiceThree
>         b-0 cis-2[ dis-4] e-0[ fis-1] |
>         r4 c'4. b8 |
>         s4 e,4 r8 fis |
>
>       }
>       \new Voice { \voiceTwo
>         b,-3 ais-3[ a-1] g-0[ fis-3] |
>         s4 c''8[ b,] g[ b'] |
>         g,,8[ g'] e'[ b] g[ fis] |
>       }
>       \new Voice { \voiceFour
>         s2.
>         e,4~ e2
>         g4~ g2
>       }
>     >>
>   }
> >>
>
>
>
\version "2.18"

global = {
  \clef "G_8"
  \time 3/4
  \key g \major
  \set Timing.beamExceptions = #'()
  \set Timing.baseMoment = #(ly:make-moment 1/8)
  \set Timing.beatStructure = #'(2 2 2)
}

soprano = {
  | % mes.1
    b8\rest b-0 cis'-2 dis'-4 e'-0 fis'-1
  | % mes.2
    s4 cis''4. b'8
  | % mes.3
    g,8 b e'4 f'8\rest fis'
  | % mes.4
    s2.
  | % mes.5
    s2.
  | % mes.6
    s2.
  | % mes.7
    s2.
  | % mes.8
    s2.
  | % mes.9
    s2.
  | % mes.10
    s2.
  | % mes.11
    s2. 
  | % mes.12
    s2.  
  | % mes.13
    s2.
  | % mes.14
    s2.
  | % mes.15
    s2.
  | % mes.16
    s2.
  | % mes.17
    s2. 
  | % mes.18
    s2. 
  | % mes.19
    s2.
  \repeat volta 2 {
    | % mes.20
      s2.
  }
  | % mes.21
    s2.
  \repeat volta 2 {
    | % mes.22
      s2.
  }
  | % mes.23
    s2.
  | % mes.24
    s2.
  | % mes.25
    s2. 
  | % mes.26
    s2.
  | % mes.27
    s2.
  \break \bar ".|:-||" % <= Optional
  \mark\default
  \repeat volta 2 {
    \key e\major 
    | % mes.28
      s2. 
    | % mes.29
      s2.
    | % mes.30
      s2.
    | % mes.31
      s2.
    | % mes.32
      s2.
    | % mes.33
      s2. 
    | % mes.34
      s2. 
    | % mes.35
      s2.
    | % mes.36
      s2.
    | % mes.37
      s2.
      \repeat volta 2 {
        | % mes.38
          s2.
      }
      \repeat volta 2 {
        | % mes.39
          s2.
      }
    | % mes.40
      s2. 
    | % mes.41
      s2.
    | % mes.42
      s2. 
    | % mes.43
      s2.
    | % mes.44
      s2.
    | % mes.45
      s2. 
    | % mes.46
      s2.
    | % mes.47
      s2.
    | % mes.48
      s2.
    | % mes.49
      s2.
  }
  \key d\major
  \tweak direction #DOWN
  \tweak self-alignment-X #RIGHT
  \mark\markup\right-column {
    \line { "D.C." \box "A" }
    \line \vcenter { "hasta" \musicglyph #"scripts.coda" }
  }
  \tempo \markup\fontsize #3 \musicglyph #"scripts.coda"
  | % mes.50
    s2.
  | % mes.51
    s2.
  | % mes.52
    s2.
  \bar "|."
}

bass = {
  \set stringNumberOrientations = #'(left)
  | % mes.1
    s8 
    \once \override NoteColumn.force-hshift = #1
    b-3-\tweak extra-offset #'(0 . -2)\3 ais-3 a-1 g-0 fis-3  
  | % mes.2
    e,4~ e,2
  | % mes.3
    g,4~ 
    \once \override NoteColumn.force-hshift = #-.3
    g,2
  | % mes.4
    s2.
  | % mes.5
    s2.
  | % mes.6
    s2.
  | % mes.7
    s2.
  | % mes.8
    s2.
  | % mes.9
    s2.
  | % mes.10
    s2.
  | % mes.11
    s2. 
  | % mes.12
    s2.  
  | % mes.13
    s2.
  | % mes.14
    s2.
  | % mes.15
    s2.
  | % mes.16
    s2.
  | % mes.17
    s2. 
  | % mes.18
    s2. 
  | % mes.19
    s2.
  \repeat volta 2 {
    | % mes.20
      s2.
  }
  | % mes.21
    s2.
  \repeat volta 2 {
    | % mes.22
      s2.
  }
  | % mes.23
    s2.
  | % mes.24
    s2.
  | % mes.25
    s2. 
  | % mes.26
    s2.
  | % mes.27
    s2.
  \repeat volta 2 {
    \key e\major 
    | % mes.28
      s2. 
    | % mes.29
      s2.
    | % mes.30
      s2.
    | % mes.31
      s2.
    | % mes.32
      s2.
    | % mes.33
      s2. 
    | % mes.34
      s2. 
    | % mes.35
      s2.
    | % mes.36
      s2.
    | % mes.37
      s2.
      \repeat volta 2 {
        | % mes.38
          s2.
      }
      \repeat volta 2 {
        | % mes.39
          s2.
      }
    | % mes.40
      s2. 
    | % mes.41
      s2.
    | % mes.42
      s2. 
    | % mes.43
      s2.
    | % mes.44
      s2.
    | % mes.45
      s2. 
    | % mes.46
      s2.
    | % mes.47
      s2.
    | % mes.48
      s2.
    | % mes.49
      s2.
  }
  \key d\major
  | % mes.50
    s2.
  | % mes.51
    s2.
  | % mes.52
    s2.
  \bar "|."
}

alto = {
  %\shiftOff % <= No!
  \override NoteColumn.force-hshift = #0
  | % mes.1
    s2.  
  | % mes.2
    s4 cis''8 b g b'
  | % mes.3
    s4 e'8 b g fis'
  | % mes.4
    s2.
  | % mes.5
    s2.
  | % mes.6
    s2.
  | % mes.7
    s2.
  | % mes.8
    s2.
  | % mes.9
    s2.
  | % mes.10
    s2.
  | % mes.11
    s2. 
  | % mes.12
    s2.  
  | % mes.13
    s2.
  | % mes.14
    s2.
  | % mes.15
    s2.
  | % mes.16
    s2.
  | % mes.17
    s2. 
  | % mes.18
    s2. 
  | % mes.19
    s2.
  \repeat volta 2 {
    | % mes.20
      s2.
  }
  | % mes.21
    s2.
  \repeat volta 2 {
    | % mes.22
      s2.
  }
  | % mes.23
    s2.
  | % mes.24
    s2.
  | % mes.25
    s2. 
  | % mes.26
    s2.
  | % mes.27
    s2.
  \repeat volta 2 {
    \key e\major 
    | % mes.28
      s2. 
    | % mes.29
      s2.
    | % mes.30
      s2.
    | % mes.31
      s2.
    | % mes.32
      s2.
    | % mes.33
      s2. 
    | % mes.34
      s2. 
    | % mes.35
      s2.
    | % mes.36
      s2.
    | % mes.37
      s2.
      \repeat volta 2 {
        | % mes.38
          s2.
      }
      \repeat volta 2 {
        | % mes.39
          s2.
      }
    | % mes.40
      s2. 
    | % mes.41
      s2.
    | % mes.42
      s2. 
    | % mes.43
      s2.
    | % mes.44
      s2.
    | % mes.45
      s2. 
    | % mes.46
      s2.
    | % mes.47
      s2.
    | % mes.48
      s2.
    | % mes.49
      s2.
  }
  \key d\major
  | % mes.50
    s2.
  | % mes.51
    s2.
  | % mes.52
    s2.
  \bar "|."
}

%% The score:
%% #(set-global-staff-size 18) % <= optional
%% \pointAndClickOff % <= optional

\paper {
  page-count = 2
  ragged-bottom = ##f
  system-system-spacing.basic-distance = 19
}

\header {
  title = "Pasillo No. 1"
  composer = "Prof Francisco A. Velasquez"
  tagline = ""
}


\score {
  \new Staff <<
    \new Voice { \voiceOne \global \soprano }
    \new Voice { \voiceTwo \global \bass }
    \new Voice { \voiceFour \global \alto }
  >>
  \layout {
    system-count = 12
    \context {
      \Score
      markFormatter = #format-mark-box-letters
    }
    \context {
      \Staff
      instrumentName = "Guitar"
    }
  }
  \midi {
    \tempo 4 = 84
  }
}

Reply via email to