[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Scheme function for ossia
From: |
Jonathan Wilkes |
Subject: |
RE: Scheme function for ossia |
Date: |
Mon, 24 Aug 2009 10:34:46 -0700 (PDT) |
Thanks Kieren. I've seen this technique mentioned regarding another
issue I had, so I guess I should explore it some more.
One thing I don't get is why, in NR 5.1.6 is there a need for the
following:
\consists Note_heads_engraver
\consists Text_engraver
These are already part of the Voice context because of the use of
\alias, so isn't this redundant?
Another thing I noticed is that \type, \alias, \remove, and \name are
not in Appendix F of the NR.
-Jonathan
--- On Mon, 8/24/09, Kieren MacMillan <address@hidden> wrote:
> From: Kieren MacMillan <address@hidden>
> Subject: RE: Scheme function for ossia
> To: address@hidden, address@hidden
> Date: Monday, August 24, 2009, 1:12 PM
>
> Hi Jonathan,
>
> > Would probably help if I showed the file :). I'm
> guessing the problem
> > is it's not allowed to use a variable inside of the
> braces after the \with
> > command, but I don't understand why.
>
> I don't know how to solve your Scheme problem, but this is
> what I would do.
> Hope it helps!
>
> Cheers,
> Kieren.
>
> ______________
>
> \version "2.12.2"
>
> \layout {
> \context {
> \Staff
> \type "Engraver_group"
> \name "OssiaStaff"
> \alias "Staff"
> \remove "Time_signature_engraver"
> fontSize = #-3
> \override StaffSymbol #'staff-space =
> #(magstep -3)
> \override StaffSymbol #'thickness = #(magstep
> -3)
> }
> \context {
> \Score
> \accepts "OssiaStaff"
> }
> }
>
> myMelody =
> {
> \new Staff = main {
> \relative c' {
> c8 d e f g a b c |
> <<
> {
> d1
> }
> {
> \new OssiaStaff \with {
> alignAboveContext = #"main" } {
> \relative c' {
> \clef
> bass
> c4 d e f
> }
> }
> }
> >>
> }
> }
> }
>
> \score {
> \myMelody
> \layout {
> }
> }
>
Re: Scheme function for ossia, Kieren MacMillan, 2009/08/25