Re: repeated _\markup{} at same distance from staff...?

2015-05-08 Thread Phil Holmes
Just a thought of probably a better alternative to markup.  Treat your chord 
notation as lyrics: then it will be spaced vertically automatically.

http://lilypond.org/doc/v2.19/Documentation/notation/techniques-specific-to-lyrics

--
Phil Holmes


  - Original Message - 
  From: B~M 
  To: Stephen MacNeil 
  Cc: Lilypond-User Mailing List 
  Sent: Thursday, May 07, 2015 10:55 PM
  Subject: Re: repeated _\markup{} at same distance from staff...?


  thanks indeed Stephen, its a nice idea to lump the chord symbols into one 
rather 
  than do a \markup to all notes. The Vb is just the first inversion of the 
chord, the b is not 
  a flat symbol. 
  I guess one thing that puzzled me with the \override  TextScript.padding is 
why the outcome didn't just add an further offset but with the same result of 
the symbols going up and down following the music. 
  Perhaps \override means not only override the default offset, but turn off 
completely the following 
  of the music ? 


  Paul 




  On Fri, May 8, 2015 at 12:46 AM, Stephen MacNeil classicalja...@gmail.com 
wrote:

Hey paul 


if the markup is all on one it takes only one staff padding. What i mean is 
each markup is based off of what you attach it to. so a trick I do is put them 
in one markup then all you need to do is center under each with halign.


here is an example 

Also i am not sure why you wanted Vb ... but it does say Exam so...

%%%

\paper {

indent = 0

top-system-spacing #'basic-distance = #10

score-system-spacing #'basic-distance = #20

system-system-spacing #'basic-distance = #20

last-bottom-spacing #'basic-distance = #10

}

I = \markup {I}

IV = \markup {IV}

V = \markup {V}

Vb = \markup {V \raise #1 \tiny\flat} 

roman = \markup {\I \halign #-1.5 {\IV} \halign #-1 {\V} \halign #-2.2 
{\Vb}}




global = {

\key d \major

\numericTimeSignature 

\time 4/4

}




sopMusic = \relative c'' {

% measure 1 

fis4\( d cis8[ b] a4

% measure 2

b b a2\) 

% measure 3

e'4\( d8[ e] fis4 g 

% measure 4

fis4 d e2\)

% measure 5

b4\( d8[ cis] b[ cis d e] 

% measure 6

fis4 e d2\) 

% measure 7

d4\( b a e' 

% measure 8

d cis d2\)

\bar |. 

}




bassMusic = \relative c {

\override NoteHead.color = #blue

\override Stem.color = #blue

\override Accidental.color = #blue







% measure 1

d4_\roman a a cis 

% measure 2

g g a2

% measure 3

e'4 b d g,

% measure 4

d' b a2

% measure 5

b4 fis g b 

% measure 6

d a b2 

% measure 7




d4 b4 g a










% measure 8




g a d2







}

\score {










\new ChoirStaff 

\new Staff = women 

\new Voice = sopranos {

\voiceOne

 \global \sopMusic 

}



\new Staff = men 

\clef bass

\new Voice = basses {

\voiceTwo  \global \bassMusic 

}





}



HTH

Stephen





--


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


Re: repeated _\markup{} at same distance from staff...?

2015-05-08 Thread Klaus Blum
Hi Paul, hi Phil, 

from my own experiences, I can absolutely recommend using lyrics. 
Here's a snippet that might be useful:
http://lsr.di.unimi.it/LSR/Item?id=967

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/repeated-markup-at-same-distance-from-staff-tp176279p176325.html
Sent from the User mailing list archive at Nabble.com.

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


Re: repeated _\markup{} at same distance from staff...?

2015-05-08 Thread Stephen MacNeil
what a great idea!

Stephen

On Fri, May 8, 2015 at 4:33 AM, Phil Holmes m...@philholmes.net wrote:

  Just a thought of probably a better alternative to markup.  Treat your
 chord notation as lyrics: then it will be spaced vertically automatically.


 http://lilypond.org/doc/v2.19/Documentation/notation/techniques-specific-to-lyrics

 --
 Phil Holmes



 - Original Message -
 *From:* B~M viola1...@gmail.com
 *To:* Stephen MacNeil classicalja...@gmail.com
 *Cc:* Lilypond-User Mailing List lilypond-user@gnu.org
 *Sent:* Thursday, May 07, 2015 10:55 PM
 *Subject:* Re: repeated _\markup{} at same distance from staff...?

  thanks indeed Stephen, its a nice idea to lump the chord symbols into
 one rather
 than do a \markup to all notes. The Vb is just the first inversion of the
 chord, the b is not
 a flat symbol.
 I guess one thing that puzzled me with the \override  TextScript.padding
 is why the outcome didn't just add an further offset but with the same
 result of the symbols going up and down following the music.
 Perhaps \override means not only override the default offset, but turn off
 completely the following
 of the music ?

 Paul


 On Fri, May 8, 2015 at 12:46 AM, Stephen MacNeil classicalja...@gmail.com
  wrote:

