Some adjustments,
Cheers,
Pierre

2015-04-25 0:12 GMT+02:00 Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com>:

> Hi Steven,
>
> try: \with-dimensions #'(0 . 0) #'(0 . 0)
>
> See attached file.
> Cheers,
> Pierre
>
>
> 2015-04-25 0:02 GMT+02:00 Steven Weber <pant...@hotmail.com>:
>
>> As part of my ongoing project to typeset “highlighting” marks I’ve hit
>> another problem:  I’m trying to highlight repeat bar lines, but the
>> highlighting code keeps interfering with my skylines.  Since I’m manually
>> placing it (for the moment) and doing so in a negative layer, I’d like to
>> tell lilypond to completely ignore it when determining spacing (mostly
>> vertically, but I assume I’ll want it to take no horizontal space as well).
>>
>>
>>
>> I’ve tried extra-spacing-height, y-extent, and negative padding all with
>> no luck.  It seems like maybe what I want to override is the
>> vertical-skylines, but I don’t know how to create a skyline object with the
>> right values and couldn’t find any hints in the manual.
>>
>>
>>
>> Any suggestions?
>>
>>
>>
>> Thanks!
>>
>>
>>
>> --Steven
>>
>> _______________________________________________
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
%% => http://lilypond.1069038.n5.nabble.com/How-to-make-an-object-take-up-no-space-td175271.html

\version "2.19.18"
\language "english"

testl = #'(
	(moveto 1 -4.5)
	(lineto 0 -2.5)
	(lineto 0 2.5)
	(lineto 1 4.5))

testr = #'(
	(moveto -1 -4.5)
	(lineto 0 -2.5)
	(lineto 0 2.5)
	(lineto -1 4.5))

\new Staff
{
	\clef bass
	\time 4/4
	\key c \major

	a,4 b, c d |
	\repeat volta 2
	{
		%\once \override TextScript.extra-offset = #'( -1.75 . -7.25 )
		a,4 
		-\tweak layer #-1 
		-\tweak extra-offset #'( -2.3 . -2.5)
		^\markup { 
		  \with-color #green 
		  \with-dimensions #'(0 . 0) #'(0 . 0)
		  \path #1 #testl 
		} b, c d |
	}
	\alternative
	{
		{
			e f g 
			\displayMusic {
			%\once \override TextScript.extra-offset = #'( 3.75 . -7.5 )
			a 
			-\tweak layer #-1 
			-\tweak extra-offset #'(4.4 . -3.1)
			^\markup { 
			  \with-color #green 
			  \with-dimensions #'(0 . 0) #'(0 . 0)
			  \path #1 #testr 
			} } |
		}
		{
			e f g a |
		}
	}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to