[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
\markup command doesn't seem to honor \paper values
From: |
Knute Snortum |
Subject: |
\markup command doesn't seem to honor \paper values |
Date: |
Sat, 9 Jun 2018 12:56:40 -0700 |
It seems that when you use a \markup command the values in the \paper block
aren't honored. Here is a minimal example:
%%% Start
\version "2.19.81"
chordNames = \chordmode {
c1 f g a:m \break
c f g:7 c \break
}
words = \lyricmode {
Here_are some random lyrics
These are more lyrics
}
\paper {
indent = 0
ragged-right = ##t
system-system-spacing = #'((basic-distance . 0)
(minimum-distance . 0)
(padding . 1)
(stretchability . 0))
}
\markup {
\score {
<<
\new ChordNames \chordNames
\new Lyrics \words
>>
\layout { \context { \ChordNames } }
}
}
%%% End
The question may arise, Why would you want to do this? Which leads to the
not-so-minimal example:
%%% Start
\version "2.19.81"
chordNames = \chordmode {
c1 f g a:m \break
c f g:7 c \break
}
words = \lyricmode {
Here_are some random lyrics
These are more lyrics
}
\paper {
indent = #0
ragged-right = ##t
% padding here controls space between lyrics and next line
system-system-spacing = #'((basic-distance . 0)
(minimum-distance . 0)
(padding . 1)
(stretchability . 0))
}
% Single column outside of markup is spaced according to \paper variables
\score {
<<
\new ChordNames \chordNames
\new Lyrics \words
>>
\layout { \context { \ChordNames } }
}
% Two columns inside markup do not respect \paper spacing variables
\markup {
\vspace #3
\score {
<<
\new ChordNames \chordNames
\new Lyrics \words
>>
\layout { \context { \ChordNames } }
}
\hspace #8
\score {
<<
\new ChordNames \chordNames
\new Lyrics \words
>>
\layout { \context { \ChordNames } }
}
}
%%% End
Here you can see that the desired output would be in columns. So the
questions would be: is this a bug? Is there a better way to do this?
---
Knute Snortum
(via Gmail)
- \markup command doesn't seem to honor \paper values,
Knute Snortum <=