Hey paul

 if the markup is all on one it takes only one staff padding. What i mean
 is each markup is based off of what you attach it to. so a trick I do is
 put them in one markup then all you need to do is center under each with
 halign.

 here is an example
 Also i am not sure why you wanted Vb ... but it does say Exam so...

 %%%

 \paper {

 indent = 0

 top-system-spacing #'basic-distance = #10

 score-system-spacing #'basic-distance = #20

 system-system-spacing #'basic-distance = #20

 last-bottom-spacing #'basic-distance = #10

 }

 I = \markup {I}

 IV = \markup {IV}

 V = \markup {V}

 Vb = \markup {V \raise #1 \tiny\flat}

 roman = \markup {\I \halign #-1.5 {\IV} \halign #-1 {\V} \halign #-2.2
 {\Vb}}


 global = {

 \key d \major

 \numericTimeSignature

 \time 4/4

 }


 sopMusic = \relative c'' {

 % measure 1

 fis4\( d cis8[ b] a4

 % measure 2

 b b a2\)

 % measure 3

 e'4\( d8[ e] fis4 g

 % measure 4

 fis4 d e2\)

 % measure 5

 b4\( d8[ cis] b[ cis d e]

 % measure 6

 fis4 e d2\)

 % measure 7

 d4\( b a e'

 % measure 8

 d cis d2\)

 \bar |.

 }


 bassMusic = \relative c {

 \override NoteHead.color = #blue

 \override Stem.color = #blue

 \override Accidental.color = #blue



 % measure 1

 d4_\roman a a cis

 % measure 2

 g g a2

 % measure 3

 e'4 b d g,

 % measure 4

 d' b a2

 % measure 5

 b4 fis g b

 % measure 6

 d a b2

 % measure 7


 d4 b4 g a




 % measure 8


 g a d2



 }

 \score {




 \new ChoirStaff 

 \new Staff = women 

 \new Voice = sopranos {

 \voiceOne

  \global \sopMusic 

 }

 

 \new Staff = men 

 \clef bass

 \new Voice = basses {

 \voiceTwo  \global \bassMusic 

 }

 

 

 }

 HTH
 Stephen


  --

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


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


Re: repeated _\markup{} at same distance from staff...?

2015-05-07 Thread Stephen MacNeil
\override applies to all. to make it only happen once use \once \override

glad to help
Stephen

On Thu, May 7, 2015 at 5:55 PM, B~M viola1...@gmail.com wrote:

 thanks indeed Stephen, its a nice idea to lump the chord symbols into
 one rather
 than do a \markup to all notes. The Vb is just the first inversion of the
 chord, the b is not
 a flat symbol.
 I guess one thing that puzzled me with the \override  TextScript.padding
 is why the outcome didn't just add an further offset but with the same
 result of the symbols going up and down following the music.
 Perhaps \override means not only override the default offset, but turn off
 completely the following
 of the music ?

 Paul


 On Fri, May 8, 2015 at 12:46 AM, Stephen MacNeil classicalja...@gmail.com
  wrote:

 Hey paul

 if the markup is all on one it takes only one staff padding. What i mean
 is each markup is based off of what you attach it to. so a trick I do is
 put them in one markup then all you need to do is center under each with
 halign.

 here is an example
 Also i am not sure why you wanted Vb ... but it does say Exam so...

 %%%

 \paper {

 indent = 0

 top-system-spacing #'basic-distance = #10

 score-system-spacing #'basic-distance = #20

 system-system-spacing #'basic-distance = #20

 last-bottom-spacing #'basic-distance = #10

 }

 I = \markup {I}

 IV = \markup {IV}

 V = \markup {V}

 Vb = \markup {V \raise #1 \tiny\flat}

 roman = \markup {\I \halign #-1.5 {\IV} \halign #-1 {\V} \halign #-2.2
 {\Vb}}


 global = {

 \key d \major

 \numericTimeSignature

 \time 4/4

 }


 sopMusic = \relative c'' {

 % measure 1

 fis4\( d cis8[ b] a4

 % measure 2

 b b a2\)

 % measure 3

 e'4\( d8[ e] fis4 g

 % measure 4

 fis4 d e2\)

 % measure 5

 b4\( d8[ cis] b[ cis d e]

 % measure 6

 fis4 e d2\)

 % measure 7

 d4\( b a e'

 % measure 8

 d cis d2\)

 \bar |.

 }


 bassMusic = \relative c {

 \override NoteHead.color = #blue

 \override Stem.color = #blue

 \override Accidental.color = #blue



  % measure 1

 d4_\roman a a cis

 % measure 2

 g g a2

 % measure 3

 e'4 b d g,

 % measure 4

 d' b a2

 % measure 5

 b4 fis g b

 % measure 6

 d a b2

 % measure 7


 d4 b4 g a




  % measure 8


 g a d2



 }

 \score {




  \new ChoirStaff 

 \new Staff = women 

 \new Voice = sopranos {

 \voiceOne

  \global \sopMusic 

 }

 

 \new Staff = men 

 \clef bass

 \new Voice = basses {

 \voiceTwo  \global \bassMusic 

 }

 

 

 }

 HTH
 Stephen



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


