Re: temporarily disable Dot_column_engraver?

2018-04-19 Thread foxfanfare
Thomas Morley-2 wrote
> It's not possible to consist/remove engraver temporarily, but you can
> have several named Voices (keep them alive) with and without the
> engraver:

Thank you for your answer. That's too bad this feature isn't available it
would obviously get things easier!

Anyway, thank you for this exemple, it's a good thing to know it is doable.
However, I wonder if in a score, I'll prefer this voicing solution or if it
wouldn't be faster to just move the dots...



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: temporarily disable Dot_column_engraver?

2018-04-18 Thread Thomas Morley
2018-04-18 13:22 GMT+02:00 foxfanfare :
> This post is old, but I can't find the solution for this specific problem.
> In a general way, I wonder how it is possible to remove an engraver
> temporarily?
>
> For this dot_column case, here's the exemple wrote in Elaine Gould's book:
>
> \version "2.19.80"
>
> \score {
>   \relative c' {
> \cadenzaOn
> \omit Staff.TimeSignature
><< { c'2.^"OK" b \bar "|" b4. a } \\
>{ b2. a c4. b } >> \bar "|"
> << { c2. \bar "|" b } \\
>{ b2 a4 a2 g4 } >> \bar "|"
>
> << { *2.^"Not OK" 1. } \\
>{ 2. 4. r 2. } >> \bar "|"
>   }
> }
>
> \score {
>   \relative c' {
> \cadenzaOn
> \omit Staff.TimeSignature
><< { c'2. b^"Not OK" \bar "|" b4. a } \\
>{ b2. a c4. b } >> \bar "|"
> << { c2. \bar "|" b } \\
>{ b2 a4 a2 g4 } >> \bar "|"
>
> << { *2.^"OK" 1. } \\
>{ 2. 4. r 2. } >> \bar "|"
>   }
>   \layout {
> \context {
>   \Staff
>   \remove Dot_column_engraver
> }
> \context {
>   \Voice
>   \consists Dot_column_engraver
> }
>   }
> }
>
> How is it possible to combine those two solutions in a same staff?
> Dot_column.PNG
> 



It's not possible to consist/remove engraver temporarily, but you can
have several named Voices (keep them alive) with and without the
engraver:


\score {
\new Staff \with { \omit TimeSignature }
<<
  \new Voice = "x" \with { \consists Dot_column_engraver } s4*24
  \new Voice = "y" \with { \consists Dot_column_engraver } s4*24
  \new Voice ="z"
\relative c' {
\cadenzaOn
\voiceOne
c'2. b
\bar "|"
b4. a c2.
\bar "|"
b
\bar "|"
\context Voice = "x" {
  \voiceOne
  < b c d >2. 1.
}
c2. b
\bar "|."
}
  \new Voice = "xy"
\relative c' {
\voiceTwo
b'2. a
c4. b b2
\context Voice = "y" {
  \voiceTwo
  a4 a2 g4 < c, d f >2. 4. r 2.
}
b'2. a
}
>>
}


Cheers,
  Harm

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


Re: temporarily disable Dot_column_engraver?

2018-04-18 Thread foxfanfare
Oh yeah, it got mixed with the forum synthax.

\version "2.19.80"

\score {
  \relative c' {
\cadenzaOn
\omit Staff.TimeSignature
   << { c'2.^"OK" b \bar "|" b4. a } \\
   { b2. a c4. b } >> \bar "|"
<< { c2. \bar "|" b } \\
   { b2 a4 a2 g4 } >> \bar "|"

<< { < b c d >2.^"Not OK" 1. } \\
   { < c, d f >2. 4. r 2. } >> \bar "|"
  }
}


  
\score {
  \relative c' {
\cadenzaOn
\omit Staff.TimeSignature
   << { c'2. b^"Not OK" \bar "|" b4. a } \\
   { b2. a c4. b } >> \bar "|"
<< { c2. \bar "|" b } \\
   { b2 a4 a2 g4 } >> \bar "|"

<< { < b c d >2.^"OK" 1. } \\
   { < c, d f >2. 4. r 2. } >> \bar "|"
  }
  \layout {
\context {
  \Staff
  \remove Dot_column_engraver
}
\context {
  \Voice
  \consists Dot_column_engraver
}
  }
}



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: temporarily disable Dot_column_engraver?

2018-04-18 Thread Jacques Menu Muzhic
Hello Fox,

   << { *2.^"Not OK" 1. } \\

prevents your code from compiling on 2.19.80.

JM

