On 09.11.2015 23:01, Jacques Menu wrote:
Hello folks,

How about:

\relative c'' {
   \override Staff.NoteHead.style = #'slash
   \hide Staff.Stem
   \repeat unfold 4 { \tweak staff-position #-0.5 c4 }
}

Which doesn’t deal with transpositions. That’s what the Pitch_squash_engraver and \improvisationOn is for…

Yours, Simon


JM

Le 9 nov. 2015 à 22:46, Simon Albrecht <[email protected]> a écrit :

Hello Peter,

now the problem is clear. That’s what the Pitch_squash_engraver, used in the 
example from the Notation Reference, is for: it moves all the notes to the 
center of the staff, regardless of their pitch. So all you need to do is insert 
the following into your file on top level:

\layout {
  \context {
    \Voice
    \consists "Pitch_squash_engraver"
  }
}

(or add the \consists command to a layout block you already have)
and it’ll be fine.

Yours, Simon

On 09.11.2015 22:29, Peter Berlau wrote:
Hello Simon,

Thanks for Help,
here is the code, sorry for length, but if You scroll pdf-output in
viewer You will immediateley know what I mean.


%%%%%%%%%%%%%%%
\version "2.18.2"



\header {
         title = "Subterranean Homesick Alien"
         composer = "Thomas Yorke"
}

melody = \relative c' {
         \time 3/4
          \key c \major
\improvisationOn

\omit Stem
{
b'4 b b b b b b b b b b b
}

\undo \omit Stem
b4. b b b  % given rhythm stems needed here

\improvisationOff
\break

}
%
changes = \chords {
                c1.:maj7
                c1.:maj7
                c1.:maj7
                
   }

\bookpart {
   <<
     \changes
     \new Staff \melody
     \set Staff.instrumentName = #"C"
   >>
}


\bookpart {
         \transpose bes c'
   <<
     \changes
     \new Staff { \melody }
     \set Staff.instrumentName = #"Bb"
   >>
}


\bookpart {
         \transpose es c'
   <<
     \changes
     \new Staff \melody
     \set Staff.instrumentName = #"Eb"
   >>
}


\bookpart {
         \transpose c c,
   <<
     \changes
     \new Staff  \melody \clef bass
     \set Staff.instrumentName = #"bs"
   >>
}

\version "2.18.2"


%%%%%%%%%%%%%%%


Am Montag, den 09.11.2015, 21:42 +0100 schrieb Simon Albrecht:
On 09.11.2015 21:38, Peter Berlau wrote:
Hello Simon, hello All!


a part of my problem is solved
i using now

\omit Stem
b4 b b b
\undo \omit Stem

with the '/' as notehead

But in tramspostion
in Bb   b = 'cis'
in Es   b = 'gis'
thats pretty ugly...
Could you please post a (small, complete and compilable) code example,
eventually with output, of what’s ugly?

Thanks, Simon

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to