[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Fret Diagrams
From:       Thomas Morley <thomasmorley65 () gmail ! com>
Date:       2016-01-31 19:14:26
Message-ID: CABsfGyXw=WTvMDS4JQk9N6C1aMxRTXyNr4jU=OQ8WVf6cjObGQ () mail ! gmail ! com
[Download RAW message or body]

Hi Peter,

2016-01-31 19:29 GMT+01:00 Peter Gentry <peter.gentry@sunscales.co.uk>:
> This may be trivial but searches of themanuals etc have not born fruit.
> 
> How do you prevent the markup N.C. appearing where there is a note rest. In fact  \
> N.C. does not always appear sometimes once in a bar sometimes twice for no \
> immediately apparent reason.

searching for N.C. in Notation Reference give an immediate hit, pointing to
http://www.lilypond.org/doc/v2.19/Documentation/notation/displaying-chords#printing-chord-names


Where you can read:
Rests passed to a ChordNames context will cause the noChordSymbol
markup to be displayed.

So:
It has nothing to do with Fret Diagrams, but ChordNames.
Everywhere you wrote rests the noChordSymbol appears for each rest.

> 
> If r1 is replaced by R1 then no "N.C." markup.

R1 is a MultiMeasureRest not a Rest, so noChordSymbol is not printed.
Some for spacers, btw.

Maybe we should extend the example from the NR to demonstrate how to
change noChordSymbol.

Here your shortened example with some possibilities:


m =
  \chordmode {
    e1:7 |
    s1 |
    r1 |
    a2 g |
    c2:dim7 a:7 |
    d1 |
    \set noChordSymbol = "foo"
    r1 |
    \set noChordSymbol = ""
    r2 r4 g |
    R1
  }

<<
    \new ChordNames \with { noChordSymbol = "--x--" }\m
    \new Staff \m
> > 


HTH,
  Harm

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic