|
From: | Federico Bruni |
Subject: | Re: how to display a predefined guitar fretboard inside a \markup block |
Date: | Sun, 26 Jan 2014 22:54:36 +0100 |
You could use a \score block within a \markup block like so:On 26.01.2014, at 21:00, Federico Bruni <address@hidden> wrote:There's a way to display a predefined guitar fretboard inside a \markup block?See below an example of a simple leadsheet: I want to display the chord fretboards below the title. I'm defining the fretboards with \fret-diagram commands, but I wonder if I can avoid it and use the definitions in predefined-guitar-fretboards.lyGuitarFretBoards = \markup {
\score { %Begin score for FretBoards
%\layout {\indent = 6\cm}
<<
\new ChordNames {
\set chordChanges = ##t
\chordmode {
c1
a1:m
g1:7
c1:7
f1
} %end chordmode
} %end ChordNames
\new FretBoards {
%\set chordChanges = ##t
\chordmode {
c1
a,1:m
g,1:7
c1:7
f,1
} %end chordmode
} %end FretBoards
>>
} %end score for FretBoards
}
[Prev in Thread] | Current Thread | [Next in Thread] |