lilypond-user
[Top][All Lists]
Advanced

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

Re: endless tab?


From: David Kastrup
Subject: Re: endless tab?
Date: Sun, 04 Feb 2018 14:34:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

bb <address@hidden> writes:

> It is not really endless but the tab does not have any line break. If
> I try to insert \break this will be ignored? There must be something
> wrong with my code I cannot figure out?
>
> Thanks for help

Does this help?

\version "2.19.80"

\layout {
  \context {
    \Score
    \consists #(make-engraver
                (listeners
                 ((note-event self event)
                  (if (ly:moment<?
                       (ly:moment-sub (ly:context-property
                                       (ly:translator-context self)
                                       'measureLength)
                                      (ly:context-property
                                       (ly:translator-context self)
                                       'measurePosition))
                       (ly:duration-length (ly:event-property event 'duration)))
                      (ly:event-warning event "Crosses bar!")))))
  }
}

\new TabStaff {
  \set TabStaff.tablatureFormat = #fret-number-tablature-format-banjo
  \set TabStaff.stringTunings = #banjo-open-g-tuning
                                %\set TabStaff.stringTunings = 
#(four-string-banjo banjo-c-tuning)

  \tabFullNotation
  \stemDown
  cis'''16\1 c'''16.\1 b''8\1 ais''8.\1 a''4\1 gis''4.\1 g''2\1
  fis''2.\1 f''1\1 e''1.\1 dis''\1 d''\1 cis''\1 c''\1 b'\1 ais'\1 a'\1
  gis'\1 g'\1 fis'\1 f'\1 e'\1 dis'\1 d'\1 g'\3 ais''\2 a''\2 e'\3 g''\2
  fis''\2 f''\2 e''\2 dis''\2 d''\2 cis''\2 c''\2 b'\2 ais'\2 a'\2
  gis'\2 g'\2 fis'\2 f'\2 e'\2 dis'\2 d'\2 cis'\2 c'\2 b\2 g'\3 fis'\3
  f'\3 e'\3 dis'\3 d'\3 cis'\3 c'\3 b\3 ais\3 a\3 gis\3 g\3 d'\4 cis'\4
  c'\4 b\4 ais\4 a\4 gis\4 g\4 fis\4 f\4 e\4 dis\4 d\4 d\4 dis\4 e\4 f\4
  fis\4 g\4 gis\4 a\4 ais\4 b8\4 < c'\4 cis'\4 d'\4 >4 < g''\5 gis''\5
                                                         a''\5 ais''\5 >8
}
-- 
David Kastrup

reply via email to

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