help-gnu-music
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text questions


From: Mats Bengtsson
Subject: Re: text questions
Date: Mon, 23 Apr 2001 17:51:27 +0200

> > > Rune, there are many "reasonable" things I could have tried, and none
> > > seemed more likely to work than another.
> > 
> > Whoops, I wasn't attacking you in any way (just scroll half a year
> > back and read some of my first postings :-) ) - I was just
> > surprised.
> 
> Oh, I didn't think you were.  I just wanted to supply the reasoning
> behind my lily usage.  I wanted to do this partly to make the case
> that I'm not an idiot, and partly to make the case that using lily
> effectively requires understanding a lot of the concepts left to the
> "internals" part of the documentation.  :)

The basic concepts of contexts, grobs, properties, engravers and 
so on should belong to the main part of the reference manual and 
do so, to a certain extent, today. The documentation of each specific
grob and property is in the automatically generated appendix which
is mroe OK, since it's not a matter of basic understanding but rather 
on looking up details.

> > The easy solution, ofcourse (the one, I use) is to add spaces to the
> > end. use "Keyboard " instead of "Keyboard".
> 
> i'm actually using a rotated instrument name:
> 
>   \property PianoStaff.instrument = "\\rotatebox[origin=c]{90}{Keyboard}"
> 
> so, extra spaces wouldn't do much.

Try it, it should work. The reason is that Lilypond tries to estimate
the length of each text, which is almost impossible when you use
embedded TeX commands. Anyway, if you add zeros at the end of the
string, you fool Lilypond into thinking that the string is longer and
should be started further to the left to fit.

    /Mats





reply via email to

[Prev in Thread] Current Thread [Next in Thread]