Include guards

2009-04-11 Thread gnomino
Hi, Is there any way to put include guards in .ly files, to ensure that each file is included only once? If not, then is there any way to simulate include guards using Scheme? In particular, is there a Scheme function that does the equivalent of \include? Thanks in advance.

Pedal problem

2009-05-15 Thread gnomino
not top-posting Hello, I'm trying to typeset two staves with different rhythms and pedalling that starts/stops on the notes in the top staff, but appears below the second staff. I tried the following: \new PianoStaff \new Staff { c'4 c'4 c'4 c'4 } \new

Custom articulations/pitched single-note trills

2008-12-20 Thread gnomino
Hi, I'm trying to typeset pitched single-note trills. Since \pitchedTrill only works for trill spanners, I have resorted to using the following: trillFlat = -\markup { \vcenter { \musicglyph #scripts.trill \smaller \flat }} \relative { c'\trillFlat c\trill c\trillFlat c\trill } Unfortunately

Re: Custom articulations/pitched single-note trills

2008-12-21 Thread gnomino
I'm not top posting Thanks for your help. I was just wondering, is there any reason that \pitchedTrill only works with trill spanners? I soon discovered that I needed to typeset pitched mordents in addition to pitched trills, and since it would be tedious to create a set of \artSharp,

\score blocks in included files

2006-12-27 Thread gnomino
Hello, I'm typesetting instrumental music, and am trying to produce one file for each instrument, and one file for the conductor's score (for which the input file includes all the other input files). I put the music for each instrument into a separate file, and intend to run lilypond on each

layout-set-staff-size units

2006-12-28 Thread gnomino
Hello, What are the units of #(layout-set-staff-size)? The documentation (11.2.1) suggests that the units are points, like #(set-global-staff-size), but the results are that note heads end up being more than twice as big. Also, putting the command in a \layout block (as in the doc example)

Re: layout-set-staff-size units

2007-01-01 Thread gnomino
Mats Bengtsson wrote: It did work last time I tried it. Could you please include a small example that illustrates what you tried. The following does not work (everything except for lines are too big): \score { \relative c'' { \clef treble \key c \major