Re: Combining verses into one chorus

2007-05-14 Thread Mats Bengtsson

When it comes to typesetting practice, I think it is just as common to to
typeset this kind of situation without a brace (in particular if you add a
line break before the chorus). However, if you really want a brace,
you could do something along the lines of the trick described in
http://lists.gnu.org/archive/html/lilypond-user/2007-03/msg00312.html

(I have just added the same example to the LSR).

  /Mats

Jebus wrote:

Good day.

I'm *very* new to lilypond, and I have no musical background. (Just 
thought I'd get that out of the way). My wife does though, and some of 
her loose sheet music is getting ratty, so I thought I'd transcribe 
some of it into a file for lilypond so I could print it out and it 
would nice and clean.


I've come across many problems while doing this, but I've been able to 
find answers to all my questions (by either reading the lilypond 
website or searching for clues using google) save one. I just can't 
for the life of me figure out how to combine two sets of verses into 
one centered chorus. I know this may sound strange and/or anal, but a 
picture is worth a thousand words, so with the following code:

\relative c' {
\new Staff <<
\key es \major
\time 4/4
{
c c c c
			r d d d 
			f2 f

}
\addlyrics {
\set stanza = "1. "
This is verse one.
This is the chor -- us.
}
\addlyrics {
\set stanza = "2. "
This is verse two.
}
>>
}
  
I produce this output:

Combining verses into one chorus

What I'm looking to achieve is this:
Combining verses into one chorus
I just used some image editing software to produce the above image.

Can anyone shed any light on how I can achieve the desired results?

Thank you very much for your time.
J.

View this message in context: Combining verses into one chorus 

Sent from the Gnu - Lilypond - User mailing list archive 
 at Nabble.com.



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


--
=
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
=



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


Re: lilypond-book and latex

2007-05-14 Thread Mats Bengtsson



Sebastian Menge wrote:



It's not especially clever, but I wouldn't dream of using
lilypond-book without a Makefile to run the commands.  So just set the



yes, i thought of that too, but then i would loose so many features of
vim-latexsuite like:

   * recompiling if necessary (aux-file change etc)
   * quickfix (directly jump to the line where an error occured, based
on output of compilation)
   * forward and reverse search (from vim to xdvi and back again, very
cool)

Essentially I would like to simply run latex on a file containing
lilypond markup.
  
It shouldn't be hard to write  a script in your favourite scripting 
language,

that performs the necessary steps in a single command. Then you can replace
the call to latex by a call to your script in vim. If you make sure
that the printouts from latex are echoed on standard output, then the 
"quickfix"

should work.

Perhaps since most of the work I do is on the text rather than on the
music, i could imagine to only run lilypond when i changed something
with the music. how would one do that?
  

That's already taken care of in lilypond-book, which only runs lilypond if
any of the music has changed, otherwise it just goes through the LaTeX
code and makes sure that the lilypond code is replaced by the suitable
\includegraphics commands.

   /Mats


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


corrective to Problem while using OpenOffice.org with macro OOoLilyPond/basic/script.xlb -see attachemnt-

2007-05-14 Thread Ledocq-Boccart

Dear Antanas, thank you for your answer,

the problem is I cannot edit the dialog box  anymore as I receive the 
following error message after entering Ctrl+M: "valeur ou type de 
données incorrect(e).Index hors de la plage définie" translated in 
englich = error message of OpenOffice.org 2.0:  "incorrect value or data

type. Index outside defined range".

It happens that way even afetr uninstalling OpenOffice.org, LilyPond and 
OOoLilyPond, and having cleaned up the registry keys.


It looks as if the PC had irreversibly memorized the initial incorrcet 
action.


Regards

Charlie


---
I am using OpenOffice.org version 2.0.3 on winXP . My problem is :

on OpenOffice.org with macro Ctrl+M from OOoLilyPond (version 2.10)

The Ctrl+M macro does not start anymore, even after new installation of
all LilyPond, OOoLilypond and OpenOffice.org version 2.0.3 !
I even have cleaned the registry (I use regularly Regseeker without
trouble).

This happened after having modifies the path of the LilyPond executable
file in the dialog window, because I had an error message "file
c:\program ... not found"

