Re: Trillspanner line thickness

2009-09-15 Thread Mats Bengtsson
The zigzag line is typeset by LilyPond using a number of copies of the 
scripts.trill_element glyph from the so-called Feta font (see 
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/The-Feta-font#The-Feta-font).
Therefore, your only chance to change the thickness is to change the 
font size. As you have noted, just changing the font-size property of 
the TextSpanner object will also affect the tr indication, but the 
following trick can be used to compensate the font size of the tr:


\override TrillSpanner #'font-size = #-3
\override TrillSpanner #'bound-details #'left #'text = 
#(make-translate-scaled-markup

'(0.0 . -1.0)
(make-fontsize-markup 3 
(make-musicglyph-markup scripts.trill)))


Note that the argument 3 to  make-fontsize-markup has to match the -3 in 
the font-size setting.


   /Mats

Jonathan Wilkes wrote:

Hello,
 I'm getting to the end of formatting a score, and I just need some 
hints on changing the thickness of the zigzag line after trills.  I've 
tried zigzag-width, thickness, and everything else that looked promising 
but with no results.  I didn't use font-size because I want the trill sign 
to stay the same size.


 Is what I want to do possible?

Thanks,
Jonathan


  



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
  


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Trillspanner line thickness

2009-09-15 Thread Robin Bannister
Jonathan Wilkes wrote:   
 I've tried zigzag-width, thickness [...] but with no results.  



These work if you use the zigzag style (which is not built from glyphs).   


 \override TrillSpanner #'style = #'zigzag


Cheers,
Robin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: text in horizontal space between staves

2009-09-15 Thread Patrick Schmidt
Hi Robin,

thanks for your help. The other day I found a different approach here: 
http://www.mail-archive.com/lilypond-user@gnu.org/msg51078.html. This comes 
even closer to my original intention:

\version 2.13.3

\markup {
  \line {
\score { \new StaffGroup  \new Staff { c'1 } \new Staff { c'1 } 
\layout {} } 
\hspace #9.0 \center-column \lower #7  {\line {D.S. al} 
\line { \musicglyph #scripts.coda 
\raise #-0.5 - \hspace #0.5 \musicglyph #scripts.coda }}
\score { \new GrandStaff  \new Staff { c'1 } \new Staff { c'1 } 
\layout {} }
}
}

1) Is it possible to manipulate the width of the gap between the systems? I 
would like to reduce the width.

2) How do I have to proceed to integrate this construct in a template such as:

upper = \relative c'' {
  \clef treble
  \key c \major
  \time 4/4

  a4 b c d
}

lower = \relative c {
  \clef bass
  \key c \major
  \time 4/4

  a2 c
}

\score {
  \new PianoStaff 
\set PianoStaff.instrumentName = #Piano  
\new Staff = upper \upper
\new Staff = lower \lower
  
  \layout { }
  \midi { }
}

I actually would like to typeset some music before and after the gap between 
the systems.

Many thanks for pointers!
patrick


 Original-Nachricht 
 Datum: Sun, 13 Sep 2009 22:19:32 +0200
 Von: Robin Bannister r...@dataway.ch
 An: Patrick Schmidt p.l.schm...@gmx.de, lilypond-user@gnu.org
 Betreff: Re: text in horizontal space between staves

 Patrick Schmidt wrote:  
   is it possible to align the coda signs underneath D.S. al? 
 
 Well, this makes the markup narrower  
 and then you start to see that we had no horizontal centering.   
 
 Using a breathing sign instead of a note head makes it easy to 
 anchor the markup in the middle of the measure.  
 By default you get a half-measure gap on either side.   
 
 
   \stopStaff  
   s2 
   \once \override BreathingSign #'text = #dsalcodacoda
   \once \override BreathingSign #'Y-offset = 0  % vertical anchor
   \once \override BreathingSign #'X-extent = #'(-1 . 1) % change side gaps
   \breathe  
   s2
   \startStaff
   
 
 
 And the markup must be centered both horizontally and vertically: 
 
 
 dsalcodacoda = 
   \markup \vcenter \override #'(baseline-skip . 2) \center-column { 
 \line { D.S. al } 
 \line { \musicglyph #scripts.coda - \hspace #0.5 
 \musicglyph #scripts.coda } }
 
 
 
 Cheers,
 Robin

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Horizontal note spacing

2009-09-15 Thread Nick Payne
The only way I found of adding extra space before the arpeggiated chord 
in this example was to have a hidden voice with some notes to affect the 
spacing - I had a look at the manual section on horizontal spacing and 
tried a few things, but this was the only thing I tried that made a 
difference. Is this the only solution?


%%%
\version 2.13.3

treble = \relative c' {
   a4 cis\arpeggio |
   g' cis, |
}


