[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Header for each page
From: |
caagr98 |
Subject: |
Re: Header for each page |
Date: |
Fri, 21 Apr 2017 13:39:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 |
The layout of the header is controlled by the `bookTitleMarkup` paper
variable (it's defined in titling-init.ly, which is included from paper-
defaults-init.ly). If you copy and change that a little, you can get it
to look pretty good (with the instrument name in the top left corner,
where it should be):
\paper {
bookTitleMarkup = \markup {
\override #'(baseline-skip . 3.5)
\column {
\fill-line { \fromproperty #'header:dedication }
\override #'(baseline-skip . 3.5)
\column {
\fill-line {
\raise #1 \fromproperty
#'header:instrument
\huge \larger \larger \bold
\fromproperty #'header:title
""
}
\fill-line {
\large \bold \fromproperty
#'header:subtitle
}
\fill-line {
\smaller \bold \fromproperty
#'header:subsubtitle
}
\fill-line {
\fromproperty #'header:poet
\fromproperty #'header:composer
}
\fill-line {
\fromproperty #'header:meter
\fromproperty #'header:arranger
}
}
}
}
}
P.S. Anyone have any idea how to paste stuff into Thunderbird without
line wrapping?
On 04/21/17 13:16, Johannes Roeßler wrote:
> Hi Michael, Hi caagr98
>
> nice to see you too Michael... (its you from the HDE? Right?)
>
> I wasn't aware that the "instrument" from the header shows up on every page -
> shame on me :(
> Buuuut.. On the first page it will appear below(!) title and subtitle - how
> do I get it above?
>
> I minimized Michaels example...
>
> ----8<-------------------------
>
> \version "2.19.58"
>
>
> \header {
> title = "My perfect piece"
> subtitle = "This is above the instrument"
> composer = "Music: by me"
> poet = "Words: by my wife ;-)"
> instrument = "My wonderful Voice"
> }
>
> \repeat unfold 160 { c'4 c' c' c' }
>
> ------------->8------------------------
>
> cheers, Joei
>> Hallo Johannes,
>>
>> nice to see you here!
>>
>>> for printing parts I'd like to place the instruments name on the very top of
>>> each(!) page - I have no idea how this can be done.
>> As already answered normally the instrument is repeated on every page anyway.
>>
>> However you write about parts and without a minimal working example I can
>> only
>> guess as to what you do.
>>
>> Assuming you do it "like it is supposed to be done" you'll likely use
>> something
>> like the attached small example:
>>
>> %%% snip %%%
>> \version "2.18.2"
>>
>> \header {
>> title = "My perfect piece"
>> composer = "Music: by me"
>> poet = "Words: by my wife ;-)"
>> }
>>
>> musicc = \repeat unfold 120 { c'4 c' c' c' }
>> musicd = \repeat unfold 120 { d'4 d' d' d' }
>>
>> \book {
>> \bookOutputSuffix "Full"
>> \header {
>> instrument = "Full Score"
>> }
>> \score {
>> <<
>> \musicc
>> \musicd
>> >>
>> }
>> }
>>
>> \book {
>> \bookOutputSuffix "music-c"
>> \header {
>> instrument = "music c"
>> }
>> \score {
>> \musicc
>> }
>> }
>>
>> \book {
>> \bookOutputSuffix "music-d"
>> \header {
>> instrument = "music d"
>> }
>> \score {
>> \musicd
>> }
>> }
>> %%% snip %%%
>>
>>
>> HTH,
>> Michael
>> --
>> Michael Gerdau email: address@hidden
>> GPG-keys available on request or at public keyserver
>
>
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
- Header for each page, Johannes Roeßler, 2017/04/21
- Re: Header for each page, caagr98, 2017/04/21
- Re: Header for each page, Gerdau, Michael, 2017/04/21
- Re: Header for each page, Simon Albrecht, 2017/04/21
- Re: Header for each page, caagr98, 2017/04/21
- Re: Header for each page, Simon Albrecht, 2017/04/21
- Re: Header for each page, Gerdau, Michael, 2017/04/21