Re: solid line for textspanner?

2006-03-31 Thread Christopher Ellis
\override TextSpanner #'dash-fraction = #'() 

this works for me.

--- Stefan Hackl <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I would like to know, if it is possible to create
> textspanners with 
> solid line instead of the dotted line.
> 
> Greetings
> 
> Stefan Hackl
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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


slur attachment

2005-10-01 Thread Christopher Ellis
Is slur attachment gone forever.  It would be real
useful for something like this.  If so, what is the
best way to "attach" a slur from the stem of one note
to the head of another.  Thanks.  Chris

\version "2.6.0"

#(set-default-paper-size "letter")
#(set-global-staff-size 16)

melody = {

\key ees \major
  
  R1*5
  \override Slur #'attachment = #'(stem . head) %%
wish I could still do this
  
% 5

  4-\(( 8.) 16-\)-|
4-\(( 8.) 16-\)-| |
  c'4 c' c' c'
}

\score { \melody }




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


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


Re: using \markup for #'("text" . "")

2005-08-08 Thread Christopher Ellis
Thanks Graham and Mats.  I can now do what I want to
do.  I was planning on putting a #:hspace ~0.5 after
the the finger number, but this gives an unexpected
result that looks no where near as good as putting a
space " " character after the finger number.  The
number is much higher than it needs to be and the line
is only a little higher.  It looks like the spanner
line is right at the base of the number, or left
edge-text.  I would be interested in an explanation as
to why this happens, but it is not necessary.  ly
below will show what I am talking about.  The first
measure looks good, in the 2nd the line is too low
relative to the number.  Thanks again.  Chris

\version "2.6.0"

test = \relative c'' {  
  \override TextSpanner #'dash-fraction = #'()
  \override TextSpanner #'edge-text = #(cons (markup
#:center-align (#:finger "1 " ) " " ) "")
  b\startTextSpan c c b\stopTextSpan | \revert
TextSpanner #'edge-text
  \override TextSpanner #'edge-text = #(cons (markup
#:center-align (#:finger "1") #:hspace -3.0 ) "")
  b\startTextSpan c c b\stopTextSpan |
}

\score {
\test
}

--- Mats Bengtsson <[EMAIL PROTECTED]> wrote:

> See for example
>
http://lists.gnu.org/archive/html/lilypond-user/2005-08/msg00020.html
> 
> To understand why this works and not what you tried,
> you need some
> knowledge about the Scheme language. The short story
> is that you
> need the (markup ..) command to be evaluated, not
> just passed as a
> list.
> 
> /Mats
> 
> Graham Percival wrote:
> > To set the text for TextSpanner, one does
> >   \override TextSpanner #'edge-text = #'("foo" . "
> ")
> > 
> > How can you use \markup{ foo } instead of "foo" ? 
> Judging from
> > 11.2.1 Markup construction in scheme, I thought
> that this would work
> > 
> >   \override TextSpanner #'edge-text = #'( (markup
> "foo") . "")
> > 
> > but it doesn't.  :(
> > 
> > 
> > Christopher -- once we find out how to do this,
> try adding a
> > \hspace #1
> > to the end of your finger string ("1 ").  It may
> not be ideal, but it
> > should work.
> > 
> > Cheers,
> > - Graham
> > 
> > On 6-Aug-05, at 6:54 PM, Christopher Ellis wrote:
> > 
> >>   \override TextSpanner #'font-encoding =
> #'fetaNumber
> >>   \override TextSpanner #'font-size = #-5
> >>   \override TextSpanner #'edge-text = #'("1 " . "
> ")
> >>   \override TextSpanner #'dash-fraction = #'()
> >>   %\override TextSpanner #'shorten-pair = #'(0 .
> 0)
> >>   b\startTextSpan c c b\stopTextSpan |
> > 
> > 
> > I think this is the best way; hence me question.
> > 
> >> % this works as in should in the way that I want,
> >> % however the fingering is not nicely centered
> like
> >> % a regular fingering instruction. also the line
> is
> >> too
> >> % close too the fingering.  i am sure that I can
> get
> >> % close to what I want with the
> >> % commented out "shorten-pair"
> >> % line but it would be nice if I could
> >> % do this spanner with
> >> % the left edge-text centered like a
> >> % fingering and not have
> >> % the line so close to the fingering.
> >>
> > 
> > 
> > 
> > 
> > ___
> > lilypond-devel mailing list
> > lilypond-devel@gnu.org
> >
> http://lists.gnu.org/mailman/listinfo/lilypond-devel
> 
> -- 
> =
>   Mats Bengtsson
>   Signal Processing
>   Signals, Sensors and Systems
>   Royal Institute of Technology
>   SE-100 44  STOCKHOLM
>   Sweden
>   Phone: (+46) 8 790 8463 
>  Fax:   (+46) 8 790 7260
>   Email: [EMAIL PROTECTED]
>   WWW: http://www.s3.kth.se/~mabe
> =
> 




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


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


