Thanks so much, Andrew--never would have figured that out.
Have a long way to go before I understand the sort of code you provided
so I just experimented with various examples I found that contained the
word "markup" until I got successful compilation. That crude
trial-and-error 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 wrote on 6/23/2018 8:07 AM:
>
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 would automatically ensure that all are at the same
vertical position?
b. Not as important: is there a way to raise/lower any given bar
number independently?
2. Full control over horizontal alignment of bar numbers. I (think
I) want the bar number for the anacrusis to appear just right of the
clef. I found commands that change the object its aligned to, but none
of those positions were satisfactory. How can move it horizontally
exactly where I want it? Not as important: Is the procedure different
for other individual bar numbers?
andrew.bern...@gmail.com wrote on 6/25/2018 4:36 PM:
Hi Steve,
Re point 3:
You can do this:
\once \set Score.barNumberFormatter = #(lambda (bar-number
measure-position alternative-number extra)
(markup "pickup"))
But note that the length of the text in this case is problematic.
Nevertheless, you may find this formatter very adaptable.
Andrew
*From:*lilypond-user
<lilypond-user-bounces+andrew.bernard=gmail....@gnu.org> *On Behalf Of
*Stephen Cummings
*Sent:* Sunday, 24 June 2018 1:08 AM
*To:* lilypond-user@gnu.org
*Subject:* Bar number position and text (especially for anacruses)
3. Changing bar number text. Can I change the text for the anacrusis
bar number to something other than "(1)"? Like "0" or "pickup"?
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user