lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Centering a musical example and reducing the vertical space betweene


From: Robert Blackstone
Subject: Re: Centering a musical example and reducing the vertical space betweenexample and text
Date: Tue, 9 Feb 2016 18:56:00 +0100

Hi Pierre,

Thank you for this. The result is what I wanted, as far as the horizontal centering of the music example is concerned. In most ways what your ME produces is a lot neater than what I had concocted and so there is much that I can learn from it and use.

About the other problem, the large space between the musical example and the next text-block, I'm not quite sure. In my own ME this gap is about twice a large as in your example, but in my real score it is almost 3 times as large as in my ME and 5 times as large as in your ME. 

I think I'll first have to incorporate the structural elements of your code in my complete .ly-file to see what happens. 

Thanks again.

Best regards,
Robert

  
On 9 Feb 2016, at 14:21 , Pierre Perol-Schneider <address@hidden> wrote:

Hi Robert,
Hi Harm,
Hi Phil,

AFAI understand the question:

\version "2.18.2"

\markuplist
\override #'(line-width . 90) {
  \fill-line {
    \null
    \override #'(baseline-skip . 2.5)
    \override #'(line-width . 40)
    \justify {
      Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
      do eiusmod tempor incididunt ut labore et dolore magna aliqua.
      Ut enim ad minim veniam, quis nostrud exercitation ullamco
      laboris nisi ut aliquip ex ea commodo consequat.
    }
    \null
    \override #'(baseline-skip . 2.5)
    \override #'(line-width . 40)
    \justify \italic {
      Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
      do eiusmod tempor incididunt ut labore et dolore magna aliqua.
      Ut enim ad minim veniam, quis nostrud exercitation ullamco
      laboris nisi ut aliquip ex ea commodo consequat.
    }
    \null
  }
 
  \fill-line {
  %% v2.19:
    %\score { c''1 }
  %% v2.18:
    \score { { c''1 } \layout {}}
  }
  \vspace #1
  \fill-line {
    \null
    \override #'(baseline-skip . 2.5)
    \override #'(line-width . 40)
    \justify {
      Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
      do eiusmod tempor incididunt ut labore et dolore magna aliqua.
      Ut enim ad minim veniam, quis nostrud exercitation ullamco
      laboris nisi ut aliquip ex ea commodo consequat.
    }
    \null
    \override #'(baseline-skip . 2.5)
    \override #'(line-width . 40)
    \justify \italic {
      Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
      do eiusmod tempor incididunt ut labore et dolore magna aliqua.
      Ut enim ad minim veniam, quis nostrud exercitation ullamco
      laboris nisi ut aliquip ex ea commodo consequat.
    }
    \null
  }
}

See also: http://lsr.di.unimi.it/LSR/Item?id=300
HTH.

Cheers,
Pierre


2016-02-09 13:57 GMT+01:00 Phil Holmes <address@hidden>:
Something like this:?
 

\markup

\fill-line {\center-column { "Some text"} }
\markup \fill-line {\center-column { \score {
c''1 } } }
\markup \fill-line {\center-column {
"More text"} }

--
Phil Holmes
 
 
----- Original Message -----
Sent: Tuesday, February 09, 2016 12:43 PM
Subject: Centering a musical example and reducing the vertical space betweenexample and text

Dear all,

Underneath the scores Im working on are comments, in many cases interspersed with little musical examples.
I am setting the comments in two columns, one with the original German text, the other with an English translation.

Her is an example of what it looks like now.

<Telemann-SSGb16-inline_ex.png>

How can I center the musical example?
And how can I reduce the space between he example and the next text-block?

Thanks in advance for any help.

Best regards,

Robert Blackstone



_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

[Prev in Thread] Current Thread [Next in Thread]