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

2014-03-03 Thread Mario Moles
Hi! Do you think it is possible to have two #(set-global-staff-size ) in a 
single file: one 
for multi-instruments (18) and one for one part (24)?
Thanks!

\version 2.19.2
\language english
#(set-global-staff-size 18)
\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 }

\score {\new StaffGroup
  
\violinPart
\violaPart
\celloPart
\contrabassPart
  
  \layout { }
  \midi { }
}
\book {
  \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/[1]
Linux[2] 
MIB[3] Lilypond[4] Frescobaldi[5] Rosegarden[6] 


[1] http://mariomoles.altervista.org/
[2] https://www.kernel.org/
[3] http://mib.pianetalinux.org/blog/
[4] http://lilypond.org/
[5] http://www.frescobaldi.org/
[6] http://www.rosegardenmusic.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


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

2014-03-03 Thread Mario Moles
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.



*_\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/[1]
Linux[2] 
MIB[3] Lilypond[4] Frescobaldi[5] Rosegarden[6] 


[1] http://mariomoles.altervista.org/
[2] https://www.kernel.org/
[3] http://mib.pianetalinux.org/blog/
[4] http://lilypond.org/
[5] http://www.frescobaldi.org/
[6] http://www.rosegardenmusic.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user