[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: Fret Diagrams in Open Office Writer
From: Klaus Blum <BenBigNoise () gmx ! de>
Date: 2015-07-25 17:43:08
Message-ID: 1437846188648-179073.post () n5 ! nabble ! com
[Download RAW message or body]
Hi Socrates,
in the OOoLilyPond Window, select the template named "Fret Board" as
mentioned by Michael.
Now you can simply enter
d
and you get a standard D major chord.
If you want to want to use your own diagrams, you should use the "Direct to
LilyPond" template and enter:
% --------------------------------------------------------
\include "lilypond-book-preamble.ly"
\paper {
#(define dump-extents #t)
ragged-right = ##t
line-width = 17\cm
}
\layout {
indent = #0
\context {
\Score
\remove "Bar_number_engraver"
}
}
\version "2.18.2"
\markup \fret-diagram #"s:3;6-x;5-x;4-o;3-2;2-3;1-2;"
% --------------------------------------------------------
A possible template for your needs could look like that:
% --------------------------------------------------------
\include "lilypond-book-preamble.ly"
#(set-global-staff-size %{OOoLilyPondStaffSize%}10%{OOoLilyPondEnd%})
\paper {
#(define dump-extents #t)
ragged-right = ##t
line-width = %{OOoLilyPondLineWidth%}17\cm%{OOoLilyPondEnd%}
}
\layout {
indent = #0
\context {
\Score
\remove "Bar_number_engraver"
}
}
%{OOoLilyPondCode%}
\version "2.18.2"
\markup \fret-diagram #"s:3;6-x;5-x;4-o;3-2;2-3;1-2;"
%{OOoLilyPondEnd%}
% --------------------------------------------------------
You can save this as a new file "Fret-Diagram.ly" and place it in your
templates folder.
To find the template folder, click the "Config" button in the OOoLilyPond
window and see "Template Path:"
Cheers,
Klaus
Fret-Diagram.ly
<http://lilypond.1069038.n5.nabble.com/file/n179073/Fret-Diagram.ly>
--
View this message in context: \
http://lilypond.1069038.n5.nabble.com/Fret-Diagrams-in-Open-Office-Writer-tp179068p179073.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic