Re: [tablatures] Re: Could I get a critique on my first lilypond tab?

[ Thread Index | Date Index | More lilynet.net/tablatures Archives ]


Il giorno sab, 23/04/2011 alle 12.13 -0700, Patrick Horgan ha scritto:
> On 04/23/2011 02:50 AM, Federico Bruni wrote:
> > Il giorno sab, 23/04/2011 alle 02.36 -0700, Patrick Horgan ha scritto:
> >> I figured it out.  It was the Text_engraver I needed.  So I'm
> >> attaching
> >> a new version that has H in the appropriate place.  Please let me know
> >> if there are better/more elegant ways of doing the things I do here. 
> > New version? It looks like the previous file :-)
> I added the Text_engraver to the TabStaff, so now the "H"s show up. 
> That's the only change, but the output suddenly became closer to what I
> want, although I'd really rather have the "H"s show up above the slurs.
> 

Oh sorry, I missed that.
Anyway, "H"s actually **showed up** in your previous file because you
used \tabFullNotation.  So you can comment out the Text_engraver and put
again \tabFullNotation:


\new TabStaff % \with { \consists "Text_engraver" }
      <<
        \context TabVoice = "hammersNpulls" { \tabFullNotation
\hammersNpulls }


"H"s will show up again.

You put the hammers in the TabVoice context: default tablature removes
markup, that's why you need \tabFullNotation.

If you search tabFullNotation definition in
usr/share/lilypond/current/ly/property-init.ly you'll see:

\revert TabVoice.TextScript #'stencil

If you comment out this line and run again the code above "H"s will
disappear again.

HTH,
Federico




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/