RE: Change Chord Name Font Size

2006-03-17 Thread Mats Bengtsson

Please read again what I wrote!
To be more specific, create a file test.ly containing the following
lines:

\version "2.0.0"
\context ChordNames {
   \property ChordNames.chordChanges = ##t
   \property ChordNames . ChordName \override
#'font-relative-size = #+3


Next, run the following command (from your current LilyPond installation):
convert-ly -e test.ly

Then, look into the file, which has been updated to the syntax of your 
current LilyPond version. For example, when I do it for version 2.7.36, 
I get


\context ChordNames {
 \set chordChanges = ##t
 \override ChordName   #'font-size = #6
}


  /Mats


Quoting Kamal <[EMAIL PROTECTED]>:


As Mats said, I tried the \property lines, but it gave error in lilypond
2.6.

Isn't there an easier way to find what how to change the chord font size
than to get an old version of lilypond, & then convert to to 2.6 especially
that I'm working on Windows & I didn't find an already compiled binary of
lilypond 2.0 or less for Windows?

Thank you.


On Thursday, March 16, 2006 5:34 PM, Mats Bengtsson <> wrote:


Whenever you find an answer in an old email, find out what LilyPond
version it was written for. Then, make a temporary .ly file containing
\version "2.0.0" % or whatever version the answer applied to and the
lines of code. Then, run convert-ly -e temp.ly and see what the code
should look like with your current version of LilyPond. The property
font-relative-size changed name around version 2.1.1.

   /Mats

Thibaut Chevalier wrote:


There are old threads dealing with this.
I read that the simple \set fontSize is said not to be working, but
in this post :
http://lists.gnu.org/archive/html/lilypond-user/2004-11/msg00117.html
The following solution is suggested :

\context ChordNames {

   \property ChordNames.chordChanges = ##t
   \property ChordNames . ChordName \override
#'font-relative-size = #+3

Though I didn't manage to make it work. Moreover he says it does not
work on the alterations...




Kamal wrote:


How do you change the default font size of chord names?
I have tried the following but it didn't work:

\chords {
\set fontSize = #-2
e2.:m e:m e:m b:7 b:7
b:7 b:7 e:m g d
}
\version "2.6.5

Thank you.





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









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





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







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


Re: bars trouble

2006-03-17 Thread jango

thanks a lot!

that was really easy, i guess i should not have asked that question :D
--
View this message in context: 
http://www.nabble.com/bars-trouble-t1288920.html#a3458858
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


\remove "Timing_engraver" question

2006-03-17 Thread jango

Hi!

I read a section about adding/removing plug-ins. What I wanted was to remove
Time_signature_engraver, using \with key.

But I don't really understand where should I put it in my code (attached).

Though I tried different places, it still gives me errors, I guess I'm doing
something wrong :D

Thanks a lot!

\header {
title = "Вечная память"
enteredby="Nikita Pchelin"
maintainer="[EMAIL PROTECTED]"
}

 
 \version "2.6.0"
 global = {
\set Staff.printKeyCancellation = ##f
\key bes \major
\cadenzaOn

 }
 
 sopMusic = \relative c'' {
\phrasingSlurUp
bes2 bes2 \bar "||" bes4\( c4 d2\) d4 d4 c2\( bes2\) a2\( bes4 c4\) \bar
"|" \break

\relative c' 
d'2 d4 d4 
\relative c''
c2\( bes2\) a2\( bes4 c4\) \bar "|" d1 ees2 ees2 \bar "|" d1\( c1\) bes1
\bar "|." \break


bes4 bes4 bes4 bes4 c4 d2\( c2\) \bar "|" bes4 c4 d4\( c4 bes4 a4\) bes2
\bar "||" \break

bes4 bes4 c4 d2\( c2\) \bar "|" d4\( c4 bes2\) a2 bes1 \bar "|." \break

 }

 
 altoMusic = \relative c''
 {
\phrasingSlurDown
g2 g2 g4 a4 bes2 bes4 bes4 a2\( g2\) fis2\( g4 a4\) 

\relative c''
bes2 bes4 bes4 a2\( g2\) fis2\( g4 a4\) bes2\( b2\)
\relative c'
c'2 c2 
\relative c''
bes1\( a1\) g1 

g4 g4 g4 g4 a4 bes2\( a2\) g4 a4 bes4\( a4 g4 f4\) g2 

g4 g4 a4 bes2\( a2\) bes4\( a4 g2\) fis2 g1 

 }

 
 tenorMusic = \relative c' {
%MUSIC
 \phrasingSlurUp

d2 d2 d4\( f4( f2)\) f4 f4 f2\( d2\) d2.\( f4\)

f2 f4 f4 f2\( d2\) d2.\( f4\) f2\( g2\) g2 g2 g1\( fis1\) d1 

d4 d4 d4 d4 fis4 fis1 d4 fis4 fis4\( ees4 d2\) d2 

d4 d4 fis4 fis1 fis4\( ees4 d2\) d2 d1 
 }
 
 bassMusic = \relative c' {
%MUSIC
\phrasingSlurDown
2 2 g'4\( f4 2\) 4 4 f'2\( 
g2\)
d2\( g4 f4\) 


2 4  f2\( g2\) d2\( g4 f4\) 2\( 
2\) 2 2
\relative c' 1\( d1\)  

g'4 g4 g4 g4 f4 2\( f'2\) g4 f4 bes,4\( c4 d2\) d2  