OOoLilypond, OpenOffice.org and LilyPond are all installed in c:\Program
Files\
The library script.xlb and the ctrl+M have been carefully installed
according to the instructio given with OOoLilyPond, excepted that the
macro is refused to be installed in the Macro OpenOffice Library (the
***Append*** button is not activable when selecting the radio button
"Macros
OpenOffice"; I have installed it in My Macros file, wihch allows to
activate the button ***"append"***.
Customization of ctrl+M has been done according to instructions.

What happens now:
while opening a writer document with OpenOffice.org:

typing Ctrl+M, Enter
   gives an error message of OpenOffice.org:  "incorrect value or data
type: index outside defined range"

together with a sreen showing the basic instructions with one marked
with ared arrow flag in the left column "ReDim Preserve sTemplate(i-1)
As String".


Could somebody help to find a solution to this?

Thanks for answer

Charlie


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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.5/791 - Release Date: 6/05/2007
9:07






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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.0/801 - Release Date: 
12/05/2007 18:40





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


Re: figured base with suspensions

2007-05-14 Thread Mats Bengtsson

If you please send a small (but complete, so it can be ran directly through
LilyPond) example mailing list, showing what you tried so far, it is 
much easier

to provide a relevant answer.

  /Mats

Alan Jones wrote:

Hi,
I'm trying to use lilypond to prepare homework for my first
year theory class, so the figured base feature is of interest
to me.  However, my text book and teacher use base figures
with suspensions, e.g .:
   6
2-3
... for first inversion triad with base voice 2-3 suspension.
I've tried using mutiple base figures spaced on 32'nd note
intervals, however the vertical allignment doesn't work very
well.  Is there anyone who has already looked into this that
has a better solution?
Alan


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


--
=
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
=



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


STDIN problem on Windows platform - How to make it work

2007-05-14 Thread Clifford W. Racz
The STDIN does not work in NTShell command line as it should.  This is 
NOT a problem with lilypond, but rather with Windows.


I have solved this problem and I am posting for others who may RTFM to 
solve it.


It seems that there is a comment on this as a general problem with Windows:
http://www.velocityreviews.com/forums/t356170-cant-detect-eof-from-stdin-on-windows-console.html

The EOF is [CTRL+Z] on the Windows platform, but it cannot be sent at 
just any time.  It must be at the beginning of the line (or an entire 
line by itself).  So, it works like this:


*$ *lilypond.exe -b eps --pdf --output=foo3 -
*GNU LilyPond 2.10.23
Processing `-'
Parsing...*
\paper {
 #(define dump-extents #t)
 indent = 0\mm
 line-width = 160\mm - 2.0 * 0.4\in
 ragged-right = ##t
 force-assignment = #""
 line-width = #(- line-width (* mm  3.00))
}

\relative c' { \sourcefileline 10 a b c d e f g' }
^Z

*-: 0: warning: no \version statement found, please add

\version "2.10.23"

for future compatibility
Interpreting music... [1]
Preprocessing graphical objects...
Writing foo3-systems.tex...
Writing foo3-systems.texi...
Layout output to `foo3-1.eps'...
Converting to `foo3-1.pdf'...
Layout output to `foo3.eps'...
Converting to `foo3.pdf'...*

The key-strokes are
[ENTER][CTRL+Z][ENTER]
at the end of the music code

Hope this helps someone else.  This software is really great!

--
*
Clifford W. Racz
Purdue University
Agricultural and Biological Engineering
225 South University Street
West Lafayette, IN  47907-2093
Office: ABE316
Phone:  (765) 49-45731
Fax:(765) 49-61356
*

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


Re: TeXShop and Lilypond

2007-05-14 Thread Kieren MacMillan

Hi, Michael:


At long last Lilypond and TeXShop are working together on my system.


Thank you so much for this post -- I now have Lilypond-TeXShop  
working here, too, and it's fabulous!

Hopefully, others will benefit from your work as well.

One quick note:

Turning the engine source code into a correct engine file was a  
problem for me.


Using Firefox, I was able to save the file directly as a text file  
(no Word intervention), with the filename already correctly set  
(i.e., without the .txt extension).


Best wishes,
Kieren.


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


chord syntax (Cm7M)

2007-05-14 Thread Iacopo

How to write in \chordmode this chord?
Notes: [C, D#, G, B] or [C, D#, B]
Intervals: min, maj, maj
Name: Cm7M
Thanks
--
Iacopo
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Template for a leadsheet (vocal, chords, lyrics, several verses)

2007-05-14 Thread Jens Meyer

Hello Mats, hello Jack!

Thank you very much for your helpful answers to my request.

Based on Jacks example-template I made the next steps forward. But I 
still have a problem to add several verses to my score.

Of course - the basic example from the DOCs is working for me.

But in this case I have a chorus with a single line of text first and 
three verses after that. Jack, you used fix positioned text for further 
verses but because I want to use this template for several layouts I 
would like to avoid this to save editing-time. ;-)


Find attached my template. Sorry for sending template in full - but I 
don't want to shorten the wrong lines.


My two concrete problems are:
- How to print out/show all three verses?
- Why are there many unwanted "-" in the Score (i.e. bar 18/19, 23, 26, 
...)?


Thank you and kind regards!

  Jens


Mats Bengtsson schrieb:
Take a look at the section on Divisi lyrics in the manual, which shows a 
very similar situation. Exactly the same principle can be used for your 
case.


  /Mats

Quoting Jens Meyer <[EMAIL PROTECTED]>:


Hello Lilypond-users!

I used music-printing with my Windows-sequencing-software since several
years until I "met" Lilypond yesterday.

Wow - I am deeply impressed about this software! I spent several hours
(and a part of the night...) to understand the basics and to print my
first layout.
Printing vocals with chords and lyrics was successful now. ;-)

But I can't find a solution for printing a leadsheet like this:

- chorus (including "\repeat", chords, one line lyrics)
- verse (including chords, 3 lines lyrics for 3 verses)

I had a look at the examples and snippets but I can't find an example
for that. I would suggest that this is no major problem for this great
software, isn't it? ;-)

Do you have any hints or template for me?

Thank you in advance,
kind and musical greetings,

Jens





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






% Template based on Leadsheet-template from Jack Cooper - thank you!

 \version "2.11.23"
 \include "deutsch.ly"

% SZ is one of 11, 13, 16, 19, 20, 23 and 26
#(set-global-staff-size 16) 

\paper {
  between-system-space = 10\mm
  % paper variables hsize and vsize
  #(set-paper-size "a4")
  %linewidth = 8\cm
  indent = 0\mm
  % nothing: paperheight = 15.0 \cm
  % nothing: paperwidth = 12.0 \cm
}

\header {
   dedication =""
   title = \markup \override #'(font-name . "Maiandra GD" ) \fontsize #5 
\bold { Sei behütet }
   subtitle = ""
   subsubtitle = ""
   poet = ""
   composer = \markup \override #'(font-name . "Maiandra GD" )  { (C) 2001 
C. Bittlinger}
   meter = ""
   opus = ""
   arranger = ""
   % instrument = \markup \override #'(font-name . "Maiandra GD" )  { 
Leadsheet }
   piece = ""
   breakbore = ""
   % copyright = \markup \override #'(font-name . "Maiandra GD" ) \italic 
\bold { -- To play the chords shown in the fret diagrams, place capo on second 
fret -- }
   tagline= "Engraved using Lilypond -- www.lilypond.com - based on 
leadsheet-template by Jack Cooper"   
 }

% -- SONG STRUCTURE SECTION --

intro = {
\override TextScript #'staff-padding = #3.0   
%r1\bmin | r1\gmaj | r1\bmin | r1\gmaj \bar  "||"
\skip2 es'4 f' |
}

verseone = {
\override TextScript #'staff-padding = #3.0
\mark \markup {\smaller \italic \bold {Verse}} es'8 c' es' c' es'4 c' |
es'2 g'4 b'~ | b'2 r2 | r2 b'4 b' | b' as' as' g' |
es'2 g'4 f'~ | f'2 r2 | r1 | es'8 c' es' c' es'4 c' |
es'2 g'4 b'~ | b'2 r2 | r2 b'4 b' | b' as' as' g' |
es'2 g'4 f'~ | f'2 r2 | r2 es'4 f' |
}

chorus = {
\override TextScript #'staff-padding = #3.0
\mark \markup {\smaller \italic \bold {Chorus}}
% \skip2 es'4 f' |
g'2 g' | r4 g' as' g' |
g'2 f' | r2 f'4 g' | as'2 as'4 as' |
as'4 g' f' es' | f'1 |
r4 f'4 g' as' | b'2 b' | b'4 b' c'' b' |
b'2 g' | r2 f'4 g' | as'2 as' |
as'4 g' f' es' | f'1 | r1 |
}


song = {
 \set Staff.voltaOnThisStaff = ##f
 \clef treble
 \key es \major
 \time 4/4
 \override MultiMeasureRest #'expand-limit = 1 

 % Auftakt...
 \new Voice = "intro"   {\intro}
 
 \repeat volta 2 {
\new Voice = "chorus"   {\chorus}
\break
\new Voice = "verseone" {\verseone}
% \new Voice = "verseone" {\versetwo}

 }
}


   
lyrIntro = \lyricmode {
  Sei be --
}

lyrVerseOne = \lyricmode {
  \set stanza = "1. "
  \set associatedVoice = #"verseone"
  Mit -- ten in die grau -- e All -- tags -- welt,
  " " die sang- und klang -- los mich be -- engt,
  hö -- re ich ein Lied, das mir ge -- fällt
  " " und das mir Pers -- pek -- ti -- ven schenkt.
  Sei be-
}

lyrVerseTwo = \lyricmode {
  \set stanza = "2. "
  \set associatedVoice = #"verseone"
  Manch -- mal, wenn ein Tag zu En -- de geht,
  und die Nacht durch al -- le Rit -- zen dringt,
  spü -- re ich den Wind, der uns um -- weht
  " " und

Re: Italic Greek and nonroman Unicode?

2007-05-14 Thread Trevor Bača

On 3/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hi,


Hi Tom,

Just adding answers in here for posterity in the archive ...



For getting italic Greek characters --

1) Do you have a font with italic Greek characters installed on your
computer?  (I don't on mine.)


Yes, which is visible when, say, you check the fonts menu in a GUI
program like InDesign.



2) If so, is that italic Greek font file included amongst the fonts that
your installation of LilyPond knows about?


No, and this turned out to be precisely the problem. This is visible
running -dshow-available-fonts and the solution for how to work this
out under OS X is here ...

http://lists.gnu.org/archive/html/lilypond-user/2007-03/msg00472.html





If an italic Greek font is not available to Lily, it probably chooses a
best-fit font, which would be a Greek font with upright characters.

In addition, if the only italic Greek font you had installed were a
sans-serif font, then

   \markup { \italic \roman "G-r-e-e-k-c-h-a-r-s" }

would almost certainly *still* pick upright roman Greek as the best fit.


Right, and this is exactly what happens until you teach lily about the
location of the correct font using fondu.




-- Tom



Trevor Baca wrote:

>Hi,
>?
>The output of \markup \italic { "θ" } is upright instead of italic.
>(Compare with \markup \italic { "th" } which is, in fact, italic.)
>
>Is there a way to get italic Greek (and other nonroman) Unicode markup?
>
>--
>Trevor BaÄ^Ía
>[EMAIL PROTECTED]





--
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Dynamic page size

2007-05-14 Thread Arjen Bax
Jonas Nyström schreef:

> Is it possible to specify the page size to dynamically relate to the
> content?
> For example, is it possible to create a single system page with dynamic
> width, corresponding to the number and the width of the bars?
> (Like Finale Scroll View?)

I don't think so, but I would start by specifying a ridiculously large
page width (wide enoug for your music to fit on one system) and
ragged-right = ##t and using the eps backend.

HTH,
Arjen



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


Re: chord syntax (Cm7M)

2007-05-14 Thread plutek

>From: Iacopo <[EMAIL PROTECTED]>

>How to write in \chordmode this chord?
>Notes: [C, D#, G, B] or [C, D#, B]
>Intervals: min, maj, maj
>Name: Cm7M

for a quarter-note:

c4:min 7+

-- 
.pltk.


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


Re: Template for a leadsheet (vocal, chords, lyrics, several verses)

2007-05-14 Thread Mats Bengtsson

You just need a new "\New Lyrics" for each separate lyrics line.
For example, you can replace your \score section with the following
one to get the desired layout:

\score {
   <<
\set Score.skipBars = ##t

   
   
\context ChordNames = mychords {

\override ChordName #'font-series =#'bold
\override ChordName #'font-size = #1 
% \override ChordName #'word-space = #1.0
% \set chordChanges = ##t

\set majorSevenSymbol = "maj7"
\set voltaOnThisStaff = ##t
\override VoltaBracket #'minimum-space = #2
\harmonies
}

   \new Staff = "song" { \song }

   \new Lyrics <<  
\lyricsto "intro" \lyrIntro

\lyricsto "chorus" \lyrChorus
\lyricsto "verseone"\lyrVerseOne
>>  
\new Lyrics \lyricsto "verseone" \lyrVerseTwo

\new Lyrics \lyricsto "verseone" \lyrVerseThree


Note that I replaced your \new Voice with \new Staff, since you
already define your voices within the \song identifier.
You can also remove all your
 \set associatedVoice = #"verseone"
settings, which are not needed when you use \lyricsto.

  /Mats

Jens Meyer wrote:


Hello Mats, hello Jack!

Thank you very much for your helpful answers to my request.

Based on Jacks example-template I made the next steps forward. But I 
still have a problem to add several verses to my score.

Of course - the basic example from the DOCs is working for me.

But in this case I have a chorus with a single line of text first and 
three verses after that. Jack, you used fix positioned text for 
further verses but because I want to use this template for several 
layouts I would like to avoid this to save editing-time. ;-)


Find attached my template. Sorry for sending template in full - but I 
don't want to shorten the wrong lines.


My two concrete problems are:
- How to print out/show all three verses?
- Why are there many unwanted "-" in the Score (i.e. bar 18/19, 23, 
26, ...)?


Thank you and kind regards!

  Jens


Mats Bengtsson schrieb:

Take a look at the section on Divisi lyrics in the manual, which 
shows a very similar situation. Exactly the same principle can be 
used for your case.


  /Mats

Quoting Jens Meyer <[EMAIL PROTECTED]>:


Hello Lilypond-users!

I used music-printing with my Windows-sequencing-software since several
years until I "met" Lilypond yesterday.

Wow - I am deeply impressed about this software! I spent several hours
(and a part of the night...) to understand the basics and to print my
first layout.
Printing vocals with chords and lyrics was successful now. ;-)

But I can't find a solution for printing a leadsheet like this:

- chorus (including "\repeat", chords, one line lyrics)
- verse (including chords, 3 lines lyrics for 3 verses)

I had a look at the examples and snippets but I can't find an example
for that. I would suggest that this is no major problem for this great
software, isn't it? ;-)

Do you have any hints or template for me?

Thank you in advance,
kind and musical greetings,

Jens





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









% Template based on Leadsheet-template from Jack Cooper - thank you!

\version "2.11.23"
\include "deutsch.ly"

% SZ is one of 11, 13, 16, 19, 20, 23 and 26
#(set-global-staff-size 16) 


\paper {
 between-system-space = 10\mm
 % paper variables hsize and vsize
 #(set-paper-size "a4")
 %linewidth = 8\cm
 indent = 0\mm
 % nothing: paperheight = 15.0 \cm
 % nothing: paperwidth = 12.0 \cm
}

\header {
  dedication =""
  title = \markup \override #'(font-name . "Maiandra GD" ) \fontsize #5 
\bold { Sei behütet }
  subtitle = ""
  subsubtitle = ""
  poet = ""
  composer = \markup \override #'(font-name . "Maiandra GD" )  { (C) 2001 
C. Bittlinger}
  meter = ""
  opus = ""
  arranger = ""
  % instrument = \markup \override #'(font-name . "Maiandra GD" )  { 
Leadsheet }
  piece = ""
  breakbore = ""
  % copyright = \markup \override #'(font-name . "Maiandra GD" ) \italic 
\bold { -- To play the chords shown in the fret diagrams, place capo on second fret -- }
  tagline= "Engraved using Lilypond -- www.lilypond.com - based on leadsheet-template by Jack Cooper"   
}


% -- SONG STRUCTURE SECTION --

intro = {
\override TextScript #'staff-padding = #3.0   
%r1\bmin | r1\gmaj | r1\bmin | r1\gmaj \bar  "||"

\skip2 es'4 f' |
}

verseone = {
\override TextScript #'staff-padding = #3.0
\mark \markup {\smaller \italic \bold {Verse}} es'8 c' es' c' es'4 c' |
es'2 g'4 b'~ | b'2 r2 | r2 b'4 b' | b' as' as' g' |
es'2 g'4 f'~ | f'2 r2 | r1 | es'8 c' es' c' es'4 c' |
es'2 g'4 b'~ | b'2 r2 | r2 b'4 b' | b' as' as' g' |
es'2 g'4 f'~ | f'2 r2 | r2 es'4 f' |
}

chorus = {
\override TextScript #'staff-padding = #

Re: Combining verses into one chorus

2007-05-14 Thread Jebus

Thank you Mats for pointing me in the right direction!


For those who care, the following code will produce the desired(as pictured
in previous post) results:


leftbrace = \markup {\override #'(font-encoding . fetaBraces) \lookup
#"brace175" }
rightbrace = \markup {\rotate #3.14 \leftbrace }
\relative c' {
\new Staff <<
\key es \major
\time 4/4
{
c4 c c c
r d d d 
f2 f
}
\addlyrics {
\set stanza = "1. "
This is verse one. __
\override LyricText #'Y-offset = #-2%Move 
Lyrics down
\override LyricHyphen #'Y-offset = #-2  %Move 
Lyric Hyphens down
\override LyricExtender #'Y-offset = #-2%Move 
Lyric Extenders down (Is
there one property for all 3?)
\once\override LyricText #'self-alignment-X = #RIGHT
\markup{\rightbrace " This" }   %Line 
is Right-Aligned so the
curly brace is right after the verses
is the __ chor -- us.
}
\addlyrics {
\set stanza = "2. "
This is verse two. __
\override LyricText #'transparent = ##t "." 
%Required to end the __ at
the proper place
}
>>
}



-- 
View this message in context: 
http://www.nabble.com/Combining-verses-into-one-chorus-tf3735723.html#a10611969
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Spacing with arpeggio

2007-05-14 Thread Helge Kruse

Hello,

I edited a small piece for harp. Everything looks quite nice, except the 
final chord in the last measure.


How do I avoid the nearby collision between arpeggio and previous note (D)?
How can I draw the arpeggio over lower and upper staff?

Best regards, Helge%
%	Give Me Your Hand
%	second harp
%

\include "deutsch.ly"

upperNotes = \relative c' {

	\stemUp
	r8. e16 g c r8. g16 h d
	r8. e,16 g c r8. g16 h d
	r8. e,16 g c r8. g16 h d
	r8. g,16 h e r8. g,16 h e
	r8. fis,16 a d r8. g,16 h e
	
	r8. fis,16 a d r8. e,16 g c
	r8. e,16 g c r8. g16 h d
	r8. e,16 g c r8. g16 h d
	r8. e,16 g c r8. g16 h d
	r8. fis,16 a d r8. g,16 h d
	
	r8. e,16 g c r8. g16 h d 
	r8. g,16 h e r8. g,16 h e
	r8.	fis,16 a d r8. g,16 h e
	r8. fis,16 a d r8. g,16 h e
	r8. g,16 h d r8. g,16 c e
	
	r8. c16 e g r8. d16 fis a
	r8  4\arpeggio 	r8  4\arpeggio 	
	r8  4\arpeggio 	r8. e'16 g h
	r8. e,16 g h r8. e,16 g h
	r8. d,16 fis a r8. d,16 g h
	
	r8 4\arpeggio r8 4\arpeggio
	r8 4\arpeggio r8 4\arpeggio
	r8. e'16 g c r8. g16 h d
	r8. c16 e g r8. c,16 e g
	r8. h,16 d g r8. g,16 h e
	
	r8. fis,16  a d r8. g,16 h d
	r8. e,16 g c r8. g16 h d
	r8. e,16 g c r8. g16 h d
	r8. e,16 g c r8. g16 h d r8. fis,16 a d 4.\arpeggio
}


upperStaff = {

	\clef treble
	\key e \minor
	\time 6/8

	\upperNotes
}

lowerNotes = 	\relative c {

	c16 g' c r8. g16 h d r8.
	c,16 g' c r8. g16 h d r8.
	c,16 g' c r8. g16 h d r8.
	e,16 h' e r8. g,16 h e r8.
	d,16 a' d r8. e,16 h' e r8.
	
	d,16 a' d r8. c,16 g' c r8.
	c,16 g' c r8. g16 h d r8.
	c,16 g' c r8. g16 h d r8.
	c,16 g' c r8. g16 h d r8.
	d,16 a' d r8. g,16 h d r8.
	
	c,16 g' c r8. g16 h d r8.
	e,16 h' e r8. g,16 h e r8.
	d,16 a' d r8. e,16 h' e r8.
	d,16 a' d r8. g,16 h e r8.
	g,16 h d r8. g,16 c e r8.
	
	 
	\change Staff=upper \stemDown
	c16 e g r8. d16 fis a r8.
	\change Staff=lower
	g,4. g4.
	g4.	\change Staff=upper \stemDown e'16 g h r8.
	e,16 g h r8. e,16 g h r8.
	d,16 fis a r8. d,16 fis a r8.
	
	\change Staff=lower
	c,4. h4.
	g4. d4.
	c16 g' c r8. g16 h d r8.
	\change Staff=upper c16 e g r8. c,16 e g r8.
	h,16 d g \change Staff=lower r8. g,16 h e r8.
	
	d,16 a' d r8. g,16 h d r8.
	c,16 g' c r8. g16 h d r8. 
	c,16 g' c r8. g16 h d r8.
	c,16 g' c r8. g16 h d r8.
	d,16 a' d r8. 4.\arpeggio
}

lowerStaff = {
	\clef bass
	\key g \major
	\time 6/8
	
	\lowerNotes
}

\book {
	\header {
		title = \markup { \italic "Give Me Your Hand"  }
		subtitle = " "
		arranger = \markup { \column {"Arr. B. Kerscher" " " } }
		dedication = { }
		tagline = \markup { "Give Me Your Hand - abgepinselt von Helge" }
	}
	\score {
		\context PianoStaff <<
			\set PianoStaff.instrumentName = "Harfe 2" 
			\context Staff = upper \upperStaff
			\context Staff = lower \lowerStaff
		>>
		\layout { }
		\midi { }
	}
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Template for a leadsheet (vocal, chords, lyrics, several verses)

2007-05-14 Thread Jens Meyer

Hello!

Thank you very much for your help! Everything works fine now.

Now I started the finetuning. ;-)
Wow - really a great piece of software...

Kind regards,

   Jens

Mats Bengtsson schrieb:

You just need a new "\New Lyrics" for each separate lyrics line.
For example, you can replace your \score section with the following
one to get the desired layout:

\score {
   <<
\set Score.skipBars = ##t

  \context ChordNames = mychords {
\override ChordName #'font-series =#'bold
\override ChordName #'font-size = #1 % \override 
ChordName #'word-space = #1.0% \set chordChanges = ##t

\set majorSevenSymbol = "maj7"
\set voltaOnThisStaff = ##t
\override VoltaBracket #'minimum-space = #2
\harmonies
}

   \new Staff = "song" { \song }

   \new Lyrics <<  \lyricsto "intro" \lyrIntro
\lyricsto "chorus" \lyrChorus
\lyricsto "verseone"\lyrVerseOne
>>  \new Lyrics \lyricsto "verseone" \lyrVerseTwo
\new Lyrics \lyricsto "verseone" \lyrVerseThree


Note that I replaced your \new Voice with \new Staff, since you
already define your voices within the \song identifier.
You can also remove all your
 \set associatedVoice = #"verseone"
settings, which are not needed when you use \lyricsto.

  /Mats

Jens Meyer wrote:


Hello Mats, hello Jack!

Thank you very much for your helpful answers to my request.

Based on Jacks example-template I made the next steps forward. But I 
still have a problem to add several verses to my score.

Of course - the basic example from the DOCs is working for me.

But in this case I have a chorus with a single line of text first and 
three verses after that. Jack, you used fix positioned text for 
further verses but because I want to use this template for several 
layouts I would like to avoid this to save editing-time. ;-)


Find attached my template. Sorry for sending template in full - but I 
don't want to shorten the wrong lines.


My two concrete problems are:
- How to print out/show all three verses?
- Why are there many unwanted "-" in the Score (i.e. bar 18/19, 23, 
26, ...)?


Thank you and kind regards!

  Jens


Mats Bengtsson schrieb:

Take a look at the section on Divisi lyrics in the manual, which 
shows a very similar situation. Exactly the same principle can be 
used for your case.


  /Mats

Quoting Jens Meyer <[EMAIL PROTECTED]>:


Hello Lilypond-users!

I used music-printing with my Windows-sequencing-software since several
years until I "met" Lilypond yesterday.

Wow - I am deeply impressed about this software! I spent several hours
(and a part of the night...) to understand the basics and to print my
first layout.
Printing vocals with chords and lyrics was successful now. ;-)

But I can't find a solution for printing a leadsheet like this:

- chorus (including "\repeat", chords, one line lyrics)
- verse (including chords, 3 lines lyrics for 3 verses)

I had a look at the examples and snippets but I can't find an example
for that. I would suggest that this is no major problem for this great
software, isn't it? ;-)

Do you have any hints or template for me?

Thank you in advance,
kind and musical greetings,

Jens





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









% Template based on Leadsheet-template from Jack Cooper - thank you!

\version "2.11.23"
\include "deutsch.ly"

% SZ is one of 11, 13, 16, 19, 20, 23 and 26
#(set-global-staff-size 16)
\paper {
 between-system-space = 10\mm
 % paper variables hsize and vsize
 #(set-paper-size "a4")
 %linewidth = 8\cm
 indent = 0\mm
 % nothing: paperheight = 15.0 \cm
 % nothing: paperwidth = 12.0 \cm
}

\header {
  dedication =""
  title = \markup \override #'(font-name . "Maiandra GD" ) 
\fontsize #5 \bold { Sei behütet }

  subtitle = ""
  subsubtitle = ""
  poet = ""
  composer = \markup \override #'(font-name . "Maiandra GD" )  { 
(C) 2001 C. Bittlinger}

  meter = ""
  opus = ""
  arranger = ""
  % instrument = \markup \override #'(font-name . "Maiandra GD" )  
{ Leadsheet }

  piece = ""
  breakbore = ""
  % copyright = \markup \override #'(font-name . "Maiandra GD" ) 
\italic \bold { -- To play the chords shown in the fret diagrams, 
place capo on second fret -- }
  tagline= "Engraved using Lilypond -- www.lilypond.com - based on 
leadsheet-template by Jack Cooper"   }


% -- SONG STRUCTURE SECTION --

intro = {
\override TextScript #'staff-padding = #3.0   %r1\bmin | r1\gmaj | 
r1\bmin | r1\gmaj \bar  "||"

\skip2 es'4 f' |
}

verseone = {
\override TextScript #'staff-padding = #3.0
\mark \markup {\smaller \italic \bold {Verse}} es'8 c' es' c' es'4 c' |
es'2 g'4 b'~ | b'2 r2 | r2 b'4 b' | b' as' as' g' |
es'

RE: corrective to Problem while using OpenOffice.org withmacro OOoLilyPond/basic/script.xlb -see attachemnt-

2007-05-14 Thread Paul Harouff
When I received this error, there was a line of code highlighted. In that
line I edited the index (i-1) to (i) and the script started working.

Note that you also will have to edit Subs.xba to change the 4 occurrences of
"-b eps" to say "-dbackend=eps"

Finally, I found that changing templates\2.10\letter.ly to something like
the following allows using \score blocks in the snippets:

\version "2.11.15"

\include "lilypond-book-preamble.ly"

\paper {
  #(define dump-extents #t)
  #(set-paper-size "letter")
  paper-height = 11\in
  paper-width = 8.5\in
  top-margin = 0.5\in
  bottom-margin = 0.5\in
  left-margin = 0.5\in
  line-width = 7.5\in
%  between-system-padding = 0.5\in
%  between-system-space = 0.25\in
  ragged-last = ##f
  ragged-bottom = ##t
  ragged-right = ##f
% system-count = #1
% print-first-page-number = ##f
% print-page-number = ##t
  oddFooterMarkup = \markup { \fill-line { \hspace #0 { \bold \fromproperty
#'page:page-number-string } } }
  evenFooterMarkup = \markup { \fill-line { { \bold \fromproperty
#'page:page-number-string } \hspace #0 } }
  oddHeaderMarkup = \markup { \fill-line { \hspace #0 { "" } } }
  evenHeaderMarkup = \markup { \fill-line { { "" } \hspace #0 } }
}

global = {
  #(set-global-staff-size 14)
  \override Staff.VerticalAxisGroup #'minimum-Y-extent = #'(-0.5 . 0.5)
  % \override Lyrics.LyricText #'font-size = #0.0
  % \override Lyrics.LyricText #'word-space = #0.6
  % \override Lyrics.LyricSpace #'minimum-distance = #1.0
}


% ly snippet contents follows:
c' d' e'
% end ly snippet


Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Ledocq-Boccart
Sent: Monday, May 14, 2007 5:24 AM
To: lilypond-user@gnu.org; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: corrective to Problem while using OpenOffice.org withmacro
OOoLilyPond/basic/script.xlb -see attachemnt-

Dear Antanas, thank you for your answer,

the problem is I cannot edit the dialog box  anymore as I receive the 
following error message after entering Ctrl+M: "valeur ou type de 
données incorrect(e).Index hors de la plage définie" translated in 
englich = error message of OpenOffice.org 2.0:  "incorrect value or data
type. Index outside defined range".

It happens that way even afetr uninstalling OpenOffice.org, LilyPond and 
OOoLilyPond, and having cleaned up the registry keys.

It looks as if the PC had irreversibly memorized the initial incorrcet 
action.

Regards

Charlie


---
I am using OpenOffice.org version 2.0.3 on winXP . My problem is :

on OpenOffice.org with macro Ctrl+M from OOoLilyPond (version 2.10)

The Ctrl+M macro does not start anymore, even after new installation of
all LilyPond, OOoLilypond and OpenOffice.org version 2.0.3 !
I even have cleaned the registry (I use regularly Regseeker without
trouble).

This happened after having modifies the path of the LilyPond executable
file in the dialog window, because I had an error message "file
c:\program ... not found"

OOoLilypond, OpenOffice.org and LilyPond are all installed in c:\Program
Files\
The library script.xlb and the ctrl+M have been carefully installed
according to the instructio given with OOoLilyPond, excepted that the
macro is refused to be installed in the Macro OpenOffice Library (the
***Append*** button is not activable when selecting the radio button
"Macros
OpenOffice"; I have installed it in My Macros file, wihch allows to
activate the button ***"append"***.
Customization of ctrl+M has been done according to instructions.

What happens now:
while opening a writer document with OpenOffice.org:

typing Ctrl+M, Enter
gives an error message of OpenOffice.org:  "incorrect value or data
type: index outside defined range"

together with a sreen showing the basic instructions with one marked
with ared arrow flag in the left column "ReDim Preserve sTemplate(i-1)
As String".


Could somebody help to find a solution to this?

Thanks for answer

Charlie


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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.5/791 - Release Date: 6/05/2007
9:07






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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.0/801 - Release Date: 
12/05/2007 18:40




___
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


figured base does not track notes in staff

2007-05-14 Thread Alan Jones

I took the following example from the documentation, but added
the tailing g's.  No matter how many notes are cramed into the
line, the figures remain in the same place.  Aren't the figures
supposed to track with the notes similar to lyrics?
Alan

\version "2.10.17"
\new Voice {
 \clef bass dis4 c d ais g fis g g g g g g g g g g g g g
}
\new FiguredBass \figuremode {
 <6>4 <7\+>8 <6+ [_!]>
 <6>4 <6 5 [3+]>
 <_>4 <6 5/>4
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: figured base does not track notes in staff

2007-05-14 Thread Mats Bengtsson

Please read the section "How LilyPond files work" in the manual.
There you will learn that your example below is equivalent to
\score{
 \new Voice{ ... }
}

\score{
 \new FiguredBass \figuremode { ... }
}

In other words, you have typeset two separate scores, one
with the notes and one with the figures.

You have to tell LilyPond that you want these two to be
typeset together as a single score with two simultaneous
lines, see the section on "Music expressions explained"
in the Tutorial. For example, you can use
\score{
 <<
   \new Voice{ ... }
   \new FiguredBass \figuremode { ... }
  >>
}


  /Mats

Alan Jones wrote:


I took the following example from the documentation, but added
the tailing g's.  No matter how many notes are cramed into the
line, the figures remain in the same place.  Aren't the figures
supposed to track with the notes similar to lyrics?
Alan

\version "2.10.17"
\new Voice {
  \clef bass dis4 c d ais g fis g g g g g g g g g g g g g
}
\new FiguredBass \figuremode {
  <6>4 <7\+>8 <6+ [_!]>
  <6>4 <6 5 [3+]>
  <_>4 <6 5/>4
}



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




--
=
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
=



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


Re: Spacing with arpeggio

2007-05-14 Thread Mats Bengtsson



Helge Kruse wrote:


Hello,

I edited a small piece for harp. Everything looks quite nice, except 
the final chord in the last measure.


Please always tell what LilyPond version you are using.
I also strongly recommend you to add a \version statement
in your LilyPond files, see the section on "Version number"
in the Tutorial.



How do I avoid the nearby collision between arpeggio and previous note 
(D)?


This is something that has been fixed (or at least looks much
better) in the latest development version. However, I think
there are good reasons to stay with the latest stable (2.10.xx)
version anyway. There, you can fix the problem by using the
trick described below "Bugs" in the section on "Horizontal
spacing overview" in the manual.


How can I draw the arpeggio over lower and upper staff?


Read about the connectArpeggios property in the section on
"Arpeggio".

  /Mats



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