lilypond-user
[Top][All Lists]
Advanced

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

setting fretboard diagrams at the top of the page


From: Evan Levine
Subject: setting fretboard diagrams at the top of the page
Date: Tue, 15 Jan 2019 13:10:58 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Good afternoon! I've got a few things I'm brewing right now, but the most pressing is that I'm looking to set all of the chord diagrams for a lead sheet at the top of the page under the title, and modify the spacing of the diagrams to be centered on the page and have padding between each diagram.

Here are the other things I've been struggling to find documentation on:

Changing the size of the chord names above the fretboard diagrams
Inserting markup between the diagrams to indicate that they are different options of the same chord with the word "or"

Thanks so much! Here's my code:


\storePredefinedDiagram #default-fret-table
                        \chordmode { e' }
                        #ukulele-tuning
                        #"4-3-(;4-3;4-3-);x;"

\storePredefinedDiagram #default-fret-table
                        \chordmode { e'' }
                        #ukulele-tuning
                        #"x;4-2;4-3;2-1;"
chord_diagrams = \chordmode { c e e' e'' f f:m }


\header {
  title = "Steven Universe Theme"
  composer = "Rebecca Sugar, Aivi & Surasshu"
  tagline = ##t
}


%these are the chord diagrams at the top of the page
<<
  \new ChordNames { \chord_diagrams }
  \new FretBoards {
      \set Staff.stringTunings = #ukulele-tuning
      \override FretBoard.fret-diagram-details.fret-count = #3
      \override FretBoard.fret-diagram-details.finger-code = #'in-dot
      \override FretBoard.fret-diagram-details.open-string = "ܘ"
      \override FretBoard.fret-diagram-details.dot-radius = #.37
      \override FretBoard.fret-diagram-details.top-fret-thickness = #3.6
      \override FretBoard.fret-diagram-details.dot-label-font-mag = #.76
      \override FretBoard.size = #3.6
      \chord_diagrams
    }
>>
%end of chord diagrams

\score {
  <<
    \new ChordNames {
      \SUchords
    }
  \new Staff {
    \new Voice = "melody" {
    \melody }
  }
    \new Lyrics {
      \lyricsto "melody" {
      \SUlyrics
      }
    }
  >>
}

Please forgive me for any oversight of the protocol here, as this is my first interaction with the mailing list.

Thanks again!

On 1/15/19 12:00 PM, address@hidden wrote:
Send lilypond-user mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.gnu.org/mailman/listinfo/lilypond-user
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lilypond-user digest..."


Today's Topics:

    1. Re:fingering color (David Kastrup)
    2. Re:Ambitus per voice and Ez_numbers_engraver (Gloops)
    3. Re:[newbie] Some \markup stuff (Kieren MacMillan)
    4. Re:[newbie] Some \markup stuff (Kieren MacMillan)
    5. Re:[newbie] Some \markup stuff (David Kastrup)
    6. Re:select a note in a chord (Davide Bonetti)
    7. Increasing space between staves - how to? (address@hidden)
    8. Re:Increasing space between staves - how to? (Malte Meyn)
    9. System spacing for Certain (Reggie)


----------------------------------------------------------------------

Message: 1
Date: Tue, 15 Jan 2019 14:30:52 +0100
From: David Kastrup <address@hidden>
To: Gianmaria Lari <address@hidden>
Cc: lilypond-user <address@hidden>
Subject: Re: fingering color
Message-ID: <address@hidden>
Content-Type: text/plain

Gianmaria Lari <address@hidden> writes:

First time I try to change color of lilypond elements.

This is what I did to change fingering color:

\version "2.19.82"
{ c' \finger \markup { \with-color #red 1 }}

Is there a better way?
{ c' -\tweak color #red -1 }




reply via email to

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