repeated _\markup{} at same distance from staff...?

2015-05-07 Thread B~M
Dear ALL, at the risk of great embarrassment, I cannot seem to find what
must be a simple
command to set _\markup{} at a constant offset from the staff, rather than
following the music
up and down etc. I've attached my example which is a simple SATB harmony
showing only the Soprano and
Bass. The chord indications (shown int he first bar only) are the symbols I
want to all be at the same distance from the
staff, not the notes.
There seems to be functions to do this for dynamics to be offset a constant
distance from the staff, but I could
not find a similar command for _\markup (or alternatively ^\markup{}).
Any examples or pointers to the manual ?

Paul


HarmQnExamMay2012-2.ly
Description: Binary data


HarmQnExamMay2012-2.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: repeated _\markup{} at same distance from staff...?

2015-05-07 Thread Cynthia Karl

 On May 7, 2015, at 6:00 AM, lilypond-user-requ...@gnu.org wrote:
 Message: 4
 Date: Thu, 7 May 2015 21:00:40 +1000
 From: B~M viola1...@gmail.com
 To: lilypond-user@gnu.org
 Subject: repeated _\markup{} at same distance from staff...?
 Message-ID:
   camd7vnwfoavdriyn_c1_ffepyf_ysi-jcgotmprp3zjf47h...@mail.gmail.com
 Content-Type: text/plain; charset=utf-8
 
 Dear ALL, at the risk of great embarrassment, I cannot seem to find what
 must be a simple
 command to set _\markup{} at a constant offset from the staff, rather than
 following the music
 up and down etc. I've attached my example which is a simple SATB harmony
 showing only the Soprano and
 Bass. The chord indications (shown int he first bar only) are the symbols I
 want to all be at the same distance from the
 staff, not the notes.
 There seems to be functions to do this for dynamics to be offset a constant
 distance from the staff, but I could
 not find a similar command for _\markup (or alternatively ^\markup{}).
 Any examples or pointers to the manual ?

Put the markups in a Dynamics context.  (I would have modified your snippet but 
it was too convoluted for the subject.)
 
 Paul


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


Re: repeated _\markup{} at same distance from staff...?

2015-05-07 Thread B~M
thanks indeed Stephen, its a nice idea to lump the chord symbols into one
rather
than do a \markup to all notes. The Vb is just the first inversion of the
chord, the b is not
a flat symbol.
I guess one thing that puzzled me with the \override  TextScript.padding is
why the outcome didn't just add an further offset but with the same result
of the symbols going up and down following the music.
Perhaps \override means not only override the default offset, but turn off
completely the following
of the music ?

Paul


