Re: Scheme function to return pitchnames as markup/text

2019-11-27 Thread Stephen Cummings
p wrote on 11/20/2019 3:40 AM: Stephen Cummings writes: . I would be skeptical anyway that \displayLilyMusic would be the best approach for your purpose but I did want to point out that catching output in a string is always an option in Scheme's port model. David Kastrup wrote on 11

Re: Scheme function to return pitchnames as markup/text

2019-11-19 Thread Stephen Cummings
t; add to output string -> loop; then return the string. Sure helps to know that pitch-notename returns a number. David Kastrup wrote on 11/19/2019 3:43 PM: Stephen Cummings writes: Am I missing a basic LilyPond command/directive--something built-in that takes music as input and returns n

Re: Scheme function to return pitchnames as markup/text

2019-11-19 Thread Stephen Cummings
Am I missing a basic LilyPond command/directive--something built-in that takes music as input and returns note names as text? Such a functionality would seem to be useful in all kinds of annotations/quotations. I know about \displayMusic but its output only goes to the console/output stream

Re: Bar number position and text (especially for anacruses)

2018-06-26 Thread Stephen Cummings
or gave me a working adaptation that shrinks the text so that it more or less fits: ... (markup #:tiny #:italic"pickup")) and I now see how markups in lambda functions or whatever they're called can be formatted. Anyone with suggestions for points 1 and 2? Stephen Cummings wro

Fix or workaround for spacing problems in SVG output?

2018-06-23 Thread Stephen Cummings
My project requires SVG rather than PDF output but LP 2.19 gives unexpected, unacceptable results in the spacing of some elements. The PDF for the code below looks fine. In the SVG, not only does the tempo mark print on top of the first two bar numbers but the spacing of text in the tempo mark

Bar number position and text (especially for anacruses)

2018-06-23 Thread Stephen Cummings
With code below as reference, please help me with: 1. Vertical alignment/positioning of  bar numbers. In the output the parenthetical bar number for the anacrusis is higher than the remaining bar numbers.     a. How can I lower it, and how can I raise the others? Are there commands that