]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets.tely
netpbm and fonts are required to run the tests during the binary build; migrate the...
[lilypond.git] / Documentation / snippets.tely
1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
2
3 @setfilename lilypond-snippets.info
4 @settitle LilyPond snippets
5 @documentencoding UTF-8
6 @documentlanguage en
7 @afourpaper
8
9 @dircategory GNU LilyPond --- the music typesetter
10 @direntry
11 * LilyPond Snippets: (lilypond-snippets).         Short tricks, tips, and examples.
12 @end direntry
13
14 @macro manualIntro
15 This document shows a selected set of LilyPond snippets from the
16 @uref{http://lsr@/.dsi@/.unimi@/.it,LilyPond Snippet Repository}
17 (LSR).  It is in the public domain.
18
19 We would like to address many thanks to Sebastiano Vigna for maintaining
20 LSR web site and database, and the University of Milano for hosting LSR.
21
22 Please note that this document is not an exact subset of LSR: some
23 snippets come from @file{input/new} LilyPond sources directory, and
24 snippets from LSR are converted through @command{convert-ly}, as LSR is
25 based on a stable LilyPond version, and this document is for
26 version @version{}.
27
28 Snippets are grouped by tags; tags listed in the table of contents match
29 a section of LilyPond notation manual.  Snippets may have several tags,
30 and not all LSR tags may appear in this document.
31
32 In the HTML version of this document, you can click on the file name
33 or figure for each example to see the corresponding input file.
34
35 @end macro
36
37 @macro copyrightDeclare
38 Copyright @copyright{}
39 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
40 by the authors.
41 @end macro
42
43 @c This disables @lydoctitle definition in common-macros.itexi
44 @set snippets-sections
45
46 @include macros.itexi
47
48 @ifnothtml
49 @macro nodeprefix{PRE}
50 @end macro
51 @macro lydoctitle{TEXT}
52 @unnumberedsec \TEXT\
53 @end macro
54 @end ifnothtml
55
56 @ifhtml
57 @macro nodeprefix{PRE}
58 @unmacro lydoctitle
59 @macro lydoctitle{TEXT}
60 @node \PRE\: \\TEXT\\
61 @unnumberedsec \\TEXT\\
62 @end macro
63 @end macro
64 @end ifhtml
65
66
67 @lilyTitlePage{Snippets}
68
69
70 @c maybe generate/update @menu and @includes automatically? --jm
71 @ifnottex
72 @menu
73 Musical notation
74 * Pitches::
75 * Rhythms::
76 * Expressive marks::
77 * Repeats::
78 * Simultaneous notes::
79 * Staff notation::
80 * Editorial annotations::
81 * Text::
82
83 Specialist notation
84 * Vocal music::
85 * Chords::
86 * Keyboards::
87 * Percussion::
88 * Fretted strings::
89 * Unfretted strings::
90 * Winds::
91 * Ancient notation::
92 * World music::
93
94 Other collections
95 * Contexts and engravers::
96 * Tweaks and overrides::
97 * Paper and layout::
98 * Titles::
99 * Spacing::
100 * MIDI::
101 * Templates::
102 @end menu
103
104 @docMain
105 @end ifnottex
106
107 @contents
108
109 @allowcodebreaks false
110
111 @c Please take care of naming every .itely
112 @c with an existing tag name.
113
114 @include pitches.itely
115 @include rhythms.itely
116 @include expressive-marks.itely
117 @include repeats.itely
118 @include simultaneous-notes.itely
119 @include staff-notation.itely
120 @include editorial-annotations.itely
121 @include text.itely
122
123 @include vocal-music.itely
124 @include chords.itely
125 @include keyboards.itely
126 @include percussion.itely
127 @include fretted-strings.itely
128 @include unfretted-strings.itely
129 @include winds.itely
130 @include ancient-notation.itely
131 @include world-music.itely
132
133 @include contexts-and-engravers.itely
134 @include tweaks-and-overrides.itely
135 @include paper-and-layout.itely
136 @include titles.itely
137 @include spacing.itely
138 @include midi.itely
139 @include template.itely
140
141 @bye