g4 g4 f4 2\( f'2\) bes,4\( c4 d2\) d2
\relative c' 1 



 }


 sopWords = \lyricmode {

 }
 altoWords =\lyricmode {
А -- минь. Веч _ -- _ -- на -- я па -- _ -- мять, _ _

веч -- на -- я па _ -- мять, _ _ веч -- на -- я _ па _ -- мять.
Ду -- ши их во бла -- гих, _ во дво -- ря _ -- _ --  _ ся,
и па -- мять их, _ в_род _ -- _ -- и род.


 }
 tenorWords = \lyricmode {

 }
 bassWords = \lyricmode {

 }


 
 \score {


\context StaffGroup <<

   \context Lyrics = sopranos { s1 }
   
   \context Staff = women <<
  \context Voice =
sopranos { \voiceOne << \global \sopMusic >> }
  \context Voice =
altos { \voiceTwo << \global \altoMusic >> }


#(set-accidental-style 'forget)

   >>
   \context Lyrics = altos { s1 }
   \context Lyrics = tenors { s1 }
   \context Staff = men <<
  \clef bass
  \context Voice =
tenors { \voiceOne <<\global \tenorMusic >> }
  \context Voice =
basses { \voiceTwo <<\global \bassMusic >> }
   >>
   \context Lyrics = basses { s1 }
   \context Lyrics = sopranos \lyricsto sopranos \sopWords
   \context Lyrics = altos \lyricsto altos \altoWords
   \context Lyrics = tenors \lyricsto tenors \tenorWords
   \context Lyrics = basses \lyricsto basses \bassWords
>>
 
\layout {
   \context {
  % a little smaller so lyrics
  % can be closer to the staff
  \Staff minimumVerticalExtent = #'(-3 . 3)
   }
}
 }

--
View this message in context: 
http://www.nabble.com/%5Cremove-%22Timing_engraver%22-question-t1298789.html#a3458827
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


System spacing

2006-03-17 Thread Ruth Ivimey-Cook
Folks,

I have a score in which the first two systems each have 3 verses (lines of
text) underneath, and the next three systems are the chorus and have only one
line. Each system is one line of music.

I saw that there is some control over the inter-system spacing, but it is not
clear to me how to modify the spacing of the chorus such that it the chorus
lines only take up the space required, rather than the same space that the
verses do...


Thanks,

Ruth




The outer level of the .ly file is as follows. I can post more if needed:

