| 1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2 |
% % |
| 3 |
% This file is part of the 'lilyglyphs' LaTeX package. % |
| 4 |
% ========== % |
| 5 |
% % |
| 6 |
% https://github.com/openlilylib/lilyglyphs % |
| 7 |
% http://www.openlilylib.org/lilyglyphs % |
| 8 |
% % |
| 9 |
% Copyright 2012-2020 Urs Liska and others, [email protected] % |
| 10 |
% % |
| 11 |
% 'lilyglyphs' is free software: you can redistribute it and/or modify % |
| 12 |
% it under the terms of the LaTeX Project Public License, either % |
| 13 |
% version 1.3 of this license or (at your option) any later version. % |
| 14 |
% You may find the latest version of this license at % |
| 15 |
% http://www.latex-project.org/lppl.txt % |
| 16 |
% more information on % |
| 17 |
% http://latex-project.org/lppl/ % |
| 18 |
% and version 1.3 or later is part of all distributions of LaTeX % |
| 19 |
% version 2005/12/01 or later. % |
| 20 |
% % |
| 21 |
% This work has the LPPL maintenance status 'maintained'. % |
| 22 |
% The Current Maintainer of this work is Urs Liska (see above). % |
| 23 |
% % |
| 24 |
% This work consists of the files listed in the file 'manifest.txt' % |
| 25 |
% which can be found in the 'license' directory. % |
| 26 |
% % |
| 27 |
% This program is distributed in the hope that it will be useful, % |
| 28 |
% but WITHOUT ANY WARRANTY; without even the implied warranty of % |
| 29 |
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % |
| 30 |
% % |
| 31 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 32 |
|
| 33 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 34 |
% This file defines a set of glyphs to be compiled in LilyPond % |
| 35 |
% % |
| 36 |
% EXAMPLE % |
| 37 |
% % |
| 38 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 39 |
|
| 40 |
\version "2.17.5" |
| 41 |
|
| 42 |
%{ template for a single entry |
| 43 |
replace 'EXAMPLE_...' by actual content %} |
| 44 |
|
| 45 |
%%lilyglyphs |
| 46 |
% example of a fancy notation |
| 47 |
lilyFancyExample = \relative e' { |
| 48 |
\override NoteHead.transparent = ##t |
| 49 |
\override Stem #'length = #4 |
| 50 |
\override Stem #'thickness = #1.6 |
| 51 |
e4-.( e-. e-. e-.) \glissando |
| 52 |
s4 \stemDown a4 \laissezVibrer |
| 53 |
} |
| 54 |
|
| 55 |
\markup { lilyFancyExample } |
| 56 |
symbol = \fancyExample |
| 57 |
\include "score.ily" |
| 58 |
|
| 59 |
% Example ends here |
| 60 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 61 |
|