lilypond-user
[Top][All Lists]
Advanced

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

Re: problems in spacing


From: Massimiliano Viel
Subject: Re: problems in spacing
Date: Wed, 24 Oct 2018 15:42:24 +0200

Thank you for your suggestions!

Here below is the code.

With system-system-spacing #'basic-distance = #22 I have  2 pages and one system in the 3rd.
With system-system-spacing #'basic-distance = #21 I have less than 2 full pages
How can I have 2 complete pages?! What do I do wrong?

Moreover Frescobaldi signals to me #(set-global-staff-size 16) with the red color. Why is that? The code renders without errore, but that color seems to point me to some misuse. Is it true?

Thank you again!!!

massimiliano

global = {
  \time 5/4
  \key c \major
  \tempo 4=120
 #(set-global-staff-size 16)
}

ripeti  = {c16 c c c  c c c c  c c c c  c c c c   c c c c }

sopra = \relative c'' {
  \clef treble
  \key c \major
  \time 5/4
  \ripeti | \ripeti | \break \ripeti | \ripeti | \break \ripeti | \ripeti | \break \ripeti | \ripeti | \break  
  \ripeti | \ripeti | \break \ripeti | \ripeti | \break \ripeti | \ripeti | \break \ripeti | \ripeti | \break
  \ripeti | \ripeti | \break \ripeti | \ripeti | \break \ripeti | \ripeti | \break \ripeti | \ripeti | \break
  \ripeti | 
}

sotto = \relative c {
  \clef bass
  \key c \major
  \time 5/4
  \ripeti | \ripeti | \break \ripeti | \ripeti | \break \ripeti | \ripeti | \break \ripeti | \ripeti | \break  
  \ripeti | \ripeti | \break \ripeti | \ripeti | \break \ripeti | \ripeti | \break \ripeti | \ripeti | \break
  \ripeti | \ripeti | \break \ripeti | \ripeti | \break \ripeti | \ripeti | \break \ripeti | \ripeti | \break
  \ripeti  \bar "|."
}

\book {

\version "2.18.2"

\header {
  title = \markup { "Title" \vspace #0 }
  subtitle =  \markup { "" \vspace #1 }
  composer = \markup \center-column { "Massimiliano Viel" \vspace #1 }
  tagline = ""
}

\paper {
  #(set-paper-size "a4")
  top-margin = 20
  left-margin = 25
  right-margin = 17
  bottom-margin = 25
  system-system-spacing #'basic-distance = #21

  

}

\score {

  

  \layout {
 #(layout-set-staff-size 16)
 \context {
    \PianoStaff
    \override StaffGrouper.staff-staff-spacing.padding = #3
  }
}

      

  \new PianoStaff \with {
} <<
    \set PianoStaff.instrumentName = #"Piano  "
    \new Staff  = "upper" \sopra
    \new Staff = "lower" \sotto
  >>
  \midi { }
}
}

On 23 Oct 2018, at 18:32, address@hidden wrote:

Send lilypond-user mailing list submissions to
address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/lilypond-user
or, via email, send a message with subject or body 'help' to
address@hidden

You can reach the person managing the list at
address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lilypond-user digest..."


Today's Topics:

  1. Re:problems in spacing (Ben)


----------------------------------------------------------------------

Message: 1
Date: Tue, 23 Oct 2018 12:32:32 -0400
From: Ben <address@hidden>
To: address@hidden
Subject: Re: problems in spacing
Message-ID: <address@hidden>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

On 10/23/2018 12:06 PM, Massimiliano Viel wrote:
Hello everyone!
I?m a composer that after having spent a lot of years with Finale
decided to move to a better sw for music writing and wanted to embrace
Lilypond.
Which is beautiful? but!
I?m really spending more time banging my head on the wall and trying
to getting a sense of the manual (which is complete and well written
but? very hard to parse if you go just a little in detail), than
composing music.
And of course I cannot allow myself to do it, because it?s my work.

Sorry for the surge, but I want to still give a chance to Lilypond
before using a graphic sw to fix it or worse getting sadly back to Finale?

This is my problem, as you see in the image:
1) how can I separate more my name from the music?
2) how can I separate the notes from the bar?
You have a few options for that sort of situation, one of which could be
as simple as just moving the notehead... i.e.

\once \override NoteHead.extra-spacing-width = #'(-4 . 0)

Sorry for the separate emails, I hit send by accident earlier.


And why the b is not in the middle between the c and the a?!

Can you share your code with us, it really would help us better see.
Spacing can be resolved by several approaches (fix the note, the staff,
system, page, etc), so it depends.


It is frustrating because, while in Finale it is very elementary to
fix these, in Lilypond I couldn?t find a way that didn?t assume I know
the manual by heart.

Moreover it seems that I cannot do a proper layout of the score
because with /system-system-spacing #'basic-distance /?it seems I
cannot choose an appropriate distance between systems: changing the
value only makes the score to change from occupying one page and a
half to occupying three pages, without no middle layout (I want to put
the score in two pages).


Thank you, thank you, thank you! for any support and please excuse the
surge!

Massimiliano



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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/lilypond-user/attachments/20181023/e7ab7031/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.jpeg
Type: image/jpeg
Size: 27772 bytes
Desc: not available
URL: <http://lists.gnu.org/archive/html/lilypond-user/attachments/20181023/e7ab7031/attachment.jpeg>

------------------------------

Subject: Digest Footer

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


------------------------------

End of lilypond-user Digest, Vol 191, Issue 70
**********************************************


reply via email to

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