Re: Storing movement titles as a variable

2018-04-01 Thread Craig Dabelstein
Thanks Brian. Much appreciated.

Craig


On 1 April 2018 at 14:52, Brian Barker  wrote:

> At 14:35 01/04/2018 +1000, Craig Dabelstein wrote:
>
>> Is it possible to store movement titles as a variable? e.g.,
>>
>> movtI = { \markup{I. Allegro} }
>> movtII = { \markup{II. Adagio} }
>>
>> \header{
>> piece = \movtI
>> }
>>
>> So far I haven't been able to get this to work. Any ideas?
>>
>
> Is there any reason why you cannot use:
>
> movtI = "I. Allegro"
> movtII = "II. Adagio"
>
> \header{
> piece = \markup \movtI
> }
>
> Brian Barker
>



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com *
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Storing movement titles as a variable

2018-03-31 Thread David Kastrup
Craig Dabelstein  writes:

> Hi all,
>
> Is it possible to store movement titles as a variable? e.g.,
>
> movtI = { \markup{I. Allegro} }
> movtII = { \markup{II. Adagio} }
>
> \header{
> piece = \movtI
> }
>
> So far I haven't been able to get this to work. Any ideas?

movtI = \markup{I. Allegro}
movtII = \markup{II. Adagio}

\header{
piece = \movtI
}

You cannot just strew braces everywhere: they have meaning.  In
particular, outside of other modes (like markup mode) they introduce
sequential music.

-- 
David Kastrup

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Storing movement titles as a variable

2018-03-31 Thread Brian Barker

At 14:35 01/04/2018 +1000, Craig Dabelstein wrote:

Is it possible to store movement titles as a variable? e.g.,

movtI = { \markup{I. Allegro} }
movtII = { \markup{II. Adagio} }

\header{
piece = \movtI
}

So far I haven't been able to get this to work. Any ideas?


Is there any reason why you cannot use:

movtI = "I. Allegro"
movtII = "II. Adagio"

\header{
piece = \markup \movtI
}

Brian Barker 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Storing movement titles as a variable

2018-03-31 Thread Craig Dabelstein
Hi all,

Is it possible to store movement titles as a variable? e.g.,

movtI = { \markup{I. Allegro} }
movtII = { \markup{II. Adagio} }

\header{
piece = \movtI
}

So far I haven't been able to get this to work. Any ideas?

Craig



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com *
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user