lilypond-user
[Top][All Lists]
Advanced

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

Re: Jazz chords layout question


From: Jacques Menu
Subject: Re: Jazz chords layout question
Date: Sat, 13 Jul 2019 00:29:37 +0200

Another, tricky ‘solution', though musically incorrect since:
- it doesn’t use \repeat: the repeat barlines are added manually;
- it adds two hidden skip full measures to push the seconda volta to the right.

However:

  \set Score.repeatCommands = #'((volta ""))
  <> ^\markup {
    \scale #'(1.5 . 1.5)
    \column{
      \line\large { "1." }
    }
  }

produces a hooked line above the staff, but:

  \set Score.repeatCommands = #'((volta ""))
  <> ^\markup {
    \scale #'(1.5 . 1.5)
    \column{
      \line\large { "2." }
    }
  }

doesn’t.

The log is:

Starting lilypond 2.19.83 [TakeTheATrainWorkScoreTricky.ly]...
Processing `/Users/menu/Documents/LaTeX/PartitionsLilypond/JazzBassWorkScores/TakeTheATrainWorkScoreTricky.ly'
Parsing...
Interpreting music...[8]
warning: already have a volta spanner, ending that one prematurely
[16][24]
Preprocessing graphical objects...
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks... 
Drawing systems... 
Fitting music on 1 page...
Drawing systems...
programming error: Spanner `VoltaBracket' is not fully contained in parent spanner.  Ignoring orphaned part
continuing, cross fingers
programming error: Spanner `VoltaBracket' is not fully contained in parent spanner.  Ignoring orphaned part
continuing, cross fingers
programming error: Spanner `VoltaBracket' is not fully contained in parent spanner.  Ignoring orphaned part
continuing, cross fingers
programming error: Spanner `VoltaBracket' is not fully contained in parent spanner.  Ignoring orphaned part
continuing, cross fingers
programming error: Spanner `VoltaBracket' is not fully contained in parent spanner.  Ignoring orphaned part
continuing, cross fingers
Layout output to `/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6m0000gn/T//lilypond-7Utxv9'...
Converting to `TakeTheATrainWorkScoreTricky.pdf'...
Deleting `/var/folders/jc/xrpy67_x6_vcjfzpzds_9_6m0000gn/T//lilypond-7Utxv9'...
Success: compilation successfully completed
Completed successfully in 0.9".

JM


PNG image


Attachment: TakeTheATrainWorkScoreTricky.ly
Description: Binary data



Le 12 juil. 2019 à 23:39, Jacques Menu <address@hidden> a écrit :

Hello Robert and Carl,

Thanks for your help!

To summurize, after checking the docs for marks:

- why do the marks appear without a box around them?
because using ‘\mark "A"’ precludes the box.
Since the AABA scheme is so common in jazz, using:
\mark \markup {\box "A" }
solves the issue.

- why does \repeat percent not produce percent signs?
because the percent repeat engraver is not used by ChordNames by default.
Thus:
\new ChordNames \with { \consists Percent_repeat_engraver }
solves the issue.

- how can I get the measures to be equal length?
by using proportional notation duration:
\layout {
  \context {
    \Score
    proportionalNotationDuration = #(ly:make-moment 1/8)
  }
}
and indents:
\paper {
  #(set-paper-size "a4")
  indent = 0\mm
  short-indent = 0.9\cm

- how can I ‘push’ the beginning of the seconda volta to the middle of the line?
that seems difficult, no solution at this time


I attach the resulting score for the record.

A nice w-e!

JM

<TakeTheATrainWorkScoreWithRepeats.ly>

<PastedGraphic-3.png>


reply via email to

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