[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sans Font for Lilypond texts?
From: |
Dominic Neumann |
Subject: |
Re: Sans Font for Lilypond texts? |
Date: |
Fri, 14 Sep 2007 22:48:17 +0200 |
2007/9/14, Mats Bengtsson <address@hidden>:
>
>
> Dominic Neumann wrote:
> > Thank you for you hint. I´ve read section 9.3 and also found the
> > program-reference.
> > But in VoltaBracket I couln´t find a property to set to font(-family).
> > I only found the font-encoding property, but this doesn´t help me by
> > now.
> >
> The list of properties only shows the properties that are set by
> default, so
> it's not an exhaustive list. To see all available properties, you have
> to browse
> through all the links to different "interfaces" at the bottom. In your
> case, it's
> the font-interface that's relevant. There, you can see that the
> font-family property
> is available.
>
> /Mats
>
>
I didn´t know that. But I´ve tried the font-family thing without any
success. Here you can see a sample ly-file:
%%% START %%%
\version "2.10.29"
harmonies = {
\chordmode {
c1 d c d
}
}
\score {
{
<<
\new ChordNames \with {
voltaOnThisStaff = ##t
\consists Bar_engraver
\override VoltaBracket #'minimum-space = #2.2
\override VoltaBracket #'font-family = #'sans
} { \harmonies }
\new Staff \with {
voltaOnThisStaff = ##f
}
\relative c' {
\key c \major
\time 4/4
\repeat volta 2 {
c4 e g e | d fis a fis |
}
\alternative {
{ c4 e g e }
{ d4 fis a fis }
}
\bar "|."
}
>>
}
\layout {
indent = #0
\context {
\Score
\remove "Bar_number_engraver"
}
\context {
\Lyrics
\override LyricText #'font-family = #'sans
\override StanzaNumber #'font-family = #'sans
}
}
}
%%% END %%%
The font of the volta bracket numbers is still the old one. What am I
doing wrong?
Dominic