keep finger down

2005-08-06 Thread Christopher Ellis
I am looking for the best way to notate a fingering
instruction that tells a violinist to keep a finger
down.  This involves a finger number followed by a
line that continues until the finger no longer needs
to be held down.  I know several ways to do this and I
have included them in an example below.  They can all
work, but each have their drawbacks.  Does anyone know
of something better.  I want a centered fingering
followed by a line.  Thanks.  Chris

\version "2.6.0"

test = \relative c'' {

  \override TextSpanner #'shorten-pair = #'(1 . 0)
  \override TextSpanner #'dash-fraction = #'()
  b-1\startTextSpan c c b\stopTextSpan | 

% this gives a good result,
% but the line is not locked
% with the fingering, so at times
% you would have to move the line,
% so this is not ideal
\revert TextSpanner #'shorten-pair
 
  b^\markup { \finger 1 "-" } c c b |

% this way you have to guess
% the number of dashes.  it doesn't
% center the fingering in the sme way
% as a regular fingering instruction does. 
% also, I want a solid line.  i could use
% the underscore, but I would have to move
% that to get it positioned right with the number
   
  \override TextSpanner #'font-encoding = #'fetaNumber
  \override TextSpanner #'font-size = #-5
  \override TextSpanner #'edge-text = #'("1 " . " ")
  \override TextSpanner #'dash-fraction = #'()
  %\override TextSpanner #'shorten-pair = #'(0 . 0)
  b\startTextSpan c c b\stopTextSpan | 

% this works as in should in the way that I want,
% however the fingering is not nicely centered like
% a regular fingering instruction. also the line is
too
% close too the fingering.  i am sure that I can get
% close to what I want with the 
% commented out "shorten-pair"
% line but it would be nice if I could 
% do this spanner with
% the left edge-text centered like a 
% fingering and not have
% the line so close to the fingering.
   }

\score {
\test
}





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


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


Re: Divisi and Unison

2003-11-27 Thread Christopher Ellis
Thanks again.  What you sent wasn't quite right, a "{"
was in the wrong place or something, but close enough
for me to understand what is going on.  I am including
what worked for me so that it might help someone else.
 So, Brahms Symphony No. 1 2nd movement where the
first violins split into section and solo can be done
like this.

\paper {papersize = "letter"
  indent = 0.0\in }

\score {
\new GrandStaff { \notes {
d'4 d' d' d' |
d' d' d' d' |
d' d' d' d' |
d' d' d' d' | \break
<<
  { e'4 e' e' e' }
  \new Staff { c'4 c' c' c' }
>>
d'4 d' d' d' }
}
}


This is how I have seen it done, with the brace.  One
last nitpick, perhaps a bug.  When I run lilypond on
this, the last barline of the first line is not at the
end of the line.  I don't think I am doing any thing
to cause this.  If anyone knows anything, please help.
 Thanks again.

Chris

--- Graham Percival <[EMAIL PROTECTED]> wrote:
> On Wed, 26 Nov 2003 20:35:09 -0800 (PST)
> Christopher Ellis <[EMAIL PROTECTED]> wrote:
> > Thanks, this helped me also.  Is there a way to
> make
> > the two staffs be contained in a brace like piano
> > music.  I have tried different things with no
> luck.  i
> > have seen this in Brahms Symphony 1, first violin
> part
> > where the concertmaster solo appears.  There are
> two
> > staffs and in parts I have seen, they are braced
> > together.  Thanks.
> 
> IIRC, stick everything inside a GrandStaff:
> 
> \score{
>   \new GrandStaff {
>   \new Staff { \notes
>   d4 d d d
>   <<
>   { e4 e e e }
>   \new Staff { c4 c c c }
>   >>
>   d4 d d d
>   }}
>   }
> }
> 
> Cheers,
> - Graham


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Re: Divisi and Unison

2003-11-26 Thread Christopher Ellis
Thanks, this helped me also.  Is there a way to make
the two staffs be contained in a brace like piano
music.  I have tried different things with no luck.  i
have seen this in Brahms Symphony 1, first violin part
where the concertmaster solo appears.  There are two
staffs and in parts I have seen, they are braced
together.  Thanks.