bass = \relative c {
   e a,4 a e a,\arpeggio |
   bes d, a a e a, |
}

hidden = \relative c {
   \hideNotes c4 c
}

\score {
   
   \context Staff = guitar {
   \set Staff.connectArpeggios = ##t
   \clef treble_8
   \key d \minor
   \time 2/4
   
   \context Voice = 1 { \voiceOne \treble }
   \context Voice = 2 { \voiceTwo \bass }
   \context Voice = 3 { \voiceThree \hidden }
   
   }
   
   \layout {
   \context {
   \Staff
   \consists Span_arpeggio_engraver
   }
   }
}
%%%

Nick Payne
inline: withouthidden.pnginline: withhidden.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Horizontal note spacing

2009-09-15 Thread Kieren MacMillan

Hi Nick,


Is this the only solution?


My preference would be to adjust the padding or X-extent of the  
arpeggio directly, e.g.


\version 2.13.3

arpspace = \once \override Staff.Arpeggio #'X-extent = #'(-13 . 1)

treble = \relative c' {
   a4 \arpspace cis\arpeggio |
   g' cis, |}

bass = \relative c {
   e a,4 a e a,\arpeggio |
   bes d, a a e a, |
}

hidden = \relative c {
   \hideNotes c4 c
}

\score {
   
   \context Staff = guitar {
   \set Staff.connectArpeggios = ##t
   \clef treble_8
   \key d \minor
   \time 2/4
   
   \context Voice = 1 { \voiceOne \treble }
   \context Voice = 2 { \voiceTwo \bass }
   
   }
   
   \layout {
   \context {
   \Staff
   \consists Span_arpeggio_engraver
   }
   }
}

Hope this helps!
Kieren.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Horizontal note spacing

2009-09-15 Thread Nick Payne

Thanks. A much simpler  fix.

Nick

Kieren MacMillan wrote:

Hi Nick,


Is this the only solution?


My preference would be to adjust the padding or X-extent of the 
arpeggio directly, e.g.


\version 2.13.3

arpspace = \once \override Staff.Arpeggio #'X-extent = #'(-13 . 1)

treble = \relative c' {
   a4 \arpspace cis\arpeggio |
   g' cis, |}

bass = \relative c {
   e a,4 a e a,\arpeggio |
   bes d, a a e a, |
}

hidden = \relative c {
   \hideNotes c4 c
}

\score {
   
   \context Staff = guitar {
   \set Staff.connectArpeggios = ##t
   \clef treble_8
   \key d \minor
   \time 2/4
   
   \context Voice = 1 { \voiceOne \treble }
   \context Voice = 2 { \voiceTwo \bass }
   
   }
   
   \layout {
   \context {
   \Staff
   \consists Span_arpeggio_engraver
   }
   }
}

Hope this helps!
Kieren.





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Marching sheetmusic

2009-09-15 Thread Jeroen Heijmans
On Sun, Sep 13, 2009 at 14:36, Robin Bannister r...@dataway.ch wrote:
 Jeroen Heijmans wrote:

  But I'm not content with the results.


 It fills the page better if you don't zero   between-system-space.

