Hi list, I have code that creates lists of chords/fretboards. I want them arranged in tabular mode. When I add an empty voice the first line gets indented. When I comment the line "\guitarPart" it looks as expected.
See the following code (also attached). Is there a special incantation or is this a bug? - snip - snip - snip - \version "2.25.7" \include "predefined-guitar-fretboards.ly" \paper { indent = 0 } chordNames = \chordmode { c1 | d1 | e1 | f1 | g1 | a1 | b1 | \break c1 | d1 | e1 | f1 | g1 | a1 | b1 | \break } guitar = \relative c' { } chordsPart = << \new ChordNames \chordNames \new FretBoards \chordNames >> guitarPart = \new StaffGroup << \new Staff \with { midiInstrument = "electric guitar (clean)" } { \clef "treble_8" \guitar } \new TabStaff \with { stringTunings = #guitar-tuning } \guitar >> \score { << \chordsPart \guitarPart >> \layout { \context { \Score \RemoveAllEmptyStaves } } } - snip - snip - snip - -- Michael Gerdau email: mg...@gmx.net GPG-keys available on request or at public keyserver
\version "2.25.7" \include "predefined-guitar-fretboards.ly" \paper { indent = 0 } chordNames = \chordmode { c1 | d1 | e1 | f1 | g1 | a1 | b1 | \break c1 | d1 | e1 | f1 | g1 | a1 | b1 | \break } guitar = \relative c' { } chordsPart = << \new ChordNames \chordNames \new FretBoards \chordNames >> guitarPart = \new StaffGroup << \new Staff \with { midiInstrument = "electric guitar (clean)" } { \clef "treble_8" \guitar } \new TabStaff \with { stringTunings = #guitar-tuning } \guitar >> \score { << \chordsPart %\guitarPart >> \layout { \context { \Score \RemoveAllEmptyStaves } } }
chord-test.pdf
Description: Adobe PDF document