On Fri, May 8, 2015 at 12:46 AM, Stephen MacNeil classicalja...@gmail.com
wrote:

 Hey paul

 if the markup is all on one it takes only one staff padding. What i mean
 is each markup is based off of what you attach it to. so a trick I do is
 put them in one markup then all you need to do is center under each with
 halign.

 here is an example
 Also i am not sure why you wanted Vb ... but it does say Exam so...

 %%%

 \paper {

 indent = 0

 top-system-spacing #'basic-distance = #10

 score-system-spacing #'basic-distance = #20

 system-system-spacing #'basic-distance = #20

 last-bottom-spacing #'basic-distance = #10

 }

 I = \markup {I}

 IV = \markup {IV}

 V = \markup {V}

 Vb = \markup {V \raise #1 \tiny\flat}

 roman = \markup {\I \halign #-1.5 {\IV} \halign #-1 {\V} \halign #-2.2
 {\Vb}}


 global = {

 \key d \major

 \numericTimeSignature

 \time 4/4

 }


 sopMusic = \relative c'' {

 % measure 1

 fis4\( d cis8[ b] a4

 % measure 2

 b b a2\)

 % measure 3

 e'4\( d8[ e] fis4 g

 % measure 4

 fis4 d e2\)

 % measure 5

 b4\( d8[ cis] b[ cis d e]

 % measure 6

 fis4 e d2\)

 % measure 7

 d4\( b a e'

 % measure 8

 d cis d2\)

 \bar |.

 }


 bassMusic = \relative c {

 \override NoteHead.color = #blue

 \override Stem.color = #blue

 \override Accidental.color = #blue



  % measure 1

 d4_\roman a a cis

 % measure 2

 g g a2

 % measure 3

 e'4 b d g,

 % measure 4

 d' b a2

 % measure 5

 b4 fis g b

 % measure 6

 d a b2

 % measure 7


 d4 b4 g a




  % measure 8


 g a d2



 }

 \score {




  \new ChoirStaff 

 \new Staff = women 

 \new Voice = sopranos {

 \voiceOne

  \global \sopMusic 

 }

 

 \new Staff = men 

 \clef bass

 \new Voice = basses {

 \voiceTwo  \global \bassMusic 

 }

 

 

 }

 HTH
 Stephen

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


Re: repeated _\markup{} at same distance from staff...?

2015-05-07 Thread Stephen MacNeil
Hey paul

if the markup is all on one it takes only one staff padding. What i mean is
each markup is based off of what you attach it to. so a trick I do is put
them in one markup then all you need to do is center under each with halign.

here is an example
Also i am not sure why you wanted Vb ... but it does say Exam so...

%%%

\paper {

indent = 0

top-system-spacing #'basic-distance = #10

score-system-spacing #'basic-distance = #20

system-system-spacing #'basic-distance = #20

last-bottom-spacing #'basic-distance = #10

}

I = \markup {I}

IV = \markup {IV}

V = \markup {V}

Vb = \markup {V \raise #1 \tiny\flat}

roman = \markup {\I \halign #-1.5 {\IV} \halign #-1 {\V} \halign #-2.2
{\Vb}}


global = {

\key d \major

\numericTimeSignature

\time 4/4

}


sopMusic = \relative c'' {

% measure 1

fis4\( d cis8[ b] a4

% measure 2

b b a2\)

% measure 3

e'4\( d8[ e] fis4 g

% measure 4

fis4 d e2\)

% measure 5

b4\( d8[ cis] b[ cis d e]

% measure 6

fis4 e d2\)

% measure 7

d4\( b a e'

% measure 8

d cis d2\)

\bar |.

}


bassMusic = \relative c {

\override NoteHead.color = #blue

\override Stem.color = #blue

\override Accidental.color = #blue



 % measure 1

d4_\roman a a cis

% measure 2

g g a2

% measure 3

e'4 b d g,

% measure 4

d' b a2

% measure 5

b4 fis g b

% measure 6

d a b2

% measure 7


d4 b4 g a




 % measure 8


g a d2



}

\score {




 \new ChoirStaff 

\new Staff = women 

\new Voice = sopranos {

\voiceOne

 \global \sopMusic 

}



\new Staff = men 

\clef bass

\new Voice = basses {

\voiceTwo  \global \bassMusic 

}





}

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


Re: repeated _\markup{} at same distance from staff...?

2015-05-07 Thread Phil Holmes

\override TextScript.padding = #5

Will take you some way to what you want, I think.

BTW - I think the second note should be G, not A?

--
Phil Holmes


- Original Message - 
From: B~M

To: lilypond-user@gnu.org
Sent: Thursday, May 07, 2015 12:00 PM
Subject: repeated _\markup{} at same distance from staff...?


Dear ALL, at the risk of great embarrassment, I cannot seem to find what 
must be a simple
command to set _\markup{} at a constant offset from the staff, rather than 
following the music
up and down etc. I've attached my example which is a simple SATB harmony 
showing only the Soprano and
Bass. The chord indications (shown int he first bar only) are the symbols I 
want to all be at the same distance from the

staff, not the notes.
There seems to be functions to do this for dynamics to be offset a constant 
distance from the staff, but I could

not find a similar command for _\markup (or alternatively ^\markup{}).
Any examples or pointers to the manual ?


Paul



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



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