From: Darío <dario...@protonmail.com>
     Hello! I am writing a scale, and I need the tablature and the Fret 
diagram, there aren't problem, but in the tablature, the     tonic note not 
appear where I want.
    Since you are using a fret-diagram markup, there is no connection between 
the fret diagram and the notes on the TabStaff.

    I need that it is in the eighth fret, not in the first fret of the second 
rope. 

Then you must set the string number on note, not just in the markup.

Also, you need to get the notes to be the sounding pitch, which means you need 
to move down an octave.  To have the staff look right, you should change from 
the treble clef to the “treble_8” clef, as discussed in Section 2.4.1 of the 
Notation Reference.

Here’s code that does what I think you want:

\version "2.18.2"

%%%%%%%%%Do mayor
\header {
      title = "Escalas"
}

jonicaCM =   \relative c{
  c\6 d\6 e\6^\markup {\fret-diagram #"6-8;6-10;6-12;5-8;"} f\5
  g\5 a\5 b\4^\markup {\fret-diagram #"5-10;5-12;4-9;4-10;"} c\4
  d\4 e\3 f\3^\markup {\fret-diagram #"4-12;3-9;3-10;3-12;"} g\3
  a\2 b\2 c\2^\markup {\fret-diagram #"2-10;2-12;2-13;1-10;"} d\1
  e\1^\markup {\fret-diagram #"1-12;1-13;"} f\1
}

\score{
  \header {
    piece = "Jónica Do Mayor"
  }
   <<   
      \new Staff{
         \clef "treble_8"
         \time 4/4
         \jonicaCM
      }
     \new TabStaff {
         \jonicaCM
     }
  >>
}



HTH,

Carl


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to