Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
examples:graphics_files_as_marks [2016/10/28 17:28]
michael
examples:graphics_files_as_marks [2019/02/12 13:31] (current)
Line 1: Line 1:
 ======graphics files as marks====== ======graphics files as marks======
-If you're generating scores with Lilypond you can [[http://​michael-edwards.org/​sc/​manual/​marks.html#​lp-arbitrary|add arbitrary Lilypond code]] to an event via //​add-mark//​ and related methods. This is useful for all kinds of situations but especially when it comes to adding or modifying marks in a score. ​Sometimes no existing mark expresses what you need so the best thing to do is create your own graphics file and attach that as a mark, using Lilypond code as a //text mark//.*+If you're generating scores with Lilypond you can [[http://​michael-edwards.org/​sc/​manual/​marks.html#​lp-arbitrary|add arbitrary Lilypond code]] to an event via //​add-mark//​ and related methods. This is useful for all kinds of situations but especially when it comes to adding or modifying marks in a score. ​
  
-If you want to attach ​to note/event the [[http://​lilypond.org/​doc/​v2.19/​Documentation/​notation/​graphic|Lilypond code]] ​to create ​a mark out of one of your own postscript graphics, try adding something like the following Lilypond markup code:+Sometimes no existing mark expresses what you need so the best thing to do is create your own graphics file and attach ​that as mark, using [[http://​lilypond.org/​doc/​v2.19/​Documentation/​notation/​graphic|Lilypond code]] ​via //​text ​mark//.* An example follows:
  
 <​code>​ <​code>​
Line 23: Line 23:
 </​code>​ </​code>​
  
-In order for this to work, the graphics file //​blah.eps//​ will of course need to be in a place Lilypond can find it, e.g. in the sample ​directory as the files generated by //​lp-display//​.+In order for this to work, the graphics file //​blah.eps//​ will of course need to be in a place Lilypond can find it, e.g. in the same directory as the files generated by //​lp-display//​.
  
-* [[http://​michael-edwards.org/​sc/​manual/​marks.html#​lp-graphics|Several such graphics files]] are already available as mark extensions to Lilypond. If you want to see how those new marks are created and linked to the graphics files, see the slippery chicken source code file lilypond.ly+* [[http://​michael-edwards.org/​sc/​manual/​marks.html#​lp-graphics|Several such graphics files]] are already available as mark extensions to Lilypond. If you want to see how those new marks are created and linked to the graphics files, see the slippery chicken source code file //lilypond.ly//