lilypond-user
[Top][All Lists]
Advanced

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

Re: "hiding" tablature - adding a blank tablature to music


From: Kevin Tough
Subject: Re: "hiding" tablature - adding a blank tablature to music
Date: Thu, 05 Feb 2015 04:30:15 +0100

Probably not quite the solution you need but I was able to hide a single
occurrence in the Tabstaff with...

  \override Head #'transparent = ##t
  fs

It was not quite perfect in that part of the Tabstaff grid will be
covered with white (erased so to speak).

Namaste,
Kevin 

On Wed, 2015-02-04 at 19:29 -0600, Ryan Clarin wrote:
> Thank you! Unfortunately, the \new Staff \repeat unfold 8 strings
> seems to completely mess it up unfortunately :( Below is a sample of
> what I have:
> 
> 
> mynotes = \relative c'' {
>   a1^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } e^\markup
> { \fret-diagram #"w:4;h:3;s:1.5;" } c^\markup { \fret-diagram
> #"w:4;h:3;s:1.5;" } 
>   g^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } c^\markup
> { \fret-diagram #"w:4;h:3;s:1.5;" } e^\markup { \fret-diagram
> #"w:4;h:3;s:1.5;" } \break
>   c^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } g^\markup
> { \fret-diagram #"w:4;h:3;s:1.5;" } a'^\markup { \fret-diagram
> #"w:4;h:3;s:1.5;" }
>   e^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } c^\markup
> { \fret-diagram #"w:4;h:3;s:1.5;" } a'^\markup { \fret-diagram
> #"w:4;h:3;s:1.5;" } \break
>   g,^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } e'^\markup
> { \fret-diagram #"w:4;h:3;s:1.5;" } a^\markup { \fret-diagram
> #"w:4;h:3;s:1.5;" }
>   c,^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } a'^\markup
> { \fret-diagram #"w:4;h:3;s:1.5;" } g,^\markup { \fret-diagram
> #"w:4;h:3;s:1.5;" } \break
>   a'^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } c,^\markup
> { \fret-diagram #"w:4;h:3;s:1.5;" } g^\markup { \fret-diagram
> #"w:4;h:3;s:1.5;" }
>   e'^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } g,^\markup
> { \fret-diagram #"w:4;h:3;s:1.5;" } c^\markup { \fret-diagram
> #"w:4;h:3;s:1.5;" }
>   }
>   
> \score {
> <<
> \new Staff { \mynotes }
> \new TabStaff { \hide 
>   \set TabStaff.stringTunings = \stringTuning<g c' e' a'>
> { \mynotes }  } 
> >>
> }
> 
> 
> The reason you see all those fret diagrams is because they are blank,
> my students have to fill in the appropriate location of each of those
> particular notes.
> 
> 
> You will see I just put a \hide within the \new TabStaff { , and I am
> sure there is something to put after \hide that will hide the Tab
> notes, but I just can't find it in the manual.  Help!
> 
> On Wed, Feb 4, 2015 at 5:12 PM, Thomas Morley
> <address@hidden> wrote:
>         2015-02-04 22:32 GMT+01:00 Ryan Clarin <address@hidden>:
>         > Hello,
>         >
>         > I am trying to add a completely blank tablature to some
>         music. The idea is
>         > to create a worksheet where my students have to fill in the
>         tablature for
>         > notes.
>         >
>         > I think I need to utilize the \hide feature within a \new
>         TabStaff {
>         > but I just can't figure it out, nor can I find it in the
>         manual.
>         >
>         > Thank you for your help! I should add this is for a 4 string
>         ukulele.
>         >
>         > Ryan
>         >
>         
>         
>         
>         
>         How about:
>         
>         \version "2.18.2"
>         
>         \header {
>           %% perhaps:
>           tagline = ##f
>           indent = 0
>         }
>         
>         \layout {
>           %% perhaps:
>           ragged-last-bottom = ##f
>           \context {
>             \Score
>             \omit BarNumber
>           }
>         }
>         
>         <<
>           \new TabStaff \with { stringTunings = #ukulele-tuning }
>             {
>               %% perhaps:
>               \clef "moderntab"
>               \repeat unfold 8 { s1 \break }
>             }
>           \new Staff \repeat unfold 8 { c''1 \bar "|." }
>         >>
>         
>         
>         Cheers,
>           Harm
> 
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

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