lilypond-user
[Top][All Lists]
Advanced

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

Re: #(set-global-staff-size ) and \bookOutputSuffix


From: Mario Moles
Subject: Re: #(set-global-staff-size ) and \bookOutputSuffix
Date: Tue, 04 Mar 2014 00:32:58 +0100
User-agent: KMail/4.12.2 (Linux/3.12.13-nrjQL-realtime-69rosa; KDE/4.12.2; x86_64; ; )

In data lun 3 mar 2014 23:57:40, hai scritto:

If you use two \book {} contexts, each can contain its own set-global-staff-size command.



I'm sorry! But this dont work: i have always the same result! Where i am wrong?

 

\version "2.19.2"

\language "english"

\header {

title = "Titolo"

}

 

\paper {

#(set-paper-size "a4")

}

 

global = {

\key c \major

\time 4/4

\tempo 4=100

}

 

violin = \relative c'' {

\global

% Qui segue la musica.

c1|

c|c|c|c|c|c|c|c|c|c|

}

 

viola = \relative c' {

\global

% Qui segue la musica.

c1|

c|c|c|c|c|c|c|c|c|c|

}

 

cello = \relative c {

\global

% Qui segue la musica.

c1|

c|c|c|c|c|c|c|c|c|c|

}

 

contrabass = \relative c {

\global

% Qui segue la musica.

c1|

c|c|c|c|c|c|c|c|c|c|

}

 

violinPart = \new Staff \with {

instrumentName = "Vl."

midiInstrument = "violin"

} \violin

 

violaPart = \new Staff \with {

instrumentName = "V.la"

midiInstrument = "viola"

} { \clef alto \viola }

 

celloPart = \new Staff \with {

instrumentName = "Vlc."

midiInstrument = "cello"

} { \clef bass \cello }

 

contrabassPart = \new Staff \with {

instrumentName = "Cb."

midiInstrument = "contrabass"

} { \clef bass \contrabass }

 

\book {

#(set-global-staff-size 18)

\score {\new StaffGroup

<<

\violinPart

\violaPart

\celloPart

\contrabassPart

>>

\layout {}

\midi { }

}

}

\book {

#(set-global-staff-size 28)

\bookOutputSuffix "Violino I"

\score {

\new StaffGroup

<<

\violinPart

>>

\layout {}

\midi {

\context {

\Score

tempoWholesPerMinute = #(ly:make-moment 66 4)

}

}

\header {

title = \markup \column {"Titolo"}

instrument = \markup \column \normal-text {"Violino I" " "}

}

}

}
--

oiram/bin/selom

Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni.

MIB-kernellinux-tester

http://mariomoles.altervista.org/

Linux

MIB Lilypond Frescobaldi Rosegarden


reply via email to

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