lilypond-user
[Top][All Lists]
Advanced

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

Re: Vertically overlapping material / too small vertical space


From: David Kastrup
Subject: Re: Vertically overlapping material / too small vertical space
Date: Wed, 30 Nov 2016 20:14:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Mojca Miklavec <address@hidden> writes:

> Dear Phil,
>
> On 30 November 2016 at 16:47, Phil Holmes wrote:
>> I think the use of  \context is getting the vertical spacing engine
>> confused.  I _think_ my attached version of your music does what you want -
>> it would seem to point in the right direction, at the very least.
>
> I changed your document slightly and rearranged it in the way I want it.
>
> But the problem is still present. So no, it doesn't seem to fix it.
>
>
> I need a horizontally aligned list of button labels / fingerings. Most
> of the time I need two labels, but every so often I need three or four
> (when a chord consists of three or four pitches).
>
> I would prefer to use something like the following (please excuse me,
> the syntax is not functional, but it should demonstrate what I want):
>
>     <f-\x{"B4"} a-\x{"B5"}>4
>     <f-\x{"B4"} a-\x{"B5"} c'-\x{"B6"}>4
>
> Here's a working syntax (demonstrating the problem / why I cannot use it):
>
>   \score {
>     \fixed c' {
>       %
>       % looks almost perfect, but I'm unable to use anything but simple 
> numbers
>       %
>       f4-4 <f-4 a-5> <f-4 a-5 c'-6> f-4
>       %
>       % proper text, but horrible output
>       %
>       f4^\markup{\column{"B4"}}
>       <f a>^\markup{\column{"B5" "B4"}}
>       <f a c'>^\markup{\column{"B6" "B5" "B4"}}
>       f^\markup{\column{"B4"}}
>     }
>   }

How about

B =
#(define-event-function (parser location d) (index?)
  #{ \tweak text #(format "B~d" d) -1#})

  \score {
    \fixed c' {
      %
      % looks almost perfect, but I'm unable to use anything but simple numbers
      %
      f4-4 <f-4 a-5> <f-4 a-5 c'-6> f-4
      %
      % proper text, but horrible output
      %
      f4^\markup{\column{"B4"}}
      <f a>^\markup{\column{"B5" "B4"}}
      <f a c'>^\markup{\column{"B6" "B5" "B4"}}
      f^\markup{\column{"B4"}}
      %%
      %% sugar and spice and everything nice
      %%
      f4\B4
      <f\B4 a\B5>
      <f\B4 a\B5 c'\B6> f\B4
      f\B4
    }
  }
You'll probably want more than \B but probably still a very limited
number of fingerings.

-- 
David Kastrup

reply via email to

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