lilypond-user
[Top][All Lists]
Advanced

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

Re: get an accidental to not print


From: Mats Bengtsson
Subject: Re: get an accidental to not print
Date: Mon, 12 Feb 2007 10:41:08 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20061206)



Trevor Bača wrote:
On 2/9/07, Adam Good <address@hidden> wrote:
Hi all,

sorry if this has been addressed already, it's hard for me to find any
reference in the archive.

! = print the accidental manually
? = print a cautionary accidental

what about _don't_ print an accidental? like i write "cis" but don't
want it to print the accidental?

If you write ...

%%% BEGIN %%%

\new Staff {
  \once \override Accidental #'transparent = ##t
  cis'2
}

%%% END %%%

... you'll get the effect of the sharp sign not printing.

(The sharp sign does actually print, but it prints transparently. This
means that the transparent accidental consumes space in the horizontal
layout (which you might notice, but only if you've got *very* dense
music). So this might get you what you want.)
If you instead use
\once \override Accidental #'stencil = ##f
then the invisible accidental will not even take any space.

  /Mats




reply via email to

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