[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
paper spacing variables not being respected for a score inside markup
From: |
Jason Pratt |
Subject: |
paper spacing variables not being respected for a score inside markup |
Date: |
Fri, 8 Jun 2018 21:22:53 -0400 |
Hello.
I'm new to this list. It was suggested that I submit here after
posting a problem I was having on music.stackexchange.com.
I'm doing some chords+lyrics song sheets, and trying to achieve a two
column layout. From what I've read, the way to accomplish this is by
putting scores within a markup block.
This works to get the two columns, but as soon as I do it, the \paper
variables that are controlling the vertical spacing seem to be
ignored. How can I get two columns and proper spacing at the same
time?
Here's a simple example:
\version "2.18.2"
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))
}
% 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 } }
}
}
Image of resulting problem is attached.
Thanks!
--
___________________________
Jason Pratt
lilypondColumnIssue.png
Description: PNG image
- paper spacing variables not being respected for a score inside markup,
Jason Pratt <=