lilypond-user
[Top][All Lists]
Advanced

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

Re: How can I shorten the space for a final single note


From: Pierre Perol-Schneider
Subject: Re: How can I shorten the space for a final single note
Date: Sat, 22 Feb 2020 13:58:58 +0100

Hi Robert,
I don't know your coding so it's hard to anwer.
There are several was to write your score, e.g.:
%%
\version "2.19.84"

\paper {
  ragged-right = ##f
}

\layout {
  indent = 0
}

\header {
  title = "Prattica"
  composer = "Penna"
  piece = \markup { \italic "1." "Esempio" }
}

global = {
  \override Staff.TimeSignature.stencil = #(lambda (grob)
    %(grob-interpret-markup grob #{ \markup\musicglyph #"timesig.C22" #}))
  \time 4,4,1 2/1
}

\new StaffGroup \relative <<
  \new Staff { \global f'2 g e f^~ f g e1 fis\breve*1/8 \bar "|." }
  \new Staff { \global d1 g,2 c d ees4 d2 4 cis2 d\breve*1/8 }
  \new Staff { \clef F \global d,2 bes c a bes g a1 d\breve*1/8 }
>>
 %%%%

Have you tried a barcheck?
Cheers,
Pierre

Le sam. 22 févr. 2020 à 13:25, Robert Blackstone <address@hidden> a écrit :
Hi Pierre,

Thanks. This does work for me but it comes at a cost: Lilypond apparently does not want to waste the space that results from shrinking the space for the breve and that results in a number of empty bars between the breve and \bar “|.”. 
 I tried to remove them by adding  \layout {\ RemoveEmptyBars} but that does nothing at all. 
The best result I got this far is by separating the two horizontally connected scores and combine them in one “piece”.
I almost get what I want but for two empty staves that I cannot hide or delete with LilyPond tools. They can probably be erased from the .pdf.

I have attached a picture of  “original” and what I have made of it in case you are curious what it is all about.

Best regards,
Robert

 



On 21 Feb 2020, at 12:18, Pierre Perol-Schneider <address@hidden> wrote:

A workaround could be:

{
  a'\breve*1/4
  \bar "|."
}

HTH,
Pierre

Le ven. 21 févr. 2020 à 12:12, Robert Blackstone <address@hidden> a écrit :
Hi Pierre,

Thanks for your quick reply. I will follow your suggestion and see whether I can make it work for me.

Best regards, 
Robert

On 21 Feb 2020, at 11:17, Pierre Perol-Schneider <address@hidden> wrote:

Otherwise, please provide a mini example.
Cheers,



reply via email to

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