Centering text spanners under a note

2002-10-30 Thread Maurizio Tomasi
I am typesetting an old edition of Mozart quartets, and sometimes
dynamics appear in parentheses.  I manage to write these with

---
\score {
  \context Staff {
\notes \relative c' {
  c1_#'(columns (large () (dynamic p) (large )))
}
  }
}
---

but the (p) string is not rightly centered above the note (it is a
bit at the right because of the parentheses).  I tried with the
edge-text of the Text Spanner grob, but without success (brackets
are not shown at all):

---
\score {
  \context Staff {
\notes \relative c' {
  \once \property Voice.TextSpanner
\override #'edge-text = #'(( . ))
  f4_#'(dynamic p)
}
  }
}
---

What could be the best possible solution?

Many thanks
  Maurizio.



NEW - FREE Nettaxi 56kbs Dial-up INTERNET ACCESS with NO ADS or Ad Bars!
http://www.nettaxi.com/isp/


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



Re: common rests between two voices in one staff

2002-10-30 Thread Klaus Zimmermann
Hi,

first of all thanks for the quick answers!
However after reading the fine manual I found
a far simpler solution to the problem which might
be interesting to those who helped me(and others)
as well:

simply set the #'maximum-rest-count property of the staff.

e.g.(typical SATB piece without accompaniment) in the paper section:
\score {
...
  \paper
\translator {
  \StaffContext
  RestCollision \override #'maximum-rest-count = #1
}
  }
}


Bad enough with the next piece I ran into the next problem:
to anyone with experience with that maximum-rest-count thingie:
doesn't that affect multimeasure rests? how can I make it to?


tia Klaus



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



Re: Centering text spanners under a note

2002-10-30 Thread Chris Jackson
Maurizio Tomasi wrote:


I am typesetting an old edition of Mozart quartets, and sometimes
dynamics appear in parentheses.  I manage to write these with

---
\score {
 \context Staff {
   \notes \relative c' {
 c1_#'(columns (large () (dynamic p) (large )))
   }
 }
}
---

but the (p) string is not rightly centered above the note (it is a
bit at the right because of the parentheses).  I tried with the
edge-text of the Text Spanner grob, but without success (brackets
are not shown at all):
 

That's because it's not a text spanner - it's a text script. You could 
use the
extra-offset property to fiddle the horizontal position - the following 
produces
an approximately centered (p) for me:

\score {
 \context Staff {
   \notes \relative c' {
   \property Voice.TextScript \override #'extra-offset = #'(-0.7 . 0)
   c1_#'(columns (large () (dynamic p) (large )))
   }
 }
}

To create a text spanner see Expressive marks-Text spanners in the manual.
--
chris



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


Re: PS failure with 1.6.6

2002-10-30 Thread Carter Brey
 Hi,

Yes, I did a make install, and music-drawing-routines.ps appears not 
only in /usr/local/share/lilypond/tex but also in 
/usr/local/share/lilypond/ps. I ran texhash just to be on the safe side 
(which actually I never did with previous version installs, and never 
had problems) but still get the same error message.

As with other version installs, I placed lilypond-profile in my $PATH 
and sourced it to set the tree.

Could it possibly be my version of xdvi? It's 22.58.

Mats Bengtsson wrote:

You say that you compiled the program yourself but you didn't
say how you installed it. If you did a make install, the file
should be placed below share/lilypond/tex/, where teTeX will find
it unless you've fiddled a lot with your texmf.cnf or forgot to 
run texhash after the installation.

  /Mats



 

Hello--

Having just downloaded and compiled the 1.6.6 sourcecode, I ran ly2dvi 
-P on an .ly sourcefile without error messages and got a surprise when I 
tried to view the results with xdvi. It loaded with this error message: 
Cannot find PostScript file for inclusion in document: 
music-drawing-routines.ps

The .ps file produced by the same ly2dvi run loaded perfectly with gv. 
The same thing happens with all my .ly sourcefiles. Is there a 
diagnostic I can run to track down the problem? This did not happen with 
1.6.5, and I was careful to run the font cleaning script after installation.

Thank you, my friends.

Carter
   



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

 



--

+-+
|Carter Brey ([EMAIL PROTECTED])|
+-+
Homepage:
http://www.nyplive.org/music/orchestra/index.cfm?page=profilepersonNum=7
A student who changes the course of history is probably taking an exam.






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



Re: PS failure with 1.6.6

2002-10-30 Thread Carter Brey
Mats Bengtsson wrote:


What do the following commands return?

kpsexpand '$TEXPSHEADERS'


[cbrey@Betty cbrey]$ kpsexpand '$TEXPSHEADERS'
.:{/usr/local/share/lilypond/,!!/usr/share/texmf}/{dvips,pdftex,tex,fonts/type1}//


kpsewhich -format 'PostScript header' music-drawing-routines.ps


[cbrey@Betty cbrey]$ kpsewhich -format 'PostScript header' 
music-drawing-routines.ps
/usr/local/share/lilypond/tex/music-drawing-routines.ps

Thanks for any help...
Carter

--

+-+
|Carter Brey ([EMAIL PROTECTED])|
+-+
Homepage:
http://www.nyplive.org/music/orchestra/index.cfm?page=profilepersonNum=7






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