[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Graphic background behind systems
From: |
Klaus Blum |
Subject: |
Re: Graphic background behind systems |
Date: |
Mon, 29 Feb 2016 10:00:41 -0700 (MST) |
Paul Booker wrote
> ... but leaves the layout as if the graphic still occupied space above the
> staff. SO there is extra white space at the top.
Hi Paul,
you could add
\with-dimensions #'(0 . 0) #'(0 . 0)
which tells LP to behave as if the following markup had the given dimensions
(in this case: no space at all).
Try:
% -----------------------------------------------------------
\version "2.19.25"
\include "include/defs.ily"
\markup {
\score {
\new StaffGroup
\new Staff \with {
\omit Staff.TimeSignature
}
\relative c {
\set Score.proportionalNotationDuration = #(ly:make-moment 1/8)
\override Score.SpacingSpanner.strict-note-spacing = ##t
c,1 c
c
-\tweak #'extra-offset #'(-2.5 . -15) % move to right position
-\tweak #'layer #-1 % place in bottom layer
^\markup {
\with-dimensions #'(0 . 0) #'(0 . 0)
\with-color #(rgb-color 1 0.5 0.5) % specify color
\filled-box #'(0 . 1) #'(0 . 25) #1 % specify size
}
c
}
\layout { }
}
}
% -----------------------------------------------------------
Is that what you need?
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Graphic-background-behind-systems-tp187834p187888.html
Sent from the User mailing list archive at Nabble.com.
- Re: Graphic background behind systems, (continued)
- Re: Graphic background behind systems, Simon Albrecht, 2016/02/28
- Re: Graphic background behind systems, Klaus Blum, 2016/02/28
- Re: Graphic background behind systems, Simon Albrecht, 2016/02/28
- Re: Graphic background behind systems, Klaus Blum, 2016/02/28
- Re: Graphic background behind systems, Simon Albrecht, 2016/02/28
- Re: Graphic background behind systems, Paul Booker, 2016/02/28
- Re: Graphic background behind systems, Klaus Blum, 2016/02/28
- Re: Graphic background behind systems, Paul Booker, 2016/02/29
- Re: Graphic background behind systems, Simon Albrecht, 2016/02/29
- Re: Graphic background behind systems, Paul Booker, 2016/02/29
- Re: Graphic background behind systems,
Klaus Blum <=
- Re: Graphic background behind systems, Simon Albrecht, 2016/02/29
- Re: Graphic background behind systems, Klaus Blum, 2016/02/29
- Re: Graphic background behind systems, Paul Booker, 2016/02/29