\score {
%\midi { \tempo 4=72 }
<<
\context Voice = mel {
\repeat volta 3 {
\verseMusic  \bar "" \break
\chorusMusic
}
}
\lyricsto mel \new Lyrics { \verseOne  \chorusText }
\lyricsto mel \new Lyrics \verseTwo
\lyricsto mel \new Lyrics \verseThree

>>



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


RE: Change Chord Name Font Size

2006-03-17 Thread Kamal
As Mats said, I tried the \property lines, but it gave error in lilypond
2.6.

Isn't there an easier way to find what how to change the chord font size
than to get an old version of lilypond, & then convert to to 2.6 especially
that I'm working on Windows & I didn't find an already compiled binary of
lilypond 2.0 or less for Windows?

Thank you.


On Thursday, March 16, 2006 5:34 PM, Mats Bengtsson <> wrote:

> Whenever you find an answer in an old email, find out what LilyPond 
> version it was written for. Then, make a temporary .ly file containing 
> \version "2.0.0" % or whatever version the answer applied to and the 
> lines of code. Then, run convert-ly -e temp.ly and see what the code 
> should look like with your current version of LilyPond. The property 
> font-relative-size changed name around version 2.1.1.
> 
>/Mats
> 
> Thibaut Chevalier wrote:
> 
>> There are old threads dealing with this.
>> I read that the simple \set fontSize is said not to be working, but 
>> in this post :
>> http://lists.gnu.org/archive/html/lilypond-user/2004-11/msg00117.html
>> The following solution is suggested : 
>> 
>> \context ChordNames {
>> 
>>\property ChordNames.chordChanges = ##t
>>\property ChordNames . ChordName \override 
>> #'font-relative-size = #+3
>> 
>> Though I didn't manage to make it work. Moreover he says it does not 
>> work on the alterations...
>> 
>> 
>> 
>> 
>> Kamal wrote:
>> 
>>> How do you change the default font size of chord names?
>>> I have tried the following but it didn't work:
>>> 
>>> \chords {
>>> \set fontSize = #-2
>>> e2.:m e:m e:m b:7 b:7
>>> b:7 b:7 e:m g d
>>> }
>>> \version "2.6.5
>>> 
>>> Thank you.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> lilypond-user mailing list
>>> lilypond-user@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> 
>> 
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user




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


Re: How to modify the space between the notes?

2006-03-17 Thread Jan Nieuwenhuizen
Han-Wen Nienhuys writes:

> a lot of properties are there just because it is awkward and more work
> to put them on the C++ side.  They're not all supposed to be useful.

Can we have an example of such a property?  How about a naming
convention for such properies, to indicate their uselessness/internal
use?

Jan.

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien   | http://www.lilypond.org


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


Re: How to modify the space between the notes?

2006-03-17 Thread Han-Wen Nienhuys

Werner LEMBERG wrote:

If we had a full example for every property mentioned in the manual,
it would be 3 times as large.



Well, many properties are obscure, some have non-intuitive names, and


we want to fix those. Please send bugreports.


others may have surprising effects.  The more examples, the better.
Not necessarily in the manual, of course, but I really wish to have
examples for *all* properties.


a lot of properties are there just because it is awkward and more work 
to put them on the C++ side.  They're not all supposed to be useful.


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: al niente / de niente - was Re: (no subject)

2006-03-17 Thread Marcus Macauley

Mats Bengtsson wrote:


Quoting Marcus Macauley <[EMAIL PROTECTED]>:

As an alternative to the second method -- and a perhaps more  
conventional  one, recommended by Kurt Stone -- niente can be notated  
not with the  dynamic letter "n" but with the italic "n." (this time  
with a period).  This should be possible to do now, but I can't figure  
out how to switch  off the boldface:


n = #(make-dynamic-script (markup #:text #:italic "n." ) ) % This  
makes  the text bold-italic.


n = #(make-dynamic-script (markup #:text "n." ) ) % In fact, even this   
makes it bold-italic, as if that's the default text font style. Why?  
And  how to switch it off?


The simple reason is that dynamics by default have bold face turned on.  
For situations like these, where you want tobe sure
to first reset all font related properties before starting applying your  
own preferences, the markup command \normal-text was introduced

in version 2.7. So you should be able to do something like
n = #(make-dynamic-script (markup #:normal-text #:italic "n." ) )


Ah, yes, that works. The last thing I saw on in the email list archives  
about it was a comment, by you, I think, that a command like \normal-text  
would be useful (it presumably hadn't been implemented at the time).


Another way to do it, I've found, is...

n = #(make-dynamic-script (markup #:text #:medium #:italic "n.") )

...where #:medium is the regular (not-bold) weight of the font. (Likewise,  
as Han-Wen pointed out on lilypond-devel, you can use #:upright to cancel  
#:italic). I like your solution better, though - it could conceivably be  
used where you're unsure of what the default font style is, and you just  
want to clear all formatting and then specify only what you want.


Thanks for the tip.

Marcus


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


Increase minimum word spacing?

2006-03-17 Thread Ruth Ivimey-Cook
Folks,

I have a score in which the words to the verse have become very close
together, such that it is hard to read. Is there a control that specifies the
minimum inter-word space that is acceptable?

Regards,

Ruth



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


Re: Question about repeat alternatives

2006-03-17 Thread Thies Albrecht
Hi folks!

I've never seen (or can remember) a repeat with only the last repeat having
an alternative. But if there is I'll be interested in how this should look
liek, esp. where are repeat bars and volta brackets.

> \repeat volta 4 { ... }
> \alternative { {} { ... } }
I think the problem is with the first empty curly braces pair inside the
alternative definition. As far as I understand syntax this defines an empty
list, which I would consider is ignored by lilypond.

You can tweak the number shown in volta brackets like described here
http://lilypond.org/doc/v2.7/Documentation/user/lilypond/Manual-repeat-commands.html#index-VoltaBracket-445,
but it might take some more manual volta definiton, too.
(I see something which looks like what you desire there, but looks quite
strange to me.)

My suggestion: Rewrite the repeat and take the last (or more) bar for the
every alternative with the additional music inside forth alternative.

Kind regards,
Thies Albrecht

-- 
"Feel free" mit GMX FreeMail!
Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net


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


Re: Problem with init.ly file

2006-03-17 Thread Mats Bengtsson

Quoting Ben <[EMAIL PROTECTED]>:


I've been working on a number of small compositions, and every time I
try to create a PDF with Lilypond 2.6.5 (Windows), I get a problem
during "Parsing." The program tells me that there is one of several
problems with init.ly. They vary from "error: syntax error, unexpected
SCM_T" to " error: syntax error, unexpected $end". What do these mean,
and what am I doing wrong?


It often means that you have a syntax error in your own .ly file that
confuses the program so much that it actually thinks the error is
somewhere else.

Also, how do I create chords, properly? I'm having no end of trouble 
from this.

Here's what the program gives me:

error: syntax error, unexpected DIGIT, expecting DRUM_PITCH or
NOTENAME_PITCH or '>'
R2.*4 ^\accent r8 ^( ^\accent) r

Please help me!


If you read more carefully in the manual, you will learn that the 
syntax for chords is 8
i.e. the duration should be specified for the full chord, not for the 
individual notes.


  /Mats



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


Re: How to modify the space between the notes?

2006-03-17 Thread Werner LEMBERG
> If we had a full example for every property mentioned in the manual,
> it would be 3 times as large.

Well, many properties are obscure, some have non-intuitive names, and
others may have surprising effects.  The more examples, the better.
Not necessarily in the manual, of course, but I really wish to have
examples for *all* properties.


Werner


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


Re: How to modify the space between the notes?

2006-03-17 Thread Mats Bengtsson
If we had a full example for every property mentioned in the manual, it 
would be 3 times as large. Therefore, the general principles

for how to set properties are described in the chapter on "Changing
Defaults". What could be clarified in Sect. 10.5.6 is that all the 
properties listed there are properties of the SpacingSpanner layout

object. Therefore, the examples shown in the section work well as
templates for what you want to do, just replace "uniform-stretching"
or strict-note-spacing by "spacing-increment" and find out from the 
chapter on Changing defaults how to specify numerical arguments.


For beginners like you, it's also a very good idea to search the 
mailing list archives and the Lilypond Snippet Repository

(see www.lilypond.org -> Documentation) for examples that use
exactly the property you want to use. I'm sure that you will find
lots of examples.


  /Mats

Quoting Volker Pilipp <[EMAIL PROTECTED]>:

The instructions about how to modify the horizontal space between the 
notes in

chapter 10.5.6 (version 2.7.36) are not really useful because there is no
example how the exact syntax looks like. Instructions in the paper block like

\paper{
spacing-increment=1.0
}

did not work.



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







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


How to modify the space between the notes?

2006-03-17 Thread Volker Pilipp
The instructions about how to modify the horizontal space between the notes in
chapter 10.5.6 (version 2.7.36) are not really useful because there is no
example how the exact syntax looks like. Instructions in the paper block like

\paper{
spacing-increment=1.0
}

did not work.



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