lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie chord alignment question


From: Naveen Santhanam
Subject: Newbie chord alignment question
Date: Mon, 18 Aug 2008 19:28:31 -0700 (PDT)

Hello,

I am new user to this wonderful program. I have quick question about chord 
alignment. I would like to align the chord names to the left (i.e, near the 
bar). The .ly file I wrote (see below) prints the chord names at the center of 
each measure along the X. 

Thanks in advance


\version "2.10.33"

    \header {
      title = "Work"
      composer = "Me"
      opus = "Op. 1"
    }

    \paper {
      #(define dump-extents #t)
      
      indent = 0\mm
      line-width = 160\mm
      force-assignment = #""
      line-width = #(- line-width (* mm  3.000000))
    }
%************************************************************
    melody = {
        \override Score.MetronomeMark #'padding = #10
        \tempo 4=120
        \clef treble
        \key e \major
        \time 4/4
        \relative c' {
            \partial 8*2 e8  e8 | 
            e4. e4 e4 eis8 |  
            eis2  r8 r16 e,8. e8 |
        } 
    }


%************************************************************
    harmonies ={ 
        \key e \major
        \chordmode { 

                e1
                e1 
                e1
         }
    } 
    text = \lyricmode {
         Eee8  ee8 ee4. -- ee4 ee4 ee4 -- ee4 
     }
         
% ****************************************************************
% Score - layout
\score {

    <<
        \new ChordNames { 
        \harmonies
        }

        \new Voice = "flute" {
        \melody
        }

        \new Lyrics \lyricsto flute \text
    >>

    \layout {
        }
}


      




reply via email to

[Prev in Thread] Current Thread [Next in Thread]