It does fill better.
I've been working on a sheet, but it takes 2 pages A6, while it can be
fitted on 1.

Is it allowed to show the .ly here or is it better to make it
downloadable from my site?


-- 
Met vriendelijke groet (Best Regards / Mit freundlichen Grüßen / Med
venlig hilsen  / Salutations distinguées),

Jeroen Heijmans

(\_/)
(o.o) This is Bunny. Copy Bunny to your signature
( ) to help him in his world domination quest!


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: problems building documentation without compiling LilyPond

2009-09-15 Thread Graham Percival
On Tue, Sep 15, 2009 at 10:05:23AM +0200, Patrick Schmidt wrote:
  Hmm.  What happens if you try to compile input/typography-demo.ly
  manually?  Try adding a -V to the lilypond call.
 
 I get a bus error (see file attached)

Hmm.  Maybe it's a problem with 2.13.3.  I don't know about this
file in particular, but I now see that there definitely *are*
some files which require 2.13.4.

I guess you'll have to wait until GUB is working again.  If I
don't at least get it bootstrapping within the first hour
tomorrow, I'll try another approach to hacking it together.

Cheers,
- Graham


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Trillspanner line thickness

2009-09-15 Thread Jonathan Wilkes


--- On Tue, 9/15/09, Robin Bannister r...@dataway.ch wrote:

 From: Robin Bannister r...@dataway.ch
 Subject: Re: Trillspanner line thickness
 To: Jonathan Wilkes jancs...@yahoo.com, lilypond-user@gnu.org
 Date: Tuesday, September 15, 2009, 10:44 AM
 Jonathan Wilkes
 wrote:   
   I've tried zigzag-width, thickness [...] but
 with no results.  
 
 
 These work if you use the zigzag style (which is not built
 from glyphs).   
  \override TrillSpanner #'style = #'zigzag

Ah, I knew there had to be a good reason why zigzag-width wasn't 
changing the zigzag's width!

Thanks,
Jonathan

 
 
 Cheers,
 Robin
 





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Creating a font usable in Finale and Sibelius

2009-09-15 Thread Jonathan Wilkes
 Message: 1
 Date: Mon, 14 Sep 2009 23:59:03 +0200
 From: Valentin Villenave v.villen...@gmail.com
 Subject: Re: Creating a font usable in Finale and Sibelius
 Programs
 To: Josh Nichols josh.d.nich...@gmail.com
 Cc: lilypond-user@gnu.org
 Message-ID:
     eefe316d0909141459heb4d693o9b64e94e1e159...@mail.gmail.com
 Content-Type: text/plain; charset=UTF-8
 
 On Mon, Sep 14, 2009 at 8:37 PM, Josh Nichols josh.d.nich...@gmail.com
 wrote:
  I really enjoy the look and feel of the LilyPond Feta
 font, but I would like
  to use it in programs that can use other fonts like
 Sibelius.
 
 This question has been asked a number of times (including
 by yourself ;-)
 see for instance
 http://lists.gnu.org/archive/html/lilypond-user/2008-10/msg00762.html
 
  I would really like to make this available and
 continue the excellence that
  LilyPond and Feta font have created, minus the complex
 language and
  programming necessary to make it happen.
 
 IMNSHO, this is Not A Good Idea (tm).
 The Feta font is only a tiny tiny part of what makes
 LilyPond
 excellent. And the Lily language really is not so
 complex.

Even so, that's no reason to abstain from making the 
Feta font available/usable in Sibelius/Finale.

 
 When I started using LilyPond, I was writing an opera and I
 already
 had engraved about 200 pages in Sibelius. Then I met
 LilyPond.
 
 - For a while I tried to continue using Sibelius and
 importing the
 Feta font (just like you). That didn't work.

Why not?  If it's just a matter of matching the staff line weights 
to the font, as was mentioned in another email, that seems trivial.







___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user