[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Importing the ToC into LaTeX
From: |
Thomas Morley |
Subject: |
Re: Importing the ToC into LaTeX |
Date: |
Sat, 28 May 2016 21:31:28 +0200 |
Hi Stefan,
I wrote:
2016-05-26 21:39 GMT+02:00 Thomas Morley <address@hidden>:
>> My original problem is, that I haven't found a way to print a book with
>> lilypond where I begin with a front page, an empty page on the left and the
>> first page on the right. If switching on double sided page 1 should get an
>> extra amount of space on the left. But this is not working.
>
> Not sure I understand, could you provide an example?
2016-05-28 16:52 GMT+02:00 Stefan-W. Hahn <address@hidden>:
> Mail von Thomas Morley, Thu, 26 May 2016 at 21:39:22 +0200:
>
> Hello,
>
> just to close the item. The last answer helps to solve my orignal problem
> generating a two sided book with a title page. It seems not possible to have
> page one on the right sight with indent on the left.
Would have been nice to adress my understanding problem ;)
Is this you're looking for?:
someNotes = \relative { \repeat unfold 200 { c'4 d e f } }
\paper {
two-sided = ##t
inner-margin = 10 \cm
outer-margin = 20 \mm
first-page-number = -1
}
\book {
\bookpart {
\paper { two-sided = ##f }
\markup \box \fill-line { \null "TITLE" \null }
}
\bookpart {
\paper {
two-sided = ##f
oddHeaderMarkup = #'()
evenHeaderMarkup = #'()
}
\markuplist \table-of-contents
}
\bookpart {
\tocItem \markup \with-color #red "First score"
\score {
{
\someNotes
\tocItem \markup \fontsize #3 "Some particular point in the first score"
}
}
}
\bookpart {
\tocItem \markup \with-color #cyan "Second score"
\score { \transpose c b \someNotes }
}
\bookpart { \paper { two-sided = ##f } \markup "LAST" }
}
Cheers,
Harm
Re: Importing the ToC into LaTeX, Stefan-W . Hahn, 2016/05/26