2017-02-15 21:06 GMT+01:00 Urs Liska :
> Hi all,
>
> is it really true that the text of the OttavaBracket can't be
> customized? All I could find was the doc snippet
> http://lilypond.org/doc/v2.19/Documentation/snippets/text#text-ottava-text
> which suggests to manually set Staff.ottavation after
Hi,
as I got quite a few similar responses I'll reply at once.
All the suggestions that manually set Staff.ottavation don't work
because I want something that can be defined in a stylesheet without the
user having to change the music content (by manually setting the ottava
text for each case).
S
Hi,
Am 15.02.2017 um 23:44 schrieb tisimst:
> \set Staff.ottavation =
That's what the code does, I posted before. It just does it depending on
the ottavation. It does these two things:
#(make-music 'OttavaMusic 'ottava-number octave)% = \ottava
\set Staff.ottavation = ...
iew this message in context:
http://lilypond.1069038.n5.nabble.com/Customizing-ottava-text-tp200163p200172.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Hi Urs,
yes, I think you can't set the text. But you can redefine the \ottava
function and still use the Staff.ottavation to do the work behind the
scenes.
Here is my ottava function. It is extended to more than 2 octaves and
has a custom text. I always wanted a true dotted line (round dots), but
Am 15.02.2017 um 21:55 schrieb Kieren MacMillan:
> Hi Urs,
>
>> is it really true that the text of the OttavaBracket can't be customized?
> \version "2.19.48"
> \language "english"
>
> ottTest =
> \once \override Staff.OttavaBracket.before-line-breaking =
> #(lambda (grob) (ly:grob-set-proper
Hi Urs,
> is it really true that the text of the OttavaBracket can't be customized?
\version "2.19.48"
\language "english"
ottTest =
\once \override Staff.OttavaBracket.before-line-breaking =
#(lambda (grob) (ly:grob-set-property! grob 'text "testing"))
{ \ottTest \ottava #1 c'' }
> I can
Hi all,
is it really true that the text of the OttavaBracket can't be
customized? All I could find was the doc snippet
http://lilypond.org/doc/v2.19/Documentation/snippets/text#text-ottava-text
which suggests to manually set Staff.ottavation after the \ottava command.
With this I created a functi