• Willkommen im Forum „Archiviertes Lilypond Forum (2017)“.
 

Dies ist das Archiv des alten Forums (bis März 2017). Das aktuelle Forum ist unter lilypondforum.de zu finden.
This is the archive of the old forum (until March 2017). You can find the current forum at lilypondforum.de.

Hauptmenü

variable für \with

Begonnen von himatt, Samstag, 12. September 2009, 17:16

Vorheriges Thema - Nächstes Thema

himatt

ich möchte in einer partitur nur die wichtigen stimmen ( \Voice und \RhythmicStaff ) größer darstellen. jedesmal habe ich ein \with eingefügt mit den entsprechenden anweisungen. es funktioniert auch. nur denke ich dass das sehr umständlich ist. sicher kann ich dafür eine variable verwenden um sie dann in den stimmen benutzen zu können. ich müsste eben auch nicht in allen stimmen die änderungen einzeln eintragen.
ich hab schon eine menge probiert. geht das irgendwie mit \context? damit hab ich eh so meine probleme :(
sicher habt ihr eine idee.

hier ein auszug einer einzelnen stimme:


      <<       
\new Staff \with {
        fontSize = #4
      \override StaffSymbol #'staff-space = #(magstep 4)
      \override StaffSymbol #'thickness = #(magstep 3)
        }
          \new Voice = "Key"
                {
%                  \global
                 \relative c''  { c4 c c c | c c c c }
                }
%         \new Lyrics \lyricsto "Key"
%               {
%                  \TextEins
%               }
\new RhythmicStaff
        \with {
        fontSize = #4
      \override StaffSymbol #'staff-space = #(magstep 4)
      \override StaffSymbol #'thickness = #(magstep 3)
        }
   {
%                  \global
     c4 r c r  | c r8 c c4 c }   
>>


danke
matthias

RobUr

Hallo Matthias,

falls es noch interessiert oder noch nicht bekannt ist: dieses Feature ist in 2.13.x eingebaut; siehe New features in 2.13 since 2.12.

Grüße, Robert