]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/macros.itexi
(Which properties to
[lilypond.git] / Documentation / user / macros.itexi
1 @c -*-texinfo-*-
2
3 @tex
4 \input feta20.tex
5 \font\fetasixteen=feta16
6 \def\fetafont{\fetasixteen}
7 \def\fetachar#1{\hbox{\fetasixteen#1}}
8 @end tex
9
10 @c Reference GLOSsary
11 @macro rglos {NAME}
12 @ifhtml
13 @c ugh: @ref assumes that external refs are split documents too
14 @html
15 <a style="text-decoration: none; color: inherit;" href="../music-glossary.html#\NAME\">\NAME\</a>@c
16 @end html
17 @end ifhtml
18 @ifnothtml
19 \NAME\@c
20 @end ifnothtml
21 @end macro
22
23
24 @ifnottex
25 @macro texisharp {word}
26 #
27 @end macro
28 @end ifnottex
29
30 @iftex
31 @macro texisharp {word}
32 @tex
33 \\raise0.5ex\\fetachar\\fetasharp
34 @end tex
35 @end macro
36 @end iftex
37
38 @ifnottex
39 @macro texiflat {word}
40 b
41 @end macro
42 @end ifnottex
43
44 @iftex
45 @macro texiflat {word}
46 @tex
47 \\kern0.15em\\fetachar\\fetaflat
48 @end tex
49 @end macro
50 @end iftex
51
52 @macro arrow{}
53 @iftex
54 @tex $\\Rightarrow$ @end tex@c
55 @end iftex
56 @ifhtml
57 @html
58 &rarr;
59 @end html
60 @end ifhtml
61 @ifinfo
62 -->
63 @end ifinfo
64 @end macro
65
66
67
68
69 @iftex
70 @macro separate 
71 @c I want some space over here,  not silly characters.
72 @tex
73 @end tex
74 @end macro
75 @end iftex
76
77 @c \heartsf was supposed to be filled?
78
79 @c center*** is broken?
80
81 @ifinfo
82 @macro separate
83
84 @quotation
85 @end quotation
86 @end macro
87 @end ifinfo
88
89 @ifhtml
90 @macro separate
91 @html
92 <p></p><br><br>
93 @end html
94 @end macro
95 @end ifhtml
96
97
98 @c dup?
99 @ifhtml
100 @macro internalsref{NAME}
101 @uref{../lilypond-internals/\NAME\.html,\NAME\}@c
102 @cindex \NAME\@c
103 @end macro
104
105
106
107 @macro inputfileref{DIR,NAME}
108 @uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
109 @end macro
110
111 @end ifhtml
112
113 @ifinfo
114 @macro internalsref{NAME}
115 @inforef{\NAME\,,lilypond/lilypond-internals}@c
116 @cindex \NAME\@c
117 @end macro
118
119 @macro inputfileref{DIR,NAME}
120 @file{\DIR\/\NAME\}
121 @end macro
122
123 @end ifinfo
124
125 @iftex
126 @macro internalsref{NAME}@c
127 @cindex \NAME\@c
128 @code{\NAME\}@c
129 @end macro
130 @macro inputfileref{DIR,NAME}@c
131 @file{\DIR\/\NAME\}@c
132 @end macro
133 @end iftex
134
135
136 @iftex
137 @macro seeinternals{NAME}
138 internals document,  @internalsref{\NAME\}
139 @end macro
140 @end iftex
141
142 @ifnottex
143 @macro seeinternals{NAME}
144 @internalsref{\NAME\}
145 @end macro
146 @end ifnottex
147
148 @ifinfo
149 @macro usermanref{NAME}
150 @ref{\NAME\,,,lilypond/lilypond}@c
151 @end macro
152 @end ifinfo
153
154 @ifnotinfo
155 @macro usermanref{NAME}
156 @ref{\NAME\}@c
157 @end macro
158 @end ifnotinfo
159
160 @macro refbugs
161 @noindent
162 @subsubheading Bugs
163
164 @end macro
165
166 @macro seealso
167 @noindent
168 @subsubheading See also
169
170 @end macro
171
172 @macro refcommands
173 @noindent
174 @subsubheading Predefined commands
175
176 @end macro
177
178 @macro context{NAME}@c
179 @code{\NAME\}@c should use internalsref
180 @cindex \NAME\@c
181 @end macro
182
183
184
185
186 @c
187 @c ARGGGHHHHH! I want
188 @c @cindex @code{@backslash\WHAT\}
189 @c how do I do that?
190 @c   --hwn
191
192 @macro refcommand{WHAT}
193 @cindex @code{\WHAT\}
194 @code{\WHAT\}, 
195 @end macro