On Fri, 2025-11-07 at 14:33 -0800, Donald J. Stewart wrote: > sorry for the previous example -- I've pared it down significantly
It would probably have been better to start from the opposite direction
- adding stuff to a blank file until you hit something that didn't
work. I'm guessing that the attached file shows the sort of thing you
are trying to do: the first in a series of grace notes is non-printing
(to create a starting point for a glissando perhaps?). Because, with
\attachGraces on the main note, nothing can come between the main note
and the \grace I have used the command
Location: Object Menu ▶ Notes/Rests ▶ Directives
Label: Attach/Edit LilyPond to Note
Name: InsertNoteDirective
Tooltip: Inserts LilyPond syntax you give before and after the note at
the cursor height, also allows editing/deleting.
to insert \hideNotes manually before the first grace note.
Then \attachGraces can be used as normal and the first grace note is
not printed but takes up space (and can have further things attached to
it, such as the start of a gliss ...)
HTH
Richard
> and hope
> this can help focus on the question of attaching graces to a previous
> note
> when they have additional commands associated with them.
>
> In this example, the last series of grace notes appears in the
> following
> measure, instead of inside the bar lines of the measure.
>
> The goal is to attach these grace notes to the previous note, instead
> of the
> following note. If \attachgraces is not the answer, then perhaps
> there is
> another command that will simply place the note before the barline
> instead of
> after it.
>
> I hope that this is possible in denemo, even if requiring inserted
> lilypond
> commands.
>
> On Tuesday, November 4, 2025 7:52:30 AM PST Richard Shann wrote:
> > On Mon, 2025-11-03 at 11:30 -0800, Donald J. Stewart wrote:
> > > I've tried this before and wonder if there is any update on the
> > > matter.
> > >
> > > I'm trying to move (or 'attach') a grace note, or a series of
> > > grace
> > > notes to
> > > the note before -- specifically that note is at the end of a
> > > measure.
> > > These
> > > grace notes also have a harmonic notehead and have no stems.
> > >
> > > The Grace After command works well -- as long as there are no
> > > other
> > > commands
> > > attached to the note
> >
> > which note?
> >
> > > or in between the grace note and the previous note such
> > >
> > > as \glissando skip on or any notehead changes such as harmonics.
> >
> > yes, you can't put anything in between the main note and the
> > following
> > grace note if you have \attachGraces in the syntax - that expects a
> > grace to follow, so you have to insert everything else inside the
> > \grace {} syntax.
> >
> > > In the attached example,
> >
> > the example is not minimal, you cannot explain a problem with
> > extraneous material obscuring the view. Just create a blank score
> > and
> > insert just enough to show the problem (and keep track of the
> > commands
> > used and the order you have used them - I was imagining that Grace
> > After might be sensitive to changing the notehead type before or
> > after
> > running it, for example).
> > hth
> >
> > Richard
> >
> > > the grace note in the 4th measure is attached using
> > >
> > > Grace After, but it has a stem. The subsequent grace notes are
> > > not
> > > attached
> > > and I've used the Directives->Typesetter->Hide Stems command to
> > > hide
> > > the
> > > stems.
> > >
> > > These commands don't work together so I'm searching for a work
> > > around.
> > >
> > > _____________________________________________
> > > D o n a l d J S t e w a r t
> > > s o u n d - X
>
grace-example-5.denemo
Description: application/gzip
