lilypond-user
[Top][All Lists]
Advanced

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

Re: Guitar Chord Chart - Align Fret Diagram with Chord Names and Notes


From: tone
Subject: Re: Guitar Chord Chart - Align Fret Diagram with Chord Names and Notes
Date: Wed, 19 Aug 2015 07:45:33 -0700 (MST)

An elegant solution would be to define a fretboard with fret numbers on both
sides---one of them an invisible (phantom) character.  This is beyond my
level of expertise.  Anyone know how to code this?

Here is a /brute force/ solution using "\once\override LyricText
#'extra-offset = #'( /x/ . /y/ )", and a couple of questions:



How do I define a smaller command for "\once\override LyricText
#'extra-offset = #'(0.74 . 0.0)"?  Where do I put that command in my
LilyPond code?  For example:



Then use:


Using this solution, I need only define five offsets to get relatively
accurate diagrams:
1.  sp1 - for fret number "1"
2.  sp2 - for fret numbers "2"-"9";
3.  sp11 - for fret number "11"
4.  sp10 - for fret numbers "10" and "12"-"19"
5.  sp20 - for fret numbers "20" and "22".  (Fret number "21" occupies the
same space as "12".)

This is an ugly solution.  Any better ideas?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Guitar-Chord-Chart-Align-Fret-Diagram-with-Chord-Names-and-Notes-tp179772p179801.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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