> Le 18 avr. 2018 à 13:22, foxfanfare  a écrit :
> 
> This post is old, but I can't find the solution for this specific problem.
> In a general way, I wonder how it is possible to remove an engraver
> temporarily?
> 
> For this dot_column case, here's the exemple wrote in Elaine Gould's book:
> 
> \version "2.19.80"
> 
> \score {
>  \relative c' {
>\cadenzaOn
>\omit Staff.TimeSignature
>   << { c'2.^"OK" b \bar "|" b4. a } \\
>   { b2. a c4. b } >> \bar "|"
><< { c2. \bar "|" b } \\
>   { b2 a4 a2 g4 } >> \bar "|"
> 
><< { *2.^"Not OK" 1. } \\
>   { 2. 4. r 2. } >> \bar "|"
>  }
> }
> 
> \score {
>  \relative c' {
>\cadenzaOn
>\omit Staff.TimeSignature
>   << { c'2. b^"Not OK" \bar "|" b4. a } \\
>   { b2. a c4. b } >> \bar "|"
><< { c2. \bar "|" b } \\
>   { b2 a4 a2 g4 } >> \bar "|"
> 
><< { *2.^"OK" 1. } \\
>   { 2. 4. r 2. } >> \bar "|"
>  }
>  \layout {
>\context {
>  \Staff
>  \remove Dot_column_engraver
>}
>\context {
>  \Voice
>  \consists Dot_column_engraver
>}
>  }
> }
> 
> How is it possible to combine those two solutions in a same staff?
> Dot_column.PNG
>   
> 
> 
> 
> --
> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
> 
> ___
> 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: temporarily disable Dot_column_engraver?

2018-04-18 Thread foxfanfare
This post is old, but I can't find the solution for this specific problem.
In a general way, I wonder how it is possible to remove an engraver
temporarily?

For this dot_column case, here's the exemple wrote in Elaine Gould's book:

\version "2.19.80"

\score {
  \relative c' {
\cadenzaOn
\omit Staff.TimeSignature
   << { c'2.^"OK" b \bar "|" b4. a } \\
   { b2. a c4. b } >> \bar "|"
<< { c2. \bar "|" b } \\
   { b2 a4 a2 g4 } >> \bar "|"

<< { *2.^"Not OK" 1. } \\
   { 2. 4. r 2. } >> \bar "|"
  }
}

\score {
  \relative c' {
\cadenzaOn
\omit Staff.TimeSignature
   << { c'2. b^"Not OK" \bar "|" b4. a } \\
   { b2. a c4. b } >> \bar "|"
<< { c2. \bar "|" b } \\
   { b2 a4 a2 g4 } >> \bar "|"

<< { *2.^"OK" 1. } \\
   { 2. 4. r 2. } >> \bar "|"
  }
  \layout {
\context {
  \Staff
  \remove Dot_column_engraver
}
\context {
  \Voice
  \consists Dot_column_engraver
}
  }
}

How is it possible to combine those two solutions in a same staff?
Dot_column.PNG
  



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: temporarily disable Dot_column_engraver?

2014-06-25 Thread Mark Polesky
Keith OHara wrote:
 Put the small notes in a temporary Voice and give that
 Voice a Dot_column_engraver.

 Having this engraver in both a Voice and Staff is not
 problem here.  You get two DotColumns, but that is what
 you want, and the Dots that are caught by the DotColumn in
 the Voice are not caught again by that in the Staff.

Keith,

Doing as you suggested puts the first dot directly *below*
the note head.  Am I doing something wrong with my code
here?

Thanks
- Mark

\version 2.19.9

\new Staff \with {
} {
  \time 6/8
  \new Voice = main {
\voiceOne

  \context Voice = main { b' c''2. }
  \new Voice = small \with {
\consists Dot_column_engraver
  } {
\voiceTwo
\magnifyMusic 0.63 {
  \repeat tremolo 24 { e'64 g'64 }
}
  }

\context Voice = main {
   c' c''2. \\ f' a'2. 
}
  }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: temporarily disable Dot_column_engraver?

2014-06-25 Thread Keith OHara

On Wed, 25 Jun 2014 10:14:13 -0700, Mark Polesky markpole...@gmail.com wrote:


Keith OHara wrote:

Put the small notes in a temporary Voice and give that
Voice a Dot_column_engraver.

Having this engraver in both a Voice and Staff is not
problem here.  You get two DotColumns, but that is what
you want, and the Dots that are caught by the DotColumn in
the Voice are not caught again by that in the Staff.



Doing as you suggested puts the first dot directly *below*
the note head.  Am I doing something wrong with my code
here?



Oops.  That is not a problem that I suspected and I didn't check carefully 
enough before making my suggestion.  Sorry.

Probably you will want to simply move Dot_column_engraver from Staff to Voice 
in general, so every Voice aligns its own dots.


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


Re: temporarily disable Dot_column_engraver?

2014-06-24 Thread Keith OHara
Mark Polesky markpolesky at gmail.com writes:

 Normally, the dots on dotted notes in different voicesshould be aligned 

The textbooks say we should set dots set independently for each voice
https://code.google.com/p/lilypond/issues/detail?id=2200

But slightly-misaligned dots in some cases drew some complaints, so
LilyPond sets all voices' dots in one column by default.

 Is theresome override to tell LilyPond: In this voice, stop using
 the staff's Dot_column_engraver, and start using the Voice's*own* 
 Dot_column_engraver, which I could then revert when
 I'm done with the small notes?  

Put the small notes in a temporary Voice 
and give that Voice a Dot_column_engraver.

Having this engraver in both a Voice and Staff is not problem here.
You get two DotColumns, but that is what you want, and the Dots that
are caught by the DotColumn in the Voice are not caught again by that
in the Staff.


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