margin in sheet music lilypond-book
Hi, As an absolute beginner, I've stumbled upon a strange problem. I'm using lilypond-book (lilypond v2.8.1) to embed my lilypond code in a latex document. After running lilypond-book, as described in the documentation, the sheet music itself apears to have a margin of its own on the left. The result of this, is that the sheet music is shifted to the right side of the page. In ASCII-art, my page looks like this: +---+ | | |heading---p.1--| | | |text goes here | | | | +--+ | | | music| | | | more music | | | | more music | | | | more music | | | +--+ | | | |example ends here | | | +---+ So the width of the sheet music is correct; it's the same as \textwidth. When I open the eps-files that make up the sheet music, I notice that they have a margin on the left side, of 15pt. I've searched this mailinglist and the documentation for a solution, but to no avail. How can I fix this? I hope I've provided enough information. Thanks in advance. Regards, Lodewijk Koopman ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
followvoice for other staffs besides piano?
I would like to put a voice following indication between two staffs of a choral piece, e.g. from the tenor to the bass part. Is it possible to get a marking like the one from \set followVoice = ##t when I am using 4 staffs? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: chord symbol collides w/music
Hello,I know somebody replied to this last night, but your response went to my junk mail folder which I emptied before realizing what was in there. Could you re-submit it please?Thanks for your reply!RickRick Hogg <[EMAIL PROTECTED]> wrote: I know it has something to do with an \override or something, but how do I reposition chord symbols to not interfere with my music?\version "2.8.1"#(set-default-paper-size "letter")\paper { top-margin = 0.00\cm }% the header \header { title = "Cherokee" tagline = "Learn this in all 12 keys!" }% the music melody = \relative c'' { \time 4/4 \clef treble \key g \major% the melody % measures 1-4 b1 | d2 e2 | g2.~ g8 e~ | e1 | \break % measures 5-8 d1 | b2 d | b2.~ b8 a8~ | a1 | \break % measures 9-12 g1 | b2 d2 | b'1 | g | \break % measures 13-16 e1 | d2 b | a2.~ a8 ais8~ | ais1 | \break % measures 17-20 b1 | d2 e | g2.~ g8 e~ | e1 | \break % measures 21-24 d1 | b2 d | b2.~ b8 a~ | a1 | \break % measures 25-28 g1 | b2 d | b'1 | g | \break % measures 29-32 e1 | d2 e | g1~ | g | \break % measures 33-36 c1~ | c2~ c8 bes4. | bes8 g4 ees8~ ees2~ | ees2~ ees8 bes'4. | \break % measures 37-40 bes4 ges8 ees~ ees2~ | ees2 aes4. cis,8~ | cis!1~ | cis!1 | \break % measures 41-44 gis'1~ | gis2~ gis8 fis4. | fis4 ees8 b~ b2~ | b2~ b8 fis'4. | \break % measures 45-48 fis4 d8 b8~ b2~ | b2 e2 | a,1 | bes1 | \break % measures 49-52 b1 | d2 e4. g8~ | g1 | e | \break % measures 53-56 d1 | b2 d2 | b1 | a1 | \break % measures 57-60 g1 | b2 d | b'1 | g | \break % measures 61-64 e1 | d2 e4. g8~ | g1~ | g \bar "|." } harmonies = \chordmode { % measures 1-4 g1:6 | g2:6 d:7 | d1:m7 | g:7 | % measures 5-8 c1:6 | c:6 | f:7 | f:7 | % measures 9-12 g:6 | g:6 | a:7 | a:7 | % measures 13-16 a:m7 | b2:m7.5- e:7 | a1:m7 | d:7aug | % measures 17-20 g:6 | g2:6 d:7 | d1:m7 | g:7 | % measures 21-24 c:6 | c:6 | f:7 | f:7 | % measures 25-28 g:6 | g:6 | a:7 | a:7 | % measures 29-32 a:m7 | d:7 | g:6 | g:6 | % measures 33-36 bes:m7 | ees:7 | aes:maj7 | aes:maj7 | % measures 37-40 aes:m7 | des:7 | fis:maj7 | fis:maj7 | % measures 41-44 fis:m7 | b:7 | e:maj7 | e:maj7 | % measures 45-48 e:m7 | a:7 | a:m7 | d:7 | % measures 49-52 g:6 | g2:6 d:7 | d1:m7 | g:7 | % measures 53-56 c:6 | c:6 | f:7 | f:7 | % measures 57-60 g:6 | g:6 | a:7 | a:7 | % measures 61-64 a:m7 | d:7 | g:6 | g:6 | }\score { << \new ChordNames { \set chordChanges = ##t \harmonies } \new Staff \melody >> } \layout { indent = 0.0\cm }Thanks Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2�/min or less.___lilypond-user mailing listlilypond-user@gnu.orghttp://lists.gnu.org/mailman/listinfo/lilypond-user How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: chord symbol collides w/music
Try searching the mailist archives. - Graham On 9-May-06, at 6:32 AM, Rick Hogg wrote: Hello, I know somebody replied to this last night, but your response went to my junk mail folder which I emptied before realizing what was in there. Could you re-submit it please? Thanks for your reply! Rick Rick Hogg <[EMAIL PROTECTED]> wrote: \version "2.8.1" #(set-default-paper-size "letter") \paper { top-margin = 0.00\cm } % the header \header { title = "Cherokee" tagline = "Learn this in all 12 keys!" } % the music melody = \relative c'' { \time 4/4 \clef treble \key g \major % the melody % measures 1-4 b1 | d2 e2 | g2.~ g8 e~ | e1 | \break % measures 5-8 d1 | b2 d | b2.~ b8 a8~ | a1 | \break % measures 9-12 g1 | b2 d2 | b'1 | g | \break % measures 13-16 e1 | d2 b | a2.~ a8 ais8~ | ais1 | \break % measures 17-20 b1 | d2 e | g2.~ g8 e~ | e1 | \break % measures 21-24 d1 | b2 d | b2.~ b8 a~ | a1 | \break % measures 25-28 g1 | b2 d | b'1 | g | \break % measures 29-32 e1 | d2 e | g1~ | g | \break % measures 33-36 c1~ | c2~ c8 bes4. | bes8 g4 ees8~ ees2~ | ees2~ ees8 bes'4. | \break % measures 37-40 bes4 ges8 ees~ ees2~ | ees2 aes4. cis,8~ | cis!1~ | cis!1 | \break % measures 41-44 gis'1~ | gis2~ gis8 fis4. | fis4 ees8 b~ b2~ | b2~ b8 fis'4. | \break % measures 45-48 fis4 d8 b8~ b2~ | b2 e2 | a,1 | bes1 | \break % measures 49-52 b1 | d2 e4. g8~ | g1 | e | \break % measures 53-56 d1 | b2 d2 | b1 | a1 | \break % measures 57-60 g1 | b2 d | b'1 | g | \break % measures 61-64 e1 | d2 e4. g8~ | g1~ | g \bar "|." } harmonies = \chordmode { % measures 1-4 g1:6 | g2:6 d:7 | d1:m7 | g:7 | % measures 5-8 c1:6 | c:6 | f:7 | f:7 | % measures 9-12 g:6 | g:6 | a:7 | a:7 | % measures 13-16 a:m7 | b2:m7.5- e:7 | a1:m7 | d:7aug | % measures 17-20 g:6 | g2:6 d:7 | d1:m7 | g:7 | % measures 21-24 c:6 | c:6 | f:7 | f:7 | % measures 25-28 g:6 | g:6 | a:7 | a:7 | % measures 29-32 a:m7 | d:7 | g:6 | g:6 | % measures 33-36 bes:m7 | ees:7 | aes:maj7 | aes:maj7 | % measures 37-40 aes:m7 | des:7 | fis:maj7 | fis:maj7 | % measures 41-44 fis:m7 | b:7 | e:maj7 | e:maj7 | % measures 45-48 e:m7 | a:7 | a:m7 | d:7 | % measures 49-52 g:6 | g2:6 d:7 | d1:m7 | g:7 | % measures 53-56 c:6 | c:6 | f:7 | f:7 | % measures 57-60 g:6 | g:6 | a:7 | a:7 | % measures 61-64 a:m7 | d:7 | g:6 | g:6 | } \score { << \new ChordNames { \set chordChanges = ##t \harmonies } \new Staff \melody >> } \layout { indent = 0.0\cm } Thanks Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2�/min or less.___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.___ 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: different notehead styles
Why am I getting an attachment with no cover letter? I don't open attachments unless I know what it is. Stephen - Original Message - From: "Matevz Jekovec" <[EMAIL PROTECTED]> To: Sent: Monday, May 08, 2006 6:02 PM Subject: Re: different notehead styles ___ 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: Beginners first attempt
Thanks On Mon, 2006-05-08 at 09:06 -0700, Rick Hansen (aka RickH) wrote: > I'm not on a computer where I can test this now, but a cursory glance tells > me that your containment of the \center-align { } function is not correct. > All the things that you want "stacked vertically" should be contained in the > center-align outer brackets, you are ending your \center-align column with > only one line item in it. > > Here is an example that stacks the name of the chord as one line, and the > fret diagram as the second line, anything enclosed within \center-align will > keep them "glued together" for you in a vertical column. The things that > you want to stay "glued together" horizontally should be enclosed in a \line > { } container. (note \fret-diagram-terse does not require a \line container > because it it a single markup character) whereas the chord name consists of > multiple characters that need to stay adjacent horizontally and treated as a > single entity for the \center-align column creator. The term \center-align > is misleading, it's really a column creator, if you were using web > consortium standard CSS then, \line and \center-align are analygous to the > display:inline; and display:block; style properties respectively. > > example that stacks 2 lines: > > \markup { \center-align { > \line { F \super \line { 7 \raise #0.5 \flat 9 } } > \fret-diagram-terse #"2;x;1;2;1;x;" > } > } > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: chord symbol collides w/music
On 5/8/06 8:56 PM, "Rick Hogg" <[EMAIL PROTECTED]> wrote: > \version "2.8.1" > #(set-default-paper-size "letter") > \paper { > top-margin = 0.00\cm > } > % the header > \header { > title = "Cherokee" > tagline = "Learn this in all 12 keys!" > } > % the music > melody = \relative c'' { > \time 4/4 > \clef treble > \key g \major > > % the melody > % measures 1-4 > b1 | d2 e2 | g2.~ g8 e~ | e1 | > \break > % measures 5-8 > d1 | b2 d | b2.~ b8 a8~ | a1 | > \break > % measures 9-12 > g1 | b2 d2 | b'1 | g | > \break > % measures 13-16 > e1 | d2 b | a2.~ a8 ais8~ | ais1 | > \break > % measures 17-20 > b1 | d2 e | g2.~ g8 e~ | e1 | > \break > % measures 21-24 > d1 | b2 d | b2.~ b8 a~ | a1 | > \break > % measures 25-28 > g1 | b2 d | b'1 | g | > \break > % measures 29-32 > e1 | d2 e | g1~ | g | > \break > % measures 33-36 > c1~ | c2~ c8 bes4. | bes8 g4 ees8~ ees2~ | ees2~ ees8 bes'4. | > \break > % measures 37-40 > bes4 ges8 ees~ ees2~ | ees2 aes4. cis,8~ | cis!1~ | cis!1 | > \break > % measures 41-44 > gis'1~ | gis2~ gis8 fis4. | fis4 ees8 b~ b2~ | b2~ b8 fis'4. | > \break > % measures 45-48 > fis4 d8 b8~ b2~ | b2 e2 | a,1 | bes1 | > \break > % measures 49-52 > b1 | d2 e4. g8~ | g1 | e | > \break > % measures 53-56 > d1 | b2 d2 | b1 | a1 | > \break > % measures 57-60 > g1 | b2 d | b'1 | g | > \break > % measures 61-64 > e1 | d2 e4. g8~ | g1~ | g \bar "|." } > > harmonies = \chordmode { > % measures 1-4 > g1:6 | g2:6 d:7 | d1:m7 | g:7 | > % measures 5-8 > c1:6 | c:6 | f:7 | f:7 | > % measures 9-12 > g:6 | g:6 | a:7 | a:7 | > % measures 13-16 > a:m7 | b2:m7.5- e:7 | a1:m7 | d:7aug | > % measures 17-20 > g:6 | g2:6 d:7 | d1:m7 | g:7 | > % measures 21-24 > c:6 | c:6 | f:7 | f:7 | > % measures 25-28 > g:6 | g:6 | a:7 | a:7 | > % measures 29-32 > a:m7 | d:7 | g:6 | g:6 | > % measures 33-36 > bes:m7 | ees:7 | aes:maj7 | aes:maj7 | > % measures 37-40 > aes:m7 | des:7 | fis:maj7 | fis:maj7 | > % measures 41-44 > fis:m7 | b:7 | e:maj7 | e:maj7 | > % measures 45-48 > e:m7 | a:7 | a:m7 | d:7 | > % measures 49-52 > g:6 | g2:6 d:7 | d1:m7 | g:7 | > % measures 53-56 > c:6 | c:6 | f:7 | f:7 | > % measures 57-60 > g:6 | g:6 | a:7 | a:7 | > % measures 61-64 > a:m7 | d:7 | g:6 | g:6 | > } > > \score { > << > \new ChordNames { > \set chordChanges = ##t > \harmonies > } > \new Staff \melody >>> > } > \layout { > indent = 0.0\cm > } Sorry that was me and I realized after reading your note that I accidentally responded to you privately instead of the list. Try adding: \layout { \context { \Staff \override VerticalAxisGroup #'minimum-Y-extent = #'(-8 . 4) } I could not get your file to compile but there may be a problem on my system. Walter Hofmeister ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
I'm having problem coloring notes
Hi, I saw from your doc that I can color notes using: \override NoteHead #'color = #red c4 c \override Stem #'color = #blue e But when I try to color a note using: 4 | I got an error: error: syntax error, unexpected \override, expecting DRUM_PITCH or NOTENAME_PITCH or '>' Is this because that I'm trying to color a note within a chord? Is that allowed? If not, is there a way to color (or change the look of) one note within a chord/phrase, etc.? Thanks! Xiaoyu ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: I'm having problem coloring notes
On 9-May-06, at 10:40 AM, Xiaoyu Ding wrote: But when I try to color a note using: 4 | I got an error: error: syntax error, unexpected \override, expecting DRUM_PITCH or NOTENAME_PITCH or '>' Is this because that I'm trying to color a note within a chord? Is that allowed? If not, is there a way to color (or change the look of) one note within a chord/phrase, etc.? Notes within a chord must be colored with \tweak; see "Objects connected to the input" in "changing defaults". I'll add a warning to the doc page on colors. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: I'm having problem coloring notes
Alle 19:40, martedì 9 maggio 2006, Xiaoyu Ding ha scritto: > Is this because that I'm trying to color a note within a chord? It is not allowed to use the "override" command within a chord; if you're working with lilypond 2.8, you can use the "tweak" command. Your example will work this way: 4 It will produce a chord with a blue g. It is not needed to revert the color to black, because "tweak" changes the property only once at a time. You can find some other information here: http://lilypond.org/doc/v2.8/Documentation/topdocs/NEWS.html Scroll down the page a bit, and one of the news is all about "tweak". Gianluca D'Orazio ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Object hierarchy in LilyPond?
On Monday 08 May 2006 19:30, Arjan Bos wrote: > On 6 mei 2006, at 21:20, Mats Bengtsson wrote: > > Quoting Erik Sandberg <[EMAIL PROTECTED]>: > >> On Tuesday 02 May 2006 09:06, Tomas Valusek wrote: > > Or the context hierarchy or which engravers are included in each > > context > > or which objects are created by which engraver (or context) or ... > > What I would like to see is a model of all the data being used within > LilyPond, There's a lot of data used in lily. It would require quite some effort to build the model you're suggesting, and someone would need to maintain the model (which is changing all the time). I think all the current developers have better things to do, but I nothing stops you from writing such documentation. -- Erik ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Object hierarchy in LilyPond?
-Oorspronkelijk bericht- Van:Simon Dahlbacka >> On 5/10/06, Erik Sandberg <[EMAIL PROTECTED]> wrote: >> >> >> There's a lot of data used in lily. It would require quite some effort to >> build the model you're suggesting, and someone would need to maintain the >> model (which is changing all the time). I think all the current developers >> have better things to do, but I nothing stops you from writing such >> documentation. > the only sane way to do such a thing would be to auto-generate the data by > parsing the source or something so it would be updated "with the click of a > button". Personally, I don't have the extra time to build such a scraping > tool.. There is no need to write one. I got myself the lily source of cvs and downloaded Doxygen. This creates lots of nice graphs and object hierarchies from the .cc and .hh files. It also shows links between and even definitions of the classes. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user