Re: Single Staff Spacing

2014-11-07 Thread Martin Tarenskeen



On Fri, 7 Nov 2014, Pierre Perol-Schneider wrote:


  system-system-spacing #'padding = #20


You all know today it's allowed to use something like:

system-system-spacing.padding = #20

It's in the docs, but doesn't seem to be common practice yet?

--

MT
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Single Staff Spacing

2014-11-07 Thread David Nalesnik
Martin,

On Fri, Nov 7, 2014 at 1:52 AM, Martin Tarenskeen m.tarensk...@gmail.com
wrote:



 On Fri, 7 Nov 2014, Pierre Perol-Schneider wrote:

system-system-spacing #'padding = #20


 You all know today it's allowed to use something like:

 system-system-spacing.padding = #20

 It's in the docs, but doesn't seem to be common practice yet?


True.  You can also omit the # before the number.

--David
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Single Staff Spacing

2014-11-07 Thread Pierre Perol-Schneider
Hi All,

2014-11-07 8:52 GMT+01:00 Martin Tarenskeen m.tarensk...@gmail.com:


 You all know today it's allowed to use something like:

 system-system-spacing.padding = #20

 It's in the docs, but doesn't seem to be common practice yet?


Right ; in my mind this syntax started with 2.19. Don't know why...
Anyway I just wanted to add that I'd rather use:

system-system-spacing.basic-distance = #20


'cause I found this more flexible.

Cheers,

Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Single Staff Spacing

2014-11-07 Thread Paul Morris
Chris Trahan wrote
 I figured that the spacing had to go in the \paper section but I couldn't
 figure out what parameters to adjust.

The options for vertical spacing in LilyPond can be pretty overwhelming.  

Here's an invaluable visual guide that Abraham put together:
http://lilypond.1069038.n5.nabble.com/attachment/164161/0/vertical-spacing-paper-variables.pdf

And here's a snippet I wrote that simplifies the process by letting you
scale the default vertical spacing settings:
https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/scale-vertical-spacing

Cheers,
-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Single-Staff-Spacing-tp168478p168517.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Single Staff Spacing

2014-11-06 Thread Chris Trahan
I'm new to Lilypond. I have a simple score that is short. It's a single
staff score. I'm trying to increase the spacing between staves but nothing
I try is working.  How do I increase the space between the staves?

A short example is:

\version 2.18.2

\new Staff {

 \relative c'' {

  \key g \major

   \time 3/4

   \autoBeamOff

   \partial 4

   c8 d | e2.~ | e2 g,8 b | d4 d b | a8( g)~ g2~ | \break

   g4 e'8 e4 e8 | d2.~| d8 d, a'4 a | g2.~ | g8 c c4 d | e2.~ |

 }

}


Thank,

Chris Trahan
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Single Staff Spacing

2014-11-06 Thread David Nalesnik
Hi Chris,

On Thu, Nov 6, 2014 at 8:43 PM, Chris Trahan trahan.ch...@gmail.com wrote:

 I'm new to Lilypond.


Welcome to the community!


 I have a simple score that is short. It's a single staff score. I'm trying
 to increase the spacing between staves but nothing I try is working.  How
 do I increase the space between the staves?

 A short example is:

 \version 2.18.2

 \new Staff {

  \relative c'' {

   \key g \major

\time 3/4

\autoBeamOff

\partial 4

c8 d | e2.~ | e2 g,8 b | d4 d b | a8( g)~ g2~ | \break

g4 e'8 e4 e8 | d2.~| d8 d, a'4 a | g2.~ | g8 c c4 d | e2.~
 |

  }

 }


 Thank,

 Chris Trahan


There are various settings you can add to a \paper block to control the
vertical spacing. Try adding this to your file:

\paper {
  system-system-spacing #'basic-distance = 20
}

For more details, see the documentation at
http://lilypond.org/doc/v2.18/Documentation/notation/flexible-vertical-spacing-paper-variables

Hope this helps,
David
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Single Staff Spacing

2014-11-06 Thread Jim Long
There are probably several ways, but the way I do it is:

Near the top, after your version statement, add a \paper block:

\version 2.18.2

\paper {
  system-system-spacing #'padding = #2
}

\new Staff


Adjust the value 2 to a value of your liking.

Another option is to let Lilypond auto-space the systems on the
page to fill the page.  To do this, use this paper block instead
of the one above:

\paper {
  ragged-last-bottom = ##f
}


HTH,

Jim



On Thu, Nov 06, 2014 at 08:43:29PM -0600, Chris Trahan wrote:
 I'm new to Lilypond. I have a simple score that is short. It's a single
 staff score. I'm trying to increase the spacing between staves but nothing
 I try is working.  How do I increase the space between the staves?
 
 A short example is:
 
 \version 2.18.2
 
 \new Staff {
 
  \relative c'' {
 
   \key g \major
 
\time 3/4
 
\autoBeamOff
 
\partial 4
 
c8 d | e2.~ | e2 g,8 b | d4 d b | a8( g)~ g2~ | \break
 
g4 e'8 e4 e8 | d2.~| d8 d, a'4 a | g2.~ | g8 c c4 d | e2.~ |
 
  }
 
 }
 
 
 Thank,
 
 Chris Trahan

 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Single Staff Spacing

2014-11-06 Thread Chris Trahan
Thanks to  David Nalesnik and Jim Long for helping.

I figured that the spacing had to go in the \paper section but I couldn't
figure out what parameters to adjust.

Chris
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Single Staff Spacing

2014-11-06 Thread Pierre Perol-Schneider
Hi Chris,

2014-11-07 4:03 GMT+01:00 Chris Trahan trahan.ch...@gmail.com:

 Thanks to  David Nalesnik and Jim Long for helping.

 I figured that the spacing had to go in the \paper section but I couldn't
 figure out what parameters to adjust.



Actually David and Jim did give you the answer.
Tu sum up:

\version 2.18.2

\paper {
  system-system-spacing #'padding = #20
  %% you can also try:
  % ragged-last-bottom = ##f
  %% and/or (for a multi pages score):
  % ragged-bottom = ##f
}

\new Staff {
  \relative c'' {
\key g \major
\time 3/4
\autoBeamOff
\partial 4
c8 d | e2.~ | e2 g,8 b | d4 d b | a8( g)~ g2~ | \break
g4 e'8 e4 e8 | d2.~| d8 d, a'4 a | g2.~ | g8 c c4 d | e2.~ |
  }
}

HTH,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user