lilypond-user
[Top][All Lists]
Advanced

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

Re: printing individual parts causes the whole score to print too


From: Richard Shann
Subject: Re: printing individual parts causes the whole score to print too
Date: Tue, 01 Dec 2015 08:43:52 +0000

On Tue, 2015-12-01 at 00:38 -0800, Ryan Michael wrote:
> So I have the following seperate .ly file: 
> 
> 
> \include "eiertanz-1.ly"
> 
> 
> \header {
>   instrument = "Violin"
> }
> 
> 
> {
>  \violinOne
> }
> 
> 
> Which prints the variable which points to the Voice violinOne defined
> in "eiertanz-1.ly"
> 
> 
> however the whole score prints and then the single voice is printed.
> How Can I only print the violin part? 

You would need to take the \score {} out of eirertanz-1.ly as that is
telling LilyPond to typeset the score.

Richard
> 
> 
> Here is the skeleton of eiertanz-1.ly
> 
> 
> 
> 
> global= {
>  
>   \key c \major
> }
> 
> 
> \header{
>     title = "My thing piece"
>     composer = ""
>    }
> 
> 
> 
> 
> 
> 
> violinOne = \new Voice {
> 
> 
> 
> 
> }
> cello = \new Voice {
>   % etc%
> }
> 
> 
> 
> 
> \score {
>   \new StaffGroup <<
>     \new Staff << \global \violinOne >>
>     \new Staff << \global \cello >>
>   >>
>   \layout { }
>   \midi { }
> }
> 
> 
> -- 
> ॐ नमः शिवाय
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

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