[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Maintaining font-size regardless of staff-size
From: |
David Kastrup |
Subject: |
Re: Maintaining font-size regardless of staff-size |
Date: |
Thu, 17 May 2018 12:30:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
David Sumbler <address@hidden> writes:
> On Wed, 2018-05-16 at 16:55 +0200, David Kastrup wrote:
>> David Sumbler <address@hidden> writes:
>>
>> >
>> > At the moment I define variables for formatting title, composer
>> > etc. at
>> > the start of a score separately for each staff-size that I use.
>> >
>> > A simple question: is there a way of getting the same layout and
>> > font-
>> > sizes for the opening headings of, say, a part with 20-point staves
>> > and
>> > a full score with 16-point staves without having to define the
>> > layout
>> > twice?
>> >
>> > Using \abs-fontsize does not work, because the horizontal spacing
>> > is
>> > still affected by the global staff size.
>> Can you show how you are using \abs-fontsize ?
>
> %%%%%%%%%%%%%%%%%%
> \version "2.19.81"
>
> #(set-global-staff-size 20)
> \book {
> \bookOutputName "test1"
> \header { title = \markup \abs-fontsize #20 "abs-fontsize 20" }
> { c''1 }
> }
>
> #(set-global-staff-size 16)
> \book {
> \bookOutputName "test2"
> \header { title = \markup \abs-fontsize #20 "abs-fontsize 20" }
> { c''1 }
> }
> %%%%%%%%%%%%%%%%%%
>
> In "test2" above the title letters are the correct size, but are
> horizontally squashed together by a factor of 16/20.
>
> David
Ok, this is definitely off-color. I suspected you writing
\abs-fontsize #20 { word word word } instead of, say,
\abs-fontsize #20 \line { word word word } or
\abs-fontsize #20 { "word word word" }
That would resize the individual words but leave alone the
interword-space. But here actually the letter space is ruined. That
definitely looks like \abs-fontsize is not doing what it should here.
--
David Kastrup
Re: Maintaining font-size regardless of staff-size, Thomas Morley, 2018/05/19
- Re: Maintaining font-size regardless of staff-size, Thomas Morley, 2018/05/19
- Re: Maintaining font-size regardless of staff-size, Torsten Hämmerle, 2018/05/19
- Re: Maintaining font-size regardless of staff-size, David Kastrup, 2018/05/19
- Re: Maintaining font-size regardless of staff-size, David Kastrup, 2018/05/19
- Re: Maintaining font-size regardless of staff-size, Torsten Hämmerle, 2018/05/19
- Re: Maintaining font-size regardless of staff-size, David Kastrup, 2018/05/19