----- Original Message ----- From: "mj" <li...@merit.unu.edu>
To: <lilypond-user@gnu.org>
Sent: Tuesday, April 05, 2016 2:43 PM
Subject: two beginners questions


Hi,

Just trying out lilypond. I have created my first file, using the "new from template" function of frescobaldi.

I am trying to alter two things:

- make chord names display smaller
and
- get the correct fret guitar diagrams, like the ones shown in the docs here:
http://lilypond.org/doc/v2.19/Documentation/notation/predefined-fretboard-diagrams#diagrams-for-guitar

(because all my fret diagrams seem to display wrong....)

Below is my .ly file.

Tips or trics..? Thanks in advance!

\version "2.19.2"

\header {
  title = ""
}

global = {
  \time 6/8
  \key e \minor
}

chordNames = \chordmode {
  \global
e4.:m b:m | e:m b:m | e:m d | g g | g d | e:m b:m | e:m b:m | e:m e:m

}

melody = \relative e' {
  \global
  e4 g8 fis4. | e4 g8 fis4. | b4 b8 a8 d4 | b4.~ b4. |
d4 b8 a4 b8 | g8. b16 a g fis4 d8 | e8. fis16 g a b4 g8 | e4. e'4. \bar "|."

}

\score {
<<
    \new ChordNames \chordNames
    \new FretBoards \chordNames
     \new Staff { \melody }
  >>

\layout {
  \context {
    \Score
    \remove "Bar_number_engraver"
      }
}
}

To get guitar fretboards, add

\include "predefined-guitar-fretboards.ly"

at the top of your file.  One way to make the chordnames smaller is to add:

\context { \ChordNames
 \override ChordName #'font-size = #-1
}

to your layout block.

--
Phil Holmes




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

Reply via email to