Re: How to horizontally center systems over multiple pages?

2021-08-17 Thread Jean Abou Samra

Le 17/08/2021 à 14:57, josh a écrit :


Hello and thank you for the help. I've gotten closer.

Now, the systems are horizontally centered on the page but they're 
still not breaking into separate pages. I have started using 
\pageBreak in lieu of \break. I've attached the output that I get 
where it seems as though all of the systems are stacked on top of one 
another. Any recommendations?




How about the below? (No time to explain how it works right now.)

\version "2.22.1"

Cs =
#(make-sequential-music
   (map
 (lambda (n)
   #{
 \repeat unfold #n { c'4 }
 \bar ""
 \break
   #})
 (cdr (iota 30

\markuplist
  \override #'(baseline-skip . 12)
    \column-lines
  \map-markup-commands
    #(lambda (mkup)
   (make-fill-line-markup (list mkup)))
    \score-lines {
  \Cs
  \layout {
    ragged-right = ##t
    indent = 0
  }
    }

Best,
Jean



Re: How to horizontally center systems over multiple pages?

2021-08-17 Thread Leo Correia de Verdier
While I might have misunderstood what you’re after I think the answers in this 
thread https://mail.gnu.org/archive/html/lilypond-user/2021-05/msg00018.html
may give you some useful hints if you center the markups produced by 
\score-lines instead of right-aligning them, as was the case there.

> 16 aug. 2021 kl. 20:58 skrev josh :
> 
> Hello,
> 
> I have a score that has system breaks (defined by \break) at specific random 
> intervals. Some systems have two bars, some have eight, some have twelve, etc.
> 
> I have ragged-right set to true and I am looking to horizontally center every 
> system on its own page, regardless of length. I have tried the methods here 
> and here but I have still come up short.
> 
> I have attached the drill score to this email for reference. All of the part 
> definitions refer to an \include file. If there's any other information that 
> would be useful I'll be glad to provide it.
> -- 
> -josh
> 
\score {
  <<
\new StaffGroup <<
  \AMillionDreamsSoloMellophoneOneScore
  \AMillionDreamsSoloMellophoneTwoScore
>>
\new StaffGroup <<
  \AMillionDreamsFluteOnePart
  \AMillionDreamsFluteTwoPart
  \AMillionDreamsClarinetOnePart
  \AMillionDreamsClarinetTwoPart
  \AMillionDreamsBassClarinetPart
  \AMillionDreamsAltoSaxOnePart
  \AMillionDreamsAltoSaxTwoPart
  \AMillionDreamsTenorSaxPart
>>
\new StaffGroup <<
  \AMillionDreamsTrumpetOnePart
  \AMillionDreamsTrumpetTwoPart
  \AMillionDreamsMellophonePart
  \AMillionDreamsTromboneOnePart
  \AMillionDreamsTromboneTwoPart
  \AMillionDreamsBaritonePart
  \AMillionDreamsTubaPart
>>
\new StaffGroup <<
  \AMillionDreamsPianoPart
  \AMillionDreamsVibraphoneOnePart
  \AMillionDreamsVibraphoneTwoPart
  \AMillionDreamsMarimbaOnePart
  \AMillionDreamsMarimbaTwoPart
  \AMillionDreamsSnarePart
  \AMillionDreamsTenorsPart
  \AMillionDreamsBassesPart
>>
\new Dynamics {
  \startMeasureCount
  s1*55
  \stopMeasureCount
}
<< 
  \amilliondreamsdrillscorepart
>>
  >>
  \layout {
indent = #12
short-indent = .4\cm
ragged-right = ##t
\set Score.markFormatter = #format-mark-box-letters
#(layout-set-staff-size 7)
\context {
  \Score
  \omit BarNumber
}
\context {
  \Dynamics
  \consists #Measure_counter_engraver
  \override MeasureCounter.direction = #DOWN
  \override MeasureCounter.font-encoding = #'latin1
  \override MeasureCounter.font-shape = #'italic
  \override MeasureCounter.font-size = #5
}}}> 



Re: How to horizontally center systems over multiple pages?

2021-08-16 Thread Valentin Petzel
Hello Josh.

You can try using this snippet https://lsr.di.unimi.it/LSR/Item?
id=1098[1] to manually adjust the indentations.
Is it true that you have one system per page?


[1] https://lsr.di.unimi.it/LSR/Item?id=1098


signature.asc
Description: This is a digitally signed message part.


How to horizontally center systems over multiple pages?

2021-08-16 Thread josh

Hello,

I have a score that has system breaks (defined by \break) at specific 
random intervals. Some systems have two bars, some have eight, some have 
twelve, etc.


I have ragged-right set to true and I am looking to horizontally center 
every system on its own page, regardless of length. I have tried the 
methods here 
<https://music.stackexchange.com/questions/42332/horizontal-centering-of-staffs-in-lilypond?noredirect=1&lq=1> 
and here 
<https://music.stackexchange.com/questions/116623/how-to-horizontally-center-systems-on-a-page> 
but I have still come up short.


I have attached the drill score to this email for reference. All of the 
part definitions refer to an \include file. If there's any other 
information that would be useful I'll be glad to provide it.


--
-josh

\score {
  <<
\new StaffGroup <<
  \AMillionDreamsSoloMellophoneOneScore
  \AMillionDreamsSoloMellophoneTwoScore
>>
\new StaffGroup <<
  \AMillionDreamsFluteOnePart
  \AMillionDreamsFluteTwoPart
  \AMillionDreamsClarinetOnePart
  \AMillionDreamsClarinetTwoPart
  \AMillionDreamsBassClarinetPart
  \AMillionDreamsAltoSaxOnePart
  \AMillionDreamsAltoSaxTwoPart
  \AMillionDreamsTenorSaxPart
>>
\new StaffGroup <<
  \AMillionDreamsTrumpetOnePart
  \AMillionDreamsTrumpetTwoPart
  \AMillionDreamsMellophonePart
  \AMillionDreamsTromboneOnePart
  \AMillionDreamsTromboneTwoPart
  \AMillionDreamsBaritonePart
  \AMillionDreamsTubaPart
>>
\new StaffGroup <<
  \AMillionDreamsPianoPart
  \AMillionDreamsVibraphoneOnePart
  \AMillionDreamsVibraphoneTwoPart
  \AMillionDreamsMarimbaOnePart
  \AMillionDreamsMarimbaTwoPart
  \AMillionDreamsSnarePart
  \AMillionDreamsTenorsPart
  \AMillionDreamsBassesPart
>>
\new Dynamics {
  \startMeasureCount
  s1*55
  \stopMeasureCount
}
<< 
  \amilliondreamsdrillscorepart
>>
  >>
  \layout {
indent = #12
short-indent = .4\cm
ragged-right = ##t
\set Score.markFormatter = #format-mark-box-letters
#(layout-set-staff-size 7)
\context {
  \Score
  \omit BarNumber
}
\context {
  \Dynamics
  \consists #Measure_counter_engraver
  \override MeasureCounter.direction = #DOWN
  \override MeasureCounter.font-encoding = #'latin1
  \override MeasureCounter.font-shape = #'italic
  \override MeasureCounter.font-size = #5
}}}

Re: Center Systems

2017-04-22 Thread Johannes Roeßler

Hi Kieren,

yes, I did search - obviously not in the right way.. was to fixated on 
"centered" that I didn't look for "middle of the page" - anyway, thx - 
your hint was the one I needed!


@Harm: thx for trying to help too - should have posted a pic... 
http://joeigraphie.de/lily/CenteredSystem.png


cheers, Joei



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


Re: Center Systems

2017-04-22 Thread Kieren MacMillan
Hi Johannes,

> Nobody? :(

Did you search the archive first?
http://lists.gnu.org/archive/html/lilypond-user/2017-03/msg00452.html

Hope this helps,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: Center Systems

2017-04-22 Thread Thomas Morley
2017-04-22 18:16 GMT+02:00 Johannes Roeßler :
> Nobody? :(
>
> Hi again,
>
> I'd like to centre my systems vertically. Up to now the only options to
> manipulate the vertical features I use/know are
> ragged-bottom = ##f or ##t in the \paper-Env or explicit
> system-system-spacings. But is there an option to keep the auto-distance
> that
> is used for ragged-bottom = ##t but all systems not top-aligned but
> centre-aligned?

Hi,

well, I did not understand what you're aiming at...

Maybe an image would help. Probably faked by a graphic program.

Did you already try the flexible-vertical-spacing-paper-variables as
listed here:
http://lilypond.org/doc/v2.19/Documentation/notation-big-page#list-of-flexible-vertical-spacing-paper-variables
?

Probably:

\header { tagline = ##f }
\paper {
  ragged-bottom = ##f
  ragged-last-bottom = ##f
  annotate-spacing = ##t
  top-system-spacing =
#'((basic-distance . 6)
   (minimum-distance . 24)
   (padding . 1)
   (stretchability . 0))
  last-bottom-spacing =
#'((basic-distance . 6)
   (minimum-distance . 24)
   (padding . 1)
   (stretchability . 0))
  system-system-spacing =
#'((basic-distance . 12)
   (minimum-distance . 6)
   (padding . 1)
   (stretchability . 1000))

}

\score {
  <<
\new Staff <<
  \repeat unfold 15 { c'4 c' c' c' }
>>
\new Staff {
  \repeat unfold 15 { d'4 d' d' d' }
}
  >>
}

Cheers,
  Harm


>
>
> \version "2.19.58"
>
> \header { tagline = ##f }
> \paper {
>   ragged-bottom = ##f
>   ragged-last-bottom = ##f
> }
>
> \score {
>   <<
> \new Staff <<
>   \repeat unfold 15 { c'4 c' c' c' }
> >>
> \new Staff {
>   \repeat unfold 15 { d'4 d' d' d' }
> }
>   >>
> }
>
> cheers Joei
>
> ***

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


Re: Center Systems

2017-04-22 Thread Johannes Roeßler

Nobody? :(

Hi again,

I'd like to centre my systems vertically. Up to now the only options to
manipulate the vertical features I use/know are
ragged-bottom = ##f or ##t in the \paper-Env or explicit
system-system-spacings. But is there an option to keep the auto-distance that
is used for ragged-bottom = ##t but all systems not top-aligned but
centre-aligned?


\version "2.19.58"

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

\score {
  <<
\new Staff <<
  \repeat unfold 15 { c'4 c' c' c' }
>>
\new Staff {
  \repeat unfold 15 { d'4 d' d' d' }
}
  >>
}

cheers Joei

***


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


Center Systems

2017-04-21 Thread Johannes Roeßler
Hi again,

I'd like to centre my systems vertically. Up to now the only options to 
manipulate the vertical features I use/know are
ragged-bottom = ##f or ##t in the \paper-Env or explicit 
system-system-spacings. But is there an option to keep the auto-distance that 
is used for ragged-bottom = ##t but all systems not top-aligned but 
centre-aligned?


\version "2.19.58"

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

\score {
  <<
\new Staff <<
  \repeat unfold 15 { c'4 c' c' c' }
>>
\new Staff {
  \repeat unfold 15 { d'4 d' d' d' }
}
  >>
}

cheers Joei



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