Chris


--- Graham Percival <[EMAIL PROTECTED]> wrote:
> On Mon, 24 Nov 2003 16:57:41 -0700
> Dave <[EMAIL PROTECTED]> wrote:
> > I'm transcribing a violin piece that has divisi
> and unison.  The
> > divisi portions are not synchronsous (i.e. they
> have basically
> > different parts) and need to be on separate
> staffs.  How would I make
> > a score that has 2 staffs for the divisi part and
> 1 staff for the
> > unison part?
> 
> This is covered in one of the examples in the "Tips
> and Tricks" section.
> 
> Here's the general idea:
> 
> d4 d d d 
> <<
>   { e4 e e e }
>   \new Staff {
>   c4 c c c }
> >>
> d4 d d d
> 
> I don't guarentee that my syntax is correct; if it
> doesn't work, check
> the docs.  But it's certainly as easy as this.
> 
> Cheers,
> - Graham
> 
> 
> ___
> Lilypond-user mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/lilypond-user


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Re: guile for lilypond on Red Hat 9

2003-08-18 Thread Christopher Ellis
Peter,

A little while back I was trying to figure out how to
get lilypond 1.8 on RH9.  Make sure that you have read
the following archived message titled "problems trying
out 1.7.29-1 and 30-1" so Han-Wen won't have to repeat
the message.

http://mail.gnu.org/archive/html/lilypond-user/2003-08/msg00111.html

This one may not have caught your eye (because of the
title) but it is relevant to your problem.  Just to
let you know, I never got lily 1.8 running on RH9.  I
even went to the trouble of doing a "minimal," fresh
install of Redhat without any guile on the system.  I
was able to install the guile-1.6.4-7.1.i386.rpm, but
there was no difference.  I got the same errors I
always got.  I finally gave up on RH9 because of some
rpm weirdness.  It was telling me things were not
installed that were, things were installed that were
not, and it hanged a lot of times.  I am speaking of
the command line rpm.  Make sure that you are using
the command line rpm and not the software installer or
whatever its called.  Anyway, I felt guilty asking for
more help when my system seemed to be playing with my
mind.  I switched to mandrake 9.1 and lilypond 1.7.23.
 Please post back if you get something to work as I am
sure there are others in this situation waiting to
hear of someone else having success.

Chris

--- Peter Lutek <[EMAIL PROTECTED]> wrote:
> Han-Wen Nienhuys wrote:
> 
> >[EMAIL PROTECTED] writes:
> >  
> >
> >>so, how does one run lilypond on RH9, without
> compiling from source? i 
> >>have tried to install guile-1.6.4-7.1.i386.rpm
> (from the rawhide rpm dir 
> >>at ftp.redhat.com) which is linked on the lilypond
> download page, but 
> >>the rpm installation routine aborts before
> finishing.
> >>
> >>
> >
> >What does it say?
> >
> >  
> >
> no error message -- it just aborts without any
> feedback.
> 
> -p
> 
> 
> 
> ___
> Lilypond-user mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/lilypond-user


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


problems trying out 1.7.29-1 and 30-1

2003-08-14 Thread Christopher Ellis
I tried the devel list and couldn't get through as
unsubscribed, and I couldn't manage to subscribe with
the web form, so, sorry if this is the wrong list. 
Here was my email.

Hello all,

Wanting to try out 1.7.29-1 and I think I am running
into a problem mentioned in thread early in July. 
However, the solution at that time was "wait for
guile-1.6.4-7 (or later)," which is what I have done,
I think.  On a fresh install of RH9 I downloaded
guile-1.6.4-7.1.i386.rpm.  To install it I did rpm -U
guile-1.6.4-7.1.i386.rpm.  Then I installed lilypond. 
Have I done anything wrong.  I got pretty much the
same error message as the thread a month ago.

Running /usr/bin/lilypond...GNU LilyPond 1.7.29ERROR:
In procedure dynamic-link:
ERROR: file: "libguile-srfi-srfi-13-14-v-1", message:
"libguile-srfi-srfi-13-14-v-1.so: cannot open shared
object file: No such file or directory"


ly2dvi: error: LilyPond failed on input file test
(exit status 2)
ly2dvi: warning: Running LilyPond failed. Rerun with
--verbose for a trace.

If someone could either tell me what I did wrong or
tell me to keep waiting for a different guile, that
would be nice.  Looking forward to 1.8.  Thanks.

Chris

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user