Re: large bottom text area only on first page

2018-04-27 Thread Werner LEMBERG

>> let's assume that I want to add a large block of text at the bottom
>> of the first page only: [...]
>
> I'd go for a page-footer and `on-page'.
> 
> Below our modified
> input/regression/page-headers-and-footers.ly

Thanks a lot!


Werner

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


Re: large bottom text area only on first page

2018-04-27 Thread Thomas Morley
2018-04-27 10:32 GMT+02:00 Thomas Morley :

> I'd go for a page-footer and `on-page'.

For page 1 `first-page' would do it already.

Cheers,
  Harm

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


Re: large bottom text area only on first page

2018-04-27 Thread Thomas Morley
2018-04-27 9:50 GMT+02:00 Werner LEMBERG :
>
> Folks,
>
>
> let's assume that I want to add a large block of text at the bottom of
> the first page only:
>
>
>page 1   page 2, 3, ...
> +-+  +-+
> | |  | |
> | music   |  | music (cntd.)   |
> | |  | |
> | |  | |
> | |  | |
> | |  | |
> |-|  | |
> | text|  | |
> | |  | |
> | |  | |
> | |  | |
> +-+  +-+
>
>
> How can I achieve that?
>
>
> Werner



Hi Werner,

I'd go for a page-footer and `on-page'.

Below our modified
input/regression/page-headers-and-footers.ly

txt = \markup \wordwrap-string
"Lorem ipsum dolor sit amet, consectetur adipisicing
elit, sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.  Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet,
consectetur adipisicing
elit, sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua.  Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat."

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


  oddHeaderMarkup = \markup  {
\override #'(baseline-skip . 2.5)
\center-column {
  \fill-line { \teeny " " " " }
  \on-the-fly #not-first-page \fromproperty #'page:page-number-string
}
  }

  evenHeaderMarkup = \oddHeaderMarkup

  oddFooterMarkup = \markup \fill-line {
\override #'(baseline-skip . 1)
\center-column {
\on-the-fly #(on-page 1) \txt
\fill-line { \teeny " " " " }
}
  }
}

#(set-default-paper-size "a6" 'portrait)

\book {
  \score {
\new Staff \relative {
  \repeat unfold 18 { a b c d \break }
}
  }
}

HTH,
  Harm

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


large bottom text area only on first page

2018-04-27 Thread Werner LEMBERG

Folks,


let's assume that I want to add a large block of text at the bottom of
the first page only:


   page 1   page 2, 3, ...
+-+  +-+
| |  | |
| music   |  | music (cntd.)   |
| |  | |
| |  | |
| |  | |
| |  | |
|-|  | |
| text|  | |
| |  | |
| |  | |
| |  | |
+-+  +-+


How can I achieve that?


Werner

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