Hi,

How about simply draw lines?

E.g.:

\version "2.18.2"

{
  \override Staff.Clef.stencil = ##f
  \once\override Staff.TimeSignature.transparent = ##t
  \time 1/8
  a''8
  -\tweak style #'trill
  \glissando
  \time 3/16
  a16
   -\markup
    \with-dimensions #'(0 . 0) #'(1 . 0) {
      \combine
      \draw-line #'(-8 . 5.9)
      \draw-line #'(-8 . 4.5)
    }
  s
}


Cheers,
Pierre

2015-06-02 1:37 GMT+02:00 David G <castle.cub...@gmail.com>:

> Thanks for your help both.
>
> In fact I've typeset them as two normal glissando lines rather than
> rotating the hairpin - it's a bit of a hack but I think it's less fiddly
> than the rotation property - if the layout changes at all I would have to
> modify all the rotation tweaks by hand if I did it that way.
>
> With my code the lines are drawn directly to invisible notes and therefore
> are reasonably resilient to changes. If anyone would like to see a snippet
> let me know and I'll clean it up to post it!
>
> On 27 May 2015 at 07:19, Nick Payne <nick.pa...@internode.on.net> wrote:
>
>>  On 26/05/2015 20:17, Jacques Menu wrote:
>>
>> Hello David,
>>
>>  Maybe this snippet can help you :
>>
>>  http://lsr.di.unimi.it/LSR/Item?id=562
>>
>>  JM
>>
>>  Le 26 mai 2015 à 08:53, David G <castle.cub...@gmail.com> a écrit :
>>
>>     Hello all,
>>
>>  Does anyone have any tips for achieving the effect in the attached image?
>>
>> <image.png>
>>
>>  Effectively I want to make it automatically parallel to the glissando -
>> there are two or three in the piece I'm engraving.
>>
>>
>> Hairpins have a rotation property. Here's an example of rotating a
>> hairpin 20 degrees anti-clockwise. The second and third parameters specify
>> the point about which the rotation occurs, with zero for both values being
>> rotation about the centre of the hairpin.
>>
>> <f d>16-\tweak rotation #'(20 0 0)^\<
>>
>> Nick
>>
>> _______________________________________________
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to