Agreed! Very nice looking score. I love the flexibility of this program!
Well done, everyone!
- Abraham
On Fri, Apr 3, 2015 at 1:47 PM, Schneidy [via Lilypond] <
ml-node+s1069038n174021...@n5.nabble.com> wrote:
> Glad to hear, nice output!
> Cheers,
> Pierre
>
> 2015-04-03 16:00 GMT+02:00 James Worlton <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=174021&i=0>>:
>
>> Just to follow up: Using Pierre's myArrow and myGridLinesBis code, I am
>> able to produce the image in the result which is exactly what I was looking
>> for. Thanks again! LilyPond rocks, as do the geniuses that come up with
>> solutions to strange requests!
>>
>> James Worlton
>>
>> On Fri, Apr 3, 2015 at 7:36 AM, James Worlton <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=174021&i=1>> wrote:
>>
>>> Thank you, Pierre. This looks like it will work!
>>>
>>> James W
>>>
>>> On Fri, Apr 3, 2015 at 3:09 AM, Pierre Perol-Schneider <[hidden email]
>>> <http:///user/SendEmail.jtp?type=node&node=174021&i=2>> wrote:
>>>
>>>> Hi James,
>>>>
>>>> I'm not sure about that advantages of using grid lines.
>>>> How about something like:
>>>>
>>>> \version "2.19.17"
>>>>
>>>> musicA = {
>>>> c'4 c' c' c'
>>>> }
>>>>
>>>> musicB = {
>>>> b4 b b c'''
>>>> }
>>>>
>>>> verticalLine = ^\markup {
>>>> %% to cross staves simply add:
>>>> \with-dimensions #'(0 . 0) #'(0 . 0)
>>>> \center-column {
>>>> \arrow-head #Y #UP ##t
>>>> \draw-dashed-line #'(0 . 10)
>>>> }
>>>> }
>>>>
>>>> myArrow = #(define-music-function (parser location arg-arrow) (number?)
>>>> #{
>>>> -\markup {
>>>> %% to cross staves simply add:
>>>> \with-dimensions #'(0 . 0) #'(0 . 0)
>>>> \center-column {
>>>> \arrow-head #Y #UP ##t
>>>> \draw-dashed-line #`(0 . ,arg-arrow)
>>>> }
>>>> }
>>>> #})
>>>>
>>>> myGridLines = {
>>>> s4\verticalLine s s s\verticalLine
>>>> }
>>>>
>>>> myGridLinesBis = {
>>>> s4^\myArrow 10 s s s^\myArrow 7
>>>> }
>>>>
>>>> <<
>>>> \new Staff \musicA
>>>> \new Dynamics \myGridLines
>>>> \new Staff { s1 }
>>>> \new Staff \musicB
>>>> >>
>>>>
>>>> <<
>>>> \new Staff \musicA
>>>> \new Dynamics \myGridLinesBis
>>>> \new Staff { s1 }
>>>> \new Staff \musicB
>>>> >>
>>>>
>>>> Hope that helps,
>>>>
>>>> Cheers,
>>>> Pierre
>>>>
>>>> 2015-04-03 4:50 GMT+02:00 James Worlton <[hidden email]
>>>> <http:///user/SendEmail.jtp?type=node&node=174021&i=3>>:
>>>>
>>>>> Hello,
>>>>>
>>>>> In my score I have a section where I need a line from one part to
>>>>> cross other staves and point to another part. I've been able to adapt
>>>>> GridLine to appear when I need it, but I'd like to change the appearance:
>>>>> specifically, make the line dashed and add an arrow at the top. I do not
>>>>> need this in the parts, it is mainly for the conductor's reference. The
>>>>> parts will be cued another way.
>>>>>
>>>>> The code below combines the two possibilities I can think of and shows
>>>>> where I've gotten to. The problems are I can't figure out how to make the
>>>>> markup version NOT affect the spacing between staves, and just draw over
>>>>> the top of them; or alternatively, how to get GridLine to be dashed with
>>>>> an
>>>>> arrowhead on top. I'd prefer the GridLine solution, since that will
>>>>> stretch
>>>>> vertically with the system if necessary.
>>>>>
>>>>> Is this possible with GridLine? If not, is it possible with a markup?
>>>>>
>>>>> \version "2.19.17"
>>>>>
>>>>> musicA = {
>>>>> c'4 c' c' c'
>>>>> }
>>>>>
>>>>> verticalLine = ^\markup {
>>>>> \center-column {
>>>>> \arrow-head #Y #UP ##t
>>>>> \draw-dashed-line #'(0 . 18)
>>>>> }
>>>>> }
>>>>>
>>>>> musicB = {
>>>>> \override Score.GridLine.extra-offset = #'(0.0 . 2.0)
>>>>> \override Score.GridLine.line = #'dashed
>>>>> \hide Score.GridLine
>>>>> b4\verticalLine b b \revert Score.GridLine.transparent b
>>>>> }
>>>>>
>>>>> \score {
>>>>> <<
>>>>> \new Staff { \musicA }
>>>>> \new Staff \with {
>>>>> \consists "Grid_point_engraver"
>>>>> gridInterval = #(ly:make-moment 1/4)
>>>>> } { s1 }
>>>>> \new Staff \with {
>>>>> \consists "Grid_point_engraver"
>>>>> gridInterval = #(ly:make-moment 1/4)
>>>>> } { \musicB }
>>>>> >>
>>>>> \layout {
>>>>> \context {
>>>>> \Score
>>>>> \consists "Grid_line_span_engraver"
>>>>> \override NoteColumn.X-offset = #-0.5
>>>>> }
>>>>> }
>>>>> }
>>>>>
>>>>> Thanks!
>>>>> James Worlton
>>>>>
>>>>> _______________________________________________
>>>>> lilypond-user mailing list
>>>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=174021&i=4>
>>>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>>>>
>>>>
>>>>
>>>
>>
>
> _______________________________________________
> lilypond-user mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=174021&i=5>
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> ~Pierre
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://lilypond.1069038.n5.nabble.com/GridLine-appearance-tp173984p174021.html
> To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com
> To unsubscribe from Lilypond, click here
> <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2&code=dGlzaW1zdC5saWx5cG9uZEBnbWFpbC5jb218Mnw4MzU3Njg3MDU=>
> .
> NAML
> <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/GridLine-appearance-tp173984p174023.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