gnu-music-discuss
[Top][All Lists]
Advanced

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

Re: [Gnu-music-discuss] cue context?


From: Scott Ballantyne
Subject: Re: [Gnu-music-discuss] cue context?
Date: 17 Sep 2000 16:52:57 -0000

Han-Wen Nienhuys <address@hidden> writes:

> (sigh)
> 
> if you want modular, do
> 
>    StaffContext = \translator {
>               \StaffContext
>               .. my modifications ..
>    }
> 
> -- 
> 

Well, at the risk of earning another (sigh), this doesn't work
either. I have 

%%%%%%%%%%%%%

\paper {
\translator {
            \VoiceContext
            \name CueVoice;
            basicNoteHeadProperties \push #'font-size = #-1
            basicStemProperties \push #'font-size = #-1
            basicBeamProperties \push #'font-size = #-1
            basicTextScriptProperties \push #'font-size = #-1
            basicSlurProperties \push #'font-size = #-1
            basicLocalKeyProperties \push #'font-size = #-1
        }
\translator{\StaffContext
\accepts CueVoice;
}
%%%%%%%%%%%%%%

at the beginning of the file. This is eventually what I wish to have
in a .ly include file. Then the notes, etc, and then I have the score
block:

%%%%%%%%%%%%%
\score{
  \notes \context Voice
      {
        \first
        \second
        \third
      }
  \paper
   {
StaffContext = \translator{
     \StaffContext
     \remove "Time_signature_engraver";
    };
    \translator{
      \VoiceContext
      \remove "Auto_beam_engraver";
     }
    \translator {
      \ScoreContext
         barScriptPadding = #2.0
         markScriptPadding = #4.0
         barNumberScriptPadding = #15
   }
   }
}
%%%%%%%%%%%%%

The effect of this is to typeset the cues properly, but I start
getting time signatures again.

sdb
-- 
address@hidden


reply via email to

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