Re: SOLVED: Formatting the piece header
Hi Valentin! Am Sonntag, 29. Juli 2007 schrieben Sie: 2007/7/28, Reinhold Kainhofer [EMAIL PROTECTED]: I was looking for the lilypond variable / property that defined the font of the piece headings, so that I set this property once and it is automatically applied to all my scores that include the definitions.ly file. Actually this is exactly what I do :) I have a definitions file in which I put everything in identifiers, such as [...] And this way, when typesetting each separate piece, in the \header I only have to specify \include definitions.ly \header { piece= \pieceLayout #Here is my title } Thanks a lot for the tip. After digging a little deeper into the lilypond code, I finally found that its easiest to simply redefine scoreTitleMarkup in the \paper section (see the titling-init.ly for the original function). Attached is an example snipplet, which I also submitted at LSR. Cheers, Reinhold -- -- Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung Jung-Wien, http://www.jung-wien.at/ \version 2.10.25 \header { title = Formatting of piece headers } \paper { scoreTitleMarkup = \markup { \column { \on-the-fly #print-all-headers { \bookTitleMarkup \hspace #1 } \fill-line { \fontsize #3 \bold \fromproperty #'header:piece \fromproperty #'header:opus } }} } \markup { \fill-line { \justify-string #If you have multiple pieces in a large work, you can use multiple score parts and use the piece header field to supply a title for each of the pieces. However, the font is very small. You can either directly put the markup into the piece=... header field, or better re-define the scoreTitleMarkup function in the paper section.} } \score { \context Staff { c'1 | R1 } \header{ piece=Piece 1 } } \score { \context Staff { c'1 | R1 } \header{ piece=Piece 2 } } Piece_Header_Formatting.pdf Description: Adobe PDF document ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: SOLVED: Formatting the piece header
2007/7/29, Reinhold Kainhofer [EMAIL PROTECTED]: Thanks a lot for the tip. After digging a little deeper into the lilypond code, I finally found that its easiest to simply redefine scoreTitleMarkup in the \paper section (see the titling-init.ly for the original function). Your hack is far better than mine indeed. Attached is an example snipplet, which I also submitted at LSR. This was the right thing to do; I approved it. Many thanks Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
scaling problem
[current lilypond git] Folks, look at this example: \new Staff \with { %fontSize = #-4 %\override StaffSymbol #'staff-space = #(magstep -4) } { c''-\tweak #'extra-offset #'(2 . 6) -\markup \stencil #(ly:bracket Y '(0 . 5) 0.2 1) } `stencil-big.png' shows the result with the two comment characters, `stencil-small.png' the same without them. On the other hand, if I say #(set-global-staff-size XX) (`XX' an arbitrary size) instead the `\with' block, the scaling of the bracket always works, this is, the result always looks like shown in `big.png', regardless of the size. With other words: It's not sufficient to set `fontSize' and `staff-space' in the `\with' block to have proper scaling for (at least) the `\stencil' markup command. I tried hard to find something in the docs and in the source files, but without success. What am I missing? Help, please. Werner inline: stencil-small.pnginline: stencil-big.png___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: sponsoring inquiry: alignment of syllables which start a melisma
2007/7/27, Kieren MacMillan [EMAIL PROTECTED]: On 2007-Jun-4, at 17:08, Mats Bengtsson wrote: As far as I can see from the implementation, the alignment is hardcoded to be #LEFT at the start of a melisma. How much would it cost to sponsor the soft-coding of this value? in Git. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: sponsoring inquiry: alignment of syllables which start a melisma
Han-Wen: How much would it cost to sponsor the soft-coding of this value? in Git. U rok. =) Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
some related bugs with cross-staff beams and clef changes
Hi all, this file: http://www.xs4all.nl/~wbsoft/prelude.pdf (my try to typeset music by Pierné which enters the public domain next year) shows some related bugs in todays git. Source: http://www.xs4all.nl/~wbsoft/prelude.ly . There is one voice with music constantly switching staves, with kneed cross-staff beams and some clef changes. These are the 'defects' in lilypond's typesetting: - the small clefs take up unnecessary space when there are notes in that measure before the clef change. E.g. measure 1 and 2. When the clef change is the first thing to happen inside a measure the display is ok, e.g. measure 9 and 16 (the first clef, the second one takes too much space). - measure 19 shows a bigger bug: the notes are drawn over the key signature. When I lower the music one octave, the problem goes away. So this must be some side-spacing related bug, occuring with kneed cross-staff beams. I was not able to reproduce this bug in a smaller file, that's why I post the full file. Another bug which is possibly related is: http://lists.gnu.org/archive/html/bug-lilypond/2007-07/msg00087.html (should i post this to bug-lilypond?) thanks, Wilbert -- http://www.wilbertberendsen.nl/ You must be the change you wish to see in the world. -- Mahatma Gandi ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user