lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting entire document fonts


From: Richard Shann
Subject: Re: Setting entire document fonts
Date: Fri, 24 Oct 2014 18:16:41 +0100

On Fri, 2014-10-24 at 10:10 -0700, tisimst wrote:
> Richard,
> 
> 
> Internally, when you call set-global-staff-size, it resets the text
> fonts. Thus, if you want to use a different staff size, that must go
> PRIOR to where you define the fonts.
Thank you! that works fine.

Richard


>  Kinda weird, I know, but that's how it works. 
> 
> 
> HTH,
> Abraham
> 
> Sent from my iPhone
> 
> On Oct 24, 2014, at 10:29 AM, Richard Shann-2 [via Lilypond] <[hidden
> email]> wrote:
> 
> 
> > Following the example for setting the entire document fonts at 
> > 
> > http://www.lilypond.org/doc/v2.18/Documentation/notation/fonts#entire-document-fonts
> > 
> > I constructed this code: 
> > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< 
> > \version "2.18.0" 
> > \paper  { 
> >   #(define fonts 
> >     (make-pango-font-tree "Nimbus Sans" 
> >                           "Luxi Mono" 
> >                           "Times New Roman" 
> >                           (/ staff-height pt 20))) 
> > } 
> > 
> > { 
> >          c'<> ^\markup {roman, 
> >     \sans sans, 
> >     \typewriter typewriter.} g' 
> > } 
> > %#(set-global-staff-size 20) 
> > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< 
> > 
> > where I have switched round the order of the fonts so that the 
> > typewriter should show in Roman and the Roman as sans etc. 
> > This works, but if I uncomment the set-global-staff-size line it
> > reverts 
> > to the default. 
> > What is going on here? How do I set the fonts and the overall staff 
> > size? 
> > 
> > Richard 
> > 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________ 
> > lilypond-user mailing list 
> > [hidden email] 
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> > 
> > 
> > 
> > ____________________________________________________________________
> > If you reply to this email, your message will be added to the
> > discussion below:
> > http://lilypond.1069038.n5.nabble.com/Setting-entire-document-fonts-tp167869.html
> >  
> > To start a new topic under User, email [hidden email] 
> > To unsubscribe from Lilypond, click here.
> > NAML 
> 
> 
> ______________________________________________________________________
> View this message in context: Re: Setting entire document fonts
> Sent from the User mailing list archive at Nabble.com.
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

[Prev in Thread] Current Thread [Next in Thread]