Re: avoid orphan

2018-06-20 Thread Gianmaria Lari
My apologies, my msg. was not clear.

I wanted the score and the text on the same page. I tried with \noPageBreak
and it works well. I will test also the header later.

Thanks a lot Jan and Malte

On Wed, 20 Jun 2018 at 10:43, Jan-Peter Voigt  wrote:

> Hi Gianmaria,
>
> like Malte already pointed out, you can use the header field piece. If
> your intention is something else, I guess you are looking for \noPageBreak:
>
> \score {
> {a b c' d'}
> \layout {}
> \header { piece = "Etude" }
> }
>
> \markup "Etude"
> \noPageBreak
> {a b c' d'}
>
>
> HTH
> Jan-Peter
>
> Am 20.06.2018 um 10:15 schrieb Gianmaria Lari:
> > I have a code similar to this
> >
> > \version "2.19.81"
> > \markup "Etude"
> > {a b c' d'}
> >
> > \markup "Etude"
> > {a b c' d'}
> > [.]
> >
> > Is there any way to keep the markup and score together?
> >
> >
> > ___
> > 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
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: avoid orphan

2018-06-20 Thread Jan-Peter Voigt

Hi Gianmaria,

like Malte already pointed out, you can use the header field piece. If 
your intention is something else, I guess you are looking for \noPageBreak:


\score {
{a b c' d'}
\layout {}
\header { piece = "Etude" }
}

\markup "Etude"
\noPageBreak
{a b c' d'}


HTH
Jan-Peter

Am 20.06.2018 um 10:15 schrieb Gianmaria Lari:

I have a code similar to this

\version "2.19.81"
\markup "Etude"
{a b c' d'}

\markup "Etude"
{a b c' d'}
[.]

Is there any way to keep the markup and score together?


___
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


Re: avoid orphan

2018-06-20 Thread Malte Meyn



Am 20.06.2018 um 10:15 schrieb Gianmaria Lari:

I have a code similar to this

\version "2.19.81"
\markup "Etude"
{a b c' d'}

\markup "Etude"
{a b c' d'}
[.]

Is there any way to keep the markup and score together?


What do you mean by “together”?

And have you considered to use \header { piece = "Etude" } ?

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


avoid orphan

2018-06-20 Thread Gianmaria Lari
I have a code similar to this

\version "2.19.81"
\markup "Etude"
{a b c' d'}

\markup "Etude"
{a b c' d'}
[.]

Is there any way to keep the markup and score together?
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user