problems in spacing

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

problems in spacing

Massimiliano Viel
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?
And why the b is not in the middle between the c and the a?!

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
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: problems in spacing

SoundsFromSound
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?
You can use markup for this and customize it to your liking.

i.e.

\header {

        title = \markup \center-column { "Title here" \vspace #.5 }
        composer = \markup \center-column { "Composer Name" \vspace #2.5 }
}
     
      { \repeat unfold 20 {c'2 c'2  } }

2) how can I separate the notes from the bar?
And why the b is not in the middle between the c and the a?!

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
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
composer | sound designer | asmr artist
Reply | Threaded
Open this post in threaded view
|

Re: problems in spacing

SoundsFromSound
In reply to this post by Massimiliano Viel
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
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
composer | sound designer | asmr artist
Reply | Threaded
Open this post in threaded view
|

Re: problems in spacing

Massimiliano Viel
In reply to this post by Massimiliano Viel
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, [hidden email] wrote:

Send lilypond-user mailing list submissions to
[hidden email]

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
[hidden email]

You can reach the person managing the list at
[hidden email]

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 <[hidden email]>
To: [hidden email]
Subject: Re: problems in spacing
Message-ID: <[hidden email]>
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
[hidden email]
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
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user


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

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


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: problems in spacing

Davide Liessi-2
Dear Massimiliano,
a recommendation before addressing your questions.

When you write to the list, please always state which LilyPond version
you are using, because there can be differences in syntax and
behaviour, although in this case the differences are not related to
your problems.
I assume you are using 2.18.x or some early 2.19.x due to the syntax
for "system-system-spacing #'basic-distance", which more recently
became "system-system-spacing.basic-distance".
It is good practice to include a \version statement in your files,
recording the LilyPond version the file was written for (see
http://lilypond.org/doc/v2.18/Documentation/learning/working-on-input-files).

Il giorno mer 24 ott 2018 alle ore 15:58 Massimiliano Viel
<[hidden email]> ha scritto:
> 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?

You can put
ragged-last-bottom = ##f
in the \paper block, and then you can get rid of the
system-system-spacing setting as well (see
http://lilypond.org/doc/v2.18/Documentation/notation/fixed-vertical-spacing-paper-variables).

> 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?

That instruction can be used only outside any variable, either in a
\book block or outside any block (see
http://lilypond.org/doc/v2.18/Documentation/notation/setting-the-staff-size).

Best wishes.
Davide

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user