lilypond-user
[Top][All Lists]
Advanced

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

Re: How to diminish the vertical space underneath a musical example


From: Robert Blackstone
Subject: Re: How to diminish the vertical space underneath a musical example
Date: Wed, 17 Feb 2016 09:30:46 +0100

Hi Harm,

Thanks for this interesting additional tool. 
For my actual problem it does not help me very much, for while it diminishes the vertical space underneath the example, it somehow widens the space above the example. (In Dutch we would call it "Wet van behoud van ellende")

But I'll play with it a but more.

Thanks again.

Best regards,

Robert
 
On 16 Feb 2016, at 22:10 , Thomas Morley <address@hidden> wrote:

2016-02-16 13:34 GMT+01:00 Robert Blackstone <address@hidden>:
Hi Klaus,

Thanks for this tip. Indeed these are all very small score blocks and inserting them as a markup element gave the best result in the "real" file.
Concerning your second tip, inserting \markup \vspace #-1, I must confess that whatever I tried, I could not get it to do something. I really do not know where to insert it. But it does not matter at the moment.

Thanks again.

Best regards,

Robert Blackstone

On 15 Feb 2016, at 21:39 , Klaus Blum <address@hidden> wrote:

Hi Robert,


Robert Blackstone-3 wrote
What can I do to diminish the vertical space between the score and the
next text block?

if your score block is short enough to not require a page break, you can
also insert it as a markup element:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\markup \score {
\layout {
  indent = 7.5\cm
}
\relative c'
{
  \new Staff {
    \omit Staff.TimeSignature \clef treble \key c \major
    c d e f
  }
}
} % End score

\markup \vspace #-1 % In that case, you can even do things like this...  :-)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


Cheers,
Klaus

An additional thought.
To get page-breaking text and scores in markup you could use the
relevant markup-list-commands in \markuplist { ... }

\version "2.19.36"

\markuplist {
 \line {
   Some comments in the original language.
  \hspace #14
  \italic { The same translated into some other language.}
 }

 \override-lines #'(baseline-skip . 12)
 \column-lines {
   \score-lines {
     \new Staff
       \relative c' \repeat unfold 20 { c4 d e f \break }
     \layout {
       indent = 7.5\cm
       short-indent = 7.5\cm
       line-width = 110
       \context {
         \Staff
         \omit TimeSignature
       }
     }
   } % End score
 }

 \line {
   Other comments in the original language.
   \hspace #14
   \italic { The same translated into some other language. }
 }
}

Cheers,
 Harm


reply via email to

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