[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conflict with "poet" and "Composer"
From: |
Thomas Morley |
Subject: |
Re: Conflict with "poet" and "Composer" |
Date: |
Thu, 30 Mar 2017 21:54:18 +0200 |
2017-03-30 20:43 GMT+02:00 Son_V <address@hidden>:
> Hi,
> if the field in "poet = " is too long, the words mix over the words of the
> field "composer = ".
>
> How can I get rid of this? Thanks.
The default bookTitleMarkup (see titling-init.ly) prints poet and
composer in one line.
Basically like: \markup fill-line { "poet" "composer" }
Thus, long words/expressions collide:
\markup \fill-line {
"looooooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnng"
"loooooooooooooooooooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnnnnger"
}
You have several possibilities to tackle this:
(1) Break the expressions in two or more lines as suggested by Abraham
(2) Try a smaller fontsize
\header {
title = "Jesu Rex admirabilis"
poet = \markup \fontsize #-1 "Simone Verovio (1575 – 1607) - dal
'Diletto Spirituale'"
composer = \markup \fontsize #-1 "Attrib. Giovanni Pierluigi da
Palestrina (1525 ca. – 1594)"
tagline = "24 marzo 2017"
}
\markup \null
(3) Try a narrow font
\header {
title = "Jesu Rex admirabilis"
poet =
\markup
\override #'(font-name . "Times New Roman,")
"Simone Verovio (1575 – 1607) - dal 'Diletto Spirituale'"
composer =
\markup
\override #'(font-name . "Times New Roman,")
"Attrib. Giovanni Pierluigi da Palestrina (1525 ca. – 1594)"
tagline = "24 marzo 2017"
}
\markup \null
(4) Redefine bookTitleMarkup
myBookTitleMarkup =\markup {
\override #'(baseline-skip . 3.5)
\column {
\fill-line { \fromproperty #'header:dedication }
\override #'(baseline-skip . 3.5)
\column {
\fill-line {
\huge \larger \larger \bold
\fromproperty #'header:title
}
\fill-line {
\large \bold
\fromproperty #'header:subtitle
}
\fill-line {
\smaller \bold
\fromproperty #'header:subsubtitle
}
%% changed from here
\fill-line {
\large \bold \fromproperty #'header:instrument
}
\fill-line {
\fromproperty #'header:poet
\null
}
\fill-line {
\null
\fromproperty #'header:composer
}
%% until here
\fill-line {
\fromproperty #'header:meter
\fromproperty #'header:arranger
}
}
}
}
\paper {
bookTitleMarkup = \myBookTitleMarkup
}
\header {
title = "Jesu Rex admirabilis"
poet = "Simone Verovio (1575 – 1607) - dal 'Diletto Spirituale'"
composer = "Attrib. Giovanni Pierluigi da Palestrina (1525 ca. – 1594)"
instrument = "whatever-instrument/voice"
tagline = "24 marzo 2017"
}
\markup \null
HTH,
Harm
Re: Conflict with "poet" and "Composer",
Thomas Morley <=