[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Maintaining font-size regardless of staff-size
From: |
David Sumbler |
Subject: |
Re: Maintaining font-size regardless of staff-size |
Date: |
Thu, 17 May 2018 10:57:45 +0100 |
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
Re: Maintaining font-size regardless of staff-size, Thomas Morley, 2018/05/19