On 2/10/07, Carl Sorensen <[EMAIL PROTECTED]> wrote:
Han-Wen Nienhuys <hanwen <at> lilypond.org> writes:
>
> Adam Good escreveu:
> > 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?
> >
> I think this is not possible; might be mistaken though.
>
The documentation says that accidentals use the item-interface.
The item-interface has the property break-visibility. One of the predefined
variables for break-visibility is all-invisible, which looks to me like it
should keep accidentals from printing.
But I'm not sure what syntak to use to set break-visibility for the
item-interface for accidentals.
break-visibility wants a vector and there are apparently a collection
of constants that expand into vectors, like this ...
%%% BEGIN %%%
\version "2.11.16"
\new Staff {
\override Accidental #'break-visibility = #all-invisible
cis'4
cis'4
cis'4
cis'4
\break
cis'4
cis'4
cis'4
cis'4
}
%%% END %%%
... which does appear to work, oddly enough. Note no tick before
all-invisible (or all-visible or whatever), just like no tick before
numbers and colors.
--
Trevor Bača
[EMAIL PROTECTED]
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user