Re: Grid lines, GDP- need some help

2008-02-21 Thread Mark Knoop

On Sun, 17 Feb 2008 06:07:14 -0800
"Jay Hamilton" <[EMAIL PROTECTED]> wrote:


I'm working on section 1.7 for GDP, and nearly done with 1st pass.
I've come to the grid lines section 1.7.2.2 and need help
understanding the code so I can explain it because there's too much
there that is not explained.

Does anyone have an example with
%here's why this is here
annotations that you could send me?


How's this:

\layout {
  \context {
\Staff
\consists "Grid_point_engraver" %% sets of grid
% this sets the grid interval to 1 quarternote (crotchet)
gridInterval = #(ly:make-moment 1 4)
  }
}

\new Score \with {
  \consists "Grid_line_span_engraver"
  %% centers grid lines  horizontally below note heads
  % by default the grid lines are aligned with the
  % left side of the notehead
  % this moves them to the right half a staff space
  \override NoteColumn #'X-offset = #-0.5
}

\new ChoirStaff <<
  \new Staff {
\stemUp
\relative {
  c'4. d8 e8 f g4
}
  }
  \new Staff {
%% centers grid lines  vertically
% by default the grid lines join the middle line of each staff
% this moves them up one staff space
\override Score.GridLine #'extra-offset = #'( 0.0 . 1.0 )
\stemDown
\clef bass
\relative c {
  c4  g'  f  e
}
  }
>>
--
Mark Knoop


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


Re: Grid lines, GDP- need some help

2008-02-20 Thread Graham Percival
Reminder: about a month and a half ago, some people discussed
being "GDP consultants" -- people who aren't working directly
on the documentation, but who would help with specific questions.

This is exactly the kind of that we need your help for.  If you've
never used grid lines before, you can still investigate -- if
you're a moderately skilled user, you can probably figure it out
in 10 or 15 minutes of experimentation, and this lets Jay work
on the other parts of that doc section.

Cheers,
- Graham


On Sun, 17 Feb 2008 06:07:14 -0800
"Jay Hamilton" <[EMAIL PROTECTED]> wrote:

> I'm working on section 1.7 for GDP, and nearly done with 1st pass.
> I've come to the grid lines section 1.7.2.2 and need help
> understanding the code so I can explain it because there's too much
> there that is not explained.
> 
> Does anyone have an example with
> %here's why this is here
> annotations that you could send me?
> 
> Thanks
> 
> 
> 
> Yours-
> Jay
> 
> Jay Hamilton
> www.soundand.com
> 206-328-7694
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user


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