Music fragment of specified width
Dear all, I'm producing a lot of music fragments to be inserted as png pictures. I followed AU 4.6.3. I specified line-width=130\mm and so the maximum width of the fragments is 130mm, except in the case I set the Staff.instrumentName. In this case, the maximum width is 130\mm plus the width of the instrument name. Is there a way to specify the *total* maximum width of a fragment? Thanks, Marco ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tie control-points delete another tie
Hi, My mail probably belongs better to the user list so I post it there... Trevor Daniels wrote: It's not clear what you are trying to achieve here, as the ties without the override look ok. I don't know about Marco's intentions but I once had a similar case. I got around by using both slurs and ties. I did exactly the same. First, please consider that in this snippet (without the third voice) \version 2.11.52 \paper{ ragged-right=##t } \new Staff { % first voice {d''2 ~ d'' d''2 ~ d''} % second voice in parallel {f'2 ~ f' \once\override Tie #'control-points = #'((1.5 . -0.5) (2 . 1) (7 . 2) (8 . -1)) f'2 ~ f'} } only the tie in the lower voice is modified, as wanted. What I want to engrave is the following: \version 2.11.52 \new Staff { \key f \major \time 6/8 {\relative c'' { d4. ~ d4 e8 d4.( d4) e8}} {\relative c' { fis4. fis4 a8 \once\override Tie #'control-points = #'((1.75 . -0.5) (2.5 . 0.75) (8 . 2) (13.5 . -1.2)) fis4. ~ fis4 a8}}\\ {\relative c'' { a8 a16 a a8 a a a a8 a16 a a8 a a a }} } In the first bar (the original one) there is a tie-collision, which I can solve only changing the tie in the upper voice into a slur (second bar). Best regards, Marco ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Cannot move an accent articulation
Hi all. I have some problems with the snippet below. First of all, there is a collision in the first bar between the tie and the articulation (but I can easily solve it). In the second bar, the tie starts at the end of the previous notehead and finishes at the beginning of the following notehead, whereas elsewhere it starts and finishes about in the middle of the noteheads. In the fourth bar, the augmentation dot for the d is a little bit lower than it should be (in my opinion). Finally (and here I need your help), I would like to move the accent articulation in the second last bar close to the c notehead (as in the fourth last bar), but \override Script #'Y-offset does not seem to work. Best regards, Marco \version 2.11.52 {\time 6/8 \relative c'' { % tie and articulation collision f4.- ~ f4. % strange position for the tie e4.- ~ e4. d4.- ~ d4. {c'4. ~ c4.}\\ { % strange position for the augmentation dot d,4. ~ d4.} g,,4. \override Script #'Y-offset = #-4.5 c4.- ~ c2. g4.( % cannot move the accent articulation \override Script #'Y-offset = #-4.5 c4.- ~ c2.) }} ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lines of music
OK. You can use Integrating HTML and music with lilypond-book: you get both eps and png images. The length of the png image is slightly different from that you specify with the option linewidth. Anyway, it is not clear if the option eps is supported in Integrating LaTeX and music with lilypond-book. Finally, there is an inconsistency (in my opinion) reguarding the measuring units: in the \paper block (with ly2dvi) you have to specify them with \ (\mm, \cm, \pt, ...), whereas in HTML and LaTex (with lilypond-book) you have to specify them without \ (mm, cm, pt, ...). I have not found a mention of this in lilypond.ps (at least in section Page layout). Cheers, Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Lines of music
Hi. I would like to produce an image with a single line of music (say of dimension 2cm x 10cm, not an a4 paper with a single line). With Lily 1.6.* I used \begin[eps,linewidth=10cm]{lilypond} ... \end{lilypond} and lilypond-book. Is the option eps supported in Lily 1.8.1? It is not documented, it is accepted by lilypond-book (and I have the image as wanted), but then latex gives me Undefined symbol \lilypondepswidth. Is it possible to obtain the image (png, if possible) directly with ly2dvi? -- Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Repeats and ties (better)
On Tue, 18 Mar 2003, Mats Bengtsson wrote: The easiest is probably to add an invisible note that the tie can start from: \alternative{{...}{\makeInvisible c4/2 ~ \makeVisible c4/2 ...} where the macros can be defined as makeInvisible = {\property Voice.NoteHead \override #'transparent = ##t \property Voice.Stem \override #'transparent = ##t } makeVisible = { \property Voice.NoteHead \revert #'transparent \property Voice.Stem \revert #'transparent } The 4/2 duration is just a trick to avoid that the extra note destroys the rhythm. /Mats Good. Only a thing: not c4/2 but c1*1/2 (lily 1.6.7). Thanks again, Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Repeats and ties (better)
Hi. In my previous mail I was not clear enough. If you have \repeat volta 2 {d1 c~} \alternative {{c d c}{c}} there should be a slur sign before the c in the second alternative, not starting from the c~, but starting from nothing, after the repeat bar between the alternatives. I think it should be automatic, but is there a way to put a slur sign as wanted? - Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Repeats and ties (better)
Thanks. I will try it as soon as possible. However, it is a little complicated. All the scores I have seen (marching bands scores, above all) have that short tie. The same for slurs starting before the first alternative and ending on the second. I think it should be automatic. Will it be? Marco On Tue, 18 Mar 2003, Mats Bengtsson wrote: The easiest is probably to add an invisible note that the tie can start from: \alternative{{...}{\makeInvisible c4/2 ~ \makeVisible c4/2 ...} where the macros can be defined as makeInvisible = {\property Voice.NoteHead \override #'transparent = ##t \property Voice.Stem \override #'transparent = ##t } makeVisible = { \property Voice.NoteHead \revert #'transparent \property Voice.Stem \revert #'transparent } The 4/2 duration is just a trick to avoid that the extra note destroys the rhythm. /Mats Marco Caliari wrote: Hi. In my previous mail I was not clear enough. If you have \repeat volta 2 {d1 c~} \alternative {{c d c}{c}} there should be a slur sign before the c in the second alternative, not starting from the c~, but starting from nothing, after the repeat bar between the alternatives. I think it should be automatic, but is there a way to put a slur sign as wanted? - Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.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 [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Rhythmic oddity
Hi. The problem is at measure 12: c' or bes' are one beat too long. -- Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Changing time signature
Hi. Changing a time signature, say from 2/4 to 6/8, it is common to find, over the last bar of the previous time | | | | *|=*|. saying that the previous quarter note shoud have the same (time) duration of the following quarter dotted note. How to reproduce with Lilypond? -- Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Don't break lines
Hi. I'm writing a music exercises booklet with latex and lilypond-book. Each page has the following aspect: \section{...} \subsection{...} \begin[20pt,noquote]{lilypond} ... \end{lilypond} \subsection{...} \begin[20pt,noquote]{lilypond} ... \end{lilypond} [other 2 or 3 subsections] \pagebreak It may occour that the lines of the last lilypond block break across 2 pages. So I have to insert, e.g., \paper{interscoreline=-5.0\mm}, trying different values, into some lilypond block in order to keep all the exercises of a section in exactly one page. Would it possible to force lilypond, or latex, to keep each section in one page, automatically detecting the right interscoreline into the lilypond blocks? -- Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Don't break lines
No more lines broken, but, for example, the entire last subsection is sent to the next page. It is also unuseful to insert \nopagebreak[4]: ... \end{lilypond} \nopagebreak[4] \subsection{...} Marco On Thu, 30 Jan 2003, Mats Bengtsson wrote: One way to do this is to set interscoreline=0 (or whatever) and additionally to set interscorelinefill=1, which means that you get a stretchable spacing between the score lines which should place them evenly on the page. You may get some surprising side-effects though. /Mats Marco Caliari wrote: Hi. I'm writing a music exercises booklet with latex and lilypond-book. Each page has the following aspect: \section{...} \subsection{...} \begin[20pt,noquote]{lilypond} ... \end{lilypond} \subsection{...} \begin[20pt,noquote]{lilypond} ... \end{lilypond} [other 2 or 3 subsections] \pagebreak It may occour that the lines of the last lilypond block break across 2 pages. So I have to insert, e.g., \paper{interscoreline=-5.0\mm}, trying different values, into some lilypond block in order to keep all the exercises of a section in exactly one page. Would it possible to force lilypond, or latex, to keep each section in one page, automatically detecting the right interscoreline into the lilypond blocks? -- Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Alignment with lilypond-book 1.6.5
Hi. What is happened with alignment in lilypond-book 1.6.5? With 1.6.4, the code \begin{lilypond} ... \end{lilypond} in a .tex file gave a score with staves right aligned (like ly2dvi 1.6.4 or 1.6.5). Now, the same code, gives me a score with staves center aligned. Moreover, for each score I have, for example, (lily-265840193.tex (/usr/local/texmf/tex/lilypond/lilyponddefs.tex) Overfull \hbox (17.62363pt too wide) in paragraph at lines 441--512 [][] ) What is happening? -- Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Alignment with lilypond-book 1.6.5
Hi. The code \begin{lilypond} ... \end{lilypond} in a .tex file gives a score with staves center aligned. With lilypond-book 1.6.4 (and with ly2dvi 1.6.4 or 1.6.5), the staves were right aligned. Moreover, they produce an Overfull hbox. What is happened? - Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
How to produce a5 paper music
Hi. I think the simplest way to produce a5 paper music with Lilypond is: include \paper{papersize=a4 orientation=landscape} at the beginning of your own file (say enea.ly); include \paper{linewidth=280.0\mm} at the end of the score ly2dvi (view with xdvi -paper a4r enea.dvi) dvips -ta4 -tlandscape enea.dvi (my gv cannot view enea.ps but...) pstops -pa4 2:0L@.71(21cm,14.85cm)+1L@.71(21cm,0) enea.ps enea.a5.ps my gv CAN view and print fine enea.a5.ps Bye -- Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Flat symbol in the header
On Sat, 15 Jun 2002, Jan Nieuwenhuizen wrote: Rune Zedeler [EMAIL PROTECTED] writes: Marco Caliari wrote: \header{instrument=Instruments in Bb} \header { instrument = Instruments in B$\\flat$ } Fwiw, using feta characters, like this, should also work: \header{ instrument=instruments in B\fetachar\fetaflat } \score{ \notes\relative c'' { c } } But, for some reason, the \fetafont and \fetachar macro definitions have been turned off in lilyponddefs.tex (can we turn them back on, please?). Remove comment characters '%', like so: %% The feta characters \input feta20.tex \font\fetasixteen=feta16 \def\fetafont{\fetasixteen} \def\fetachar#1{\hbox{\fetasixteen#1}} Greetings, Jan. Hi. \fetachar\fetaflat in the headers does not work with ly2dvi of Lily 1.6.0. lilyponddefs.tex is OK (i.e., without %) -- Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Flat symbol in the header
On Sat, 15 Jun 2002, Jan Nieuwenhuizen wrote: Rune Zedeler [EMAIL PROTECTED] writes: Marco Caliari wrote: \header{instrument=Instruments in Bb} \header { instrument = Instruments in B$\\flat$ } Fwiw, using feta characters, like this, should also work: \header{ instrument=instruments in B\fetachar\fetaflat } \score{ \notes\relative c'' { c } } But, for some reason, the \fetafont and \fetachar macro definitions have been turned off in lilyponddefs.tex (can we turn them back on, please?). Remove comment characters '%', like so: %% The feta characters \input feta20.tex \font\fetasixteen=feta16 \def\fetafont{\fetasixteen} \def\fetachar#1{\hbox{\fetasixteen#1}} Greetings, Jan. Hi. \fetachar\fetaflat in the headers does not work with ly2dvi of Lily 1.6.0. lilyponddefs.tex is OK (i.e., without %) -- Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Flat symbol in the header
Hi. How can I put the flat symbol (or sharp) in the header? For example, I want to write \header{instrument=Instruments in Bb} where Bb means B flat. Bye -- Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Tempo signature
Are there commands to produce, e.g., Allegro, Adagio, Largo at wanted positions? - Marco ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user