lilypond-user
[Top][All Lists]
Advanced

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

Re: Circular Staff in Inkscape [was Re: Lilypond vs Score]


From: Bertalan Fodor (LilyPondTool)
Subject: Re: Circular Staff in Inkscape [was Re: Lilypond vs Score]
Date: Thu, 04 Feb 2010 17:33:43 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Circular staves ARE possible with pure LilyPond, just look at this:



This was made using LilyPondTool's ruler feature, with the following score:

\score {
   
    \relative c' {
        \override Staff.StaffSymbol #'transparent = ##t
        \override Staff.KeySignature #'transparent = ##t
        \override Staff.TimeSignature #'transparent = ##t
        \override Staff.BarLine #'transparent = ##t
        \override Staff.Clef #'transparent = ##t
       
        % The clef
        \once \override Voice.TextScript #'extra-offset = #'(-10.6 . -11.8 )
        s1^\markup { \rotate #90 \musicglyph #"clefs.G" } #'(-17.1 . -8.0 )
       
        \once \override Voice.TextScript #'extra-offset = #'(-17.1 . -8.0 )
        s1^\markup { \rotate #85 \note #"4" #UP }
       
         \once \override Voice.TextScript #'extra-offset = #'(-22.7 . -5.0 )
        s1^\markup { \rotate #60 \note #"4" #UP }
       
        \once \override Voice.TextScript #'extra-offset = #'(-27.9 . -2.8 )
        s1^\markup { \rotate #45 \note #"4" #UP }
       
         \once \override Voice.TextScript #'extra-offset = #'(-33.3 . -1.0 )
        s1^\markup { \rotate #30 \note #"4" #UP }
       
           \once \override Voice.TextScript #'extra-offset = #'(-43.1 . 0.2 )
        s1^\markup { \rotate #40 \beam #3.2 #0 #0.5 }
       
          \once \override Voice.TextScript #'extra-offset = #'(-44.2 . 0.8 )
        s1^\markup { \rotate #0 \note #"4" #UP }
    }
}

eyeglassesps = #"
0.15 setlinewidth
30 0 moveto
20 0 10 0 361 arc
31 0 moveto
20 0 11 0 361 arc
32 0 moveto
20 0 12 0 361 arc
33 0 moveto
20 0 13 0 361 arc
34 0 moveto
20 0 14 0 361 arc
35 0 moveto
20 0 15 0 361 arc
stroke
"

eyeglasses =  \markup { \postscript #eyeglassesps }

\eyeglasses

M Watts wrote:

I have to admit - I tried it and it's not easy to get a staff to conform
to a circle, for example. Maybe someone else can. My Inkscape skills are
weak, though I love the software.



Not sure how to wrap the entire staff in a circle, but you can easily draw a circular staff in Inkscape:-

Draw a circle (F5) with Ctrl held down, 115 px in size;

Get outline only by Ctrl+Shift+F, click the X under Fill, and flat color (2nd left) under Stroke paint (or click the X near bottom left of window, and Shift-click a coler for line color);

Clone it 4 times (Alt + D);

Hit F1 and make sure the circle and all clones are selected by drawing a selection box around the circle (the status bar will tell you if they're all selected; you anly see the top one);

Open the Transform dialog (Shift+Ctrl+M), go Scale, width & height both 110%, and make sure 'Scale proportionally' and 'Apply to each object separately' are both checked.

Click Apply :)

Btw, Inkscape has layers -- use them if you don't want to be constantly dragging the wrong notes and whatnot around.



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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