Re: right and left-align

2006-01-26 Thread Mats Bengtsson

See http://lists.gnu.org/archive/html/lilypond-user/2005-06/msg00637.html
Note that the property names have changed a bit if you use LilyPond
version 2.7.x.

  /Mats

andrea valle wrote:


Thanks Mats,
I suspected but wasn't sure.
So what should I use to have right / left-align in the way \center works?
I need to have instrument names right aligned near staff beginning.
Thanks again

-a-



On 25 Jan 2006, at 14:56, Mats Bengtsson wrote:

If you read the documentation carefully, you will notice that 
center-align does something completely different than right-align

and left-align. It seems like a very unfortunate choice of command
names.

  /Mats

Quoting andrea valle [EMAIL PROTECTED]:


Hi to all,
In markup do \right and \left-align work in the same way of 
\center-align?

I mean:
\markup{\center-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\right-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\left-align { \line{temple 3} \line{2} \line{blocks}}

I thought so, but while \center-align behaves correctly (3 lines), 
the other two commands write on the same line thus producing 
overlapping lines.

What am I missing?
Thanks

-a-

 (on macosx 10.3, lily 2.7.27)

Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user








Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: right and left-align

2006-01-26 Thread Mats Bengtsson

Currently we have the following to specify the horizontal alignment
point of a single markup:

left-align, hcenter, right-align

and the following to stack several markups vertically:

column (left aligned), center-align

Proposal 1:

Use
left-align, center-align and right-align
for the horizontal alignment of a single markup and
column, centered-column
(or left-column, center-column, right-column)
for vertically stacked markups.

Proposal 2:

Use hleft, hcenter and hright for the horizontal alignment of a single 
markup


Use left-align, center-align, right-align for vertically stacked markups

  /Mats

Han-Wen Nienhuys wrote:


Mats Bengtsson wrote:

If you read the documentation carefully, you will notice that 
center-align does something completely different than right-align

and left-align. It seems like a very unfortunate choice of command
names.



suggestions welcome.



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: right and left-align

2006-01-26 Thread andrea valle

Thanks as usual Mats,
I took a look at docs, and I updated (?) names.
This doesn't work on 2.7.27

 \context {
\Score
\override InstrumentName #'self-alignment-X = #right
\override InstrumentName #'X-offset = 
#`(Self_alignment_interface::aligned_on_self)

}

warning: type check for `X-offset' failed; value 
`(Self_alignment_interface::aligned_on_self)' must be of type `number'



-a-


On 26 Jan 2006, at 10:53, Mats Bengtsson wrote:

See 
http://lists.gnu.org/archive/html/lilypond-user/2005-06/msg00637.html

Note that the property names have changed a bit if you use LilyPond
version 2.7.x.

  /Mats

andrea valle wrote:


Thanks Mats,
I suspected but wasn't sure.
So what should I use to have right / left-align in the way \center 
works?

I need to have instrument names right aligned near staff beginning.
Thanks again

-a-



On 25 Jan 2006, at 14:56, Mats Bengtsson wrote:

If you read the documentation carefully, you will notice that 
center-align does something completely different than right-align

and left-align. It seems like a very unfortunate choice of command
names.

  /Mats

Quoting andrea valle [EMAIL PROTECTED]:


Hi to all,
In markup do \right and \left-align work in the same way of 
\center-align?

I mean:
\markup{\center-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\right-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\left-align { \line{temple 3} \line{2} \line{blocks}}

I thought so, but while \center-align behaves correctly (3 lines), 
the other two commands write on the same line thus producing 
overlapping lines.

What am I missing?
Thanks

-a-

 (on macosx 10.3, lily 2.7.27)

Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user








Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: right and left-align

2006-01-26 Thread Mats Bengtsson

Try

\layout{
 \context {
   \Score
   \override InstrumentName #'self-alignment-X = #right
   \override InstrumentName #'X-offset = 
#Self_alignment_interface::x_aligned_on_self)

 }
}

  /Mats


andrea valle wrote:


Thanks as usual Mats,
I took a look at docs, and I updated (?) names.
This doesn't work on 2.7.27

 \context {
\Score
\override InstrumentName #'self-alignment-X = #right
\override InstrumentName #'X-offset = 
#`(Self_alignment_interface::aligned_on_self)

}

warning: type check for `X-offset' failed; value 
`(Self_alignment_interface::aligned_on_self)' must be of type `number'



-a-


On 26 Jan 2006, at 10:53, Mats Bengtsson wrote:

See 
http://lists.gnu.org/archive/html/lilypond-user/2005-06/msg00637.html

Note that the property names have changed a bit if you use LilyPond
version 2.7.x.

  /Mats

andrea valle wrote:


Thanks Mats,
I suspected but wasn't sure.
So what should I use to have right / left-align in the way \center 
works?

I need to have instrument names right aligned near staff beginning.
Thanks again

-a-



On 25 Jan 2006, at 14:56, Mats Bengtsson wrote:

If you read the documentation carefully, you will notice that 
center-align does something completely different than right-align

and left-align. It seems like a very unfortunate choice of command
names.

  /Mats

Quoting andrea valle [EMAIL PROTECTED]:


Hi to all,
In markup do \right and \left-align work in the same way of 
\center-align?

I mean:
\markup{\center-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\right-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\left-align { \line{temple 3} \line{2} \line{blocks}}

I thought so, but while \center-align behaves correctly (3 lines), 
the other two commands write on the same line thus producing 
overlapping lines.

What am I missing?
Thanks

-a-

 (on macosx 10.3, lily 2.7.27)

Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user








Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463   
   Fax:   (+46) 8 790 7260

Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-use
r



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: right and left-align

2006-01-26 Thread Mats Bengtsson

OK, use something along the lines of
\set Staff.instrument = \markup{ \column { \right-align gong 3 
\right-align bottle 1 } }



 /Mats


andrea valle wrote:


(thanks)

This is the result.
But I'd like to have names  right-aligned with respect to numbers . I 
mean: number in the 3 staves, or at least in each staff, should be 
aligned (and possibly non overlapping to grouping line)



-a-


On 26 Jan 2006, at 12:44, Mats Bengtsson wrote:


Try

\layout{
 \context {
   \Score




   \override InstrumentName #'self-alignment-X = #right
   \override InstrumentName #'X-offset =  
#Self_alignment_interface::x_aligned_on_self)

 }
}

  /Mats


andrea valle wrote:


Thanks as usual Mats,
I took a look at docs, and I updated (?) names.
This doesn't work on 2.7.27

 \context {
\Score
\override InstrumentName #'self-alignment-X = #right
\override InstrumentName #'X-offset =  
#`(Self_alignment_interface::aligned_on_self)

}

warning: type check for `X-offset' failed; value  
`(Self_alignment_interface::aligned_on_self)' must be of type  `number'



-a-


On 26 Jan 2006, at 10:53, Mats Bengtsson wrote:

See  http://lists.gnu.org/archive/html/lilypond-user/2005-06/ 
msg00637.html

Note that the property names have changed a bit if you use LilyPond
version 2.7.x.

  /Mats

andrea valle wrote:


Thanks Mats,
I suspected but wasn't sure.
So what should I use to have right / left-align in the way 
\center  works?

I need to have instrument names right aligned near staff beginning.
Thanks again

-a-



On 25 Jan 2006, at 14:56, Mats Bengtsson wrote:

If you read the documentation carefully, you will notice that  
center-align does something completely different than right-align

and left-align. It seems like a very unfortunate choice of command
names.

  /Mats

Quoting andrea valle [EMAIL PROTECTED]:


Hi to all,
In markup do \right and \left-align work in the same way of  
\center-align?

I mean:
\markup{\center-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\right-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\left-align { \line{temple 3} \line{2} \line{blocks}}

I thought so, but while \center-align behaves correctly (3  
lines), the other two commands write on the same line thus  
producing overlapping lines.

What am I missing?
Thanks

-a-

 (on macosx 10.3, lily 2.7.27)

Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user








Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463  Fax:   (+46) 8 
790  7260

Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-use
r




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463   
   Fax:   (+46) 8 790 7260

Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]
it



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: right and left-align

2006-01-26 Thread andrea valle

Ahah! This works perfectly.
Still, numbers overlap with staffgroup lines. I used horizontalshift 
but nothing changed, and with annotatespacing I cannot see how to tune 
this parameter.


?

-a-



On 26 Jan 2006, at 17:34, Mats Bengtsson wrote:


OK, use something along the lines of
\set Staff.instrument = \markup{ \column { \right-align gong 3 
\right-align bottle 1 } }



 /Mats


andrea valle wrote:


(thanks)

This is the result.
But I'd like to have names  right-aligned with respect to numbers . I 
mean: number in the 3 staves, or at least in each staff, should be 
aligned (and possibly non overlapping to grouping line)



-a-


On 26 Jan 2006, at 12:44, Mats Bengtsson wrote:


Try

\layout{
 \context {
   \Score




   \override InstrumentName #'self-alignment-X = #right
   \override InstrumentName #'X-offset =  
#Self_alignment_interface::x_aligned_on_self)

 }
}

  /Mats


andrea valle wrote:


Thanks as usual Mats,
I took a look at docs, and I updated (?) names.
This doesn't work on 2.7.27

 \context {
\Score
\override InstrumentName #'self-alignment-X = #right
\override InstrumentName #'X-offset =  
#`(Self_alignment_interface::aligned_on_self)

}

warning: type check for `X-offset' failed; value  
`(Self_alignment_interface::aligned_on_self)' must be of type  
`number'



-a-


On 26 Jan 2006, at 10:53, Mats Bengtsson wrote:

See  http://lists.gnu.org/archive/html/lilypond-user/2005-06/ 
msg00637.html

Note that the property names have changed a bit if you use LilyPond
version 2.7.x.

  /Mats

andrea valle wrote:


Thanks Mats,
I suspected but wasn't sure.
So what should I use to have right / left-align in the way 
\center  works?
I need to have instrument names right aligned near staff 
beginning.

Thanks again

-a-



On 25 Jan 2006, at 14:56, Mats Bengtsson wrote:

If you read the documentation carefully, you will notice that  
center-align does something completely different than 
right-align
and left-align. It seems like a very unfortunate choice of 
command

names.

  /Mats

Quoting andrea valle [EMAIL PROTECTED]:


Hi to all,
In markup do \right and \left-align work in the same way of  
\center-align?

I mean:
\markup{\center-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\right-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\left-align { \line{temple 3} \line{2} \line{blocks}}

I thought so, but while \center-align behaves correctly (3  
lines), the other two commands write on the same line thus  
producing overlapping lines.

What am I missing?
Thanks

-a-

 (on macosx 10.3, lily 2.7.27)

Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user








Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463  Fax:   (+46) 8 
790  7260

Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-use
r




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463  Fax:   (+46) 8 790 
7260

Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]
it



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: right and left-align

2006-01-26 Thread andrea valle

Actually I solved problems of collision adding \hspace in the markup.
In any case, result is a bit complex:

\new StaffGroup
  \new Staff \with {

instrument = \markup{ \column {
\right-align \line{ gong 3 \hspace #2.0 }
\right-align \line{ gong 2 \hspace #2.0 }
\right-align \line{ gong 1 \hspace #2.0 }
\right-align \line{ bottiglia 3 \hspace #2.0 }
\right-align \line{ bottiglia 2  \hspace #2.0 }
\right-align \line{ bottiglia 1  \hspace #2.0 }
}
}


Thanks

-a-

On 26 Jan 2006, at 17:34, Mats Bengtsson wrote:


OK, use something along the lines of
\set Staff.instrument = \markup{ \column { \right-align gong 3 
\right-align bottle 1 } }



 /Mats


andrea valle wrote:


(thanks)

This is the result.
But I'd like to have names  right-aligned with respect to numbers . I 
mean: number in the 3 staves, or at least in each staff, should be 
aligned (and possibly non overlapping to grouping line)



-a-


On 26 Jan 2006, at 12:44, Mats Bengtsson wrote:


Try

\layout{
 \context {
   \Score




   \override InstrumentName #'self-alignment-X = #right
   \override InstrumentName #'X-offset =  
#Self_alignment_interface::x_aligned_on_self)

 }
}

  /Mats


andrea valle wrote:


Thanks as usual Mats,
I took a look at docs, and I updated (?) names.
This doesn't work on 2.7.27

 \context {
\Score
\override InstrumentName #'self-alignment-X = #right
\override InstrumentName #'X-offset =  
#`(Self_alignment_interface::aligned_on_self)

}

warning: type check for `X-offset' failed; value  
`(Self_alignment_interface::aligned_on_self)' must be of type  
`number'



-a-


On 26 Jan 2006, at 10:53, Mats Bengtsson wrote:

See  http://lists.gnu.org/archive/html/lilypond-user/2005-06/ 
msg00637.html

Note that the property names have changed a bit if you use LilyPond
version 2.7.x.

  /Mats

andrea valle wrote:


Thanks Mats,
I suspected but wasn't sure.
So what should I use to have right / left-align in the way 
\center  works?
I need to have instrument names right aligned near staff 
beginning.

Thanks again

-a-



On 25 Jan 2006, at 14:56, Mats Bengtsson wrote:

If you read the documentation carefully, you will notice that  
center-align does something completely different than 
right-align
and left-align. It seems like a very unfortunate choice of 
command

names.

  /Mats

Quoting andrea valle [EMAIL PROTECTED]:


Hi to all,
In markup do \right and \left-align work in the same way of  
\center-align?

I mean:
\markup{\center-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\right-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\left-align { \line{temple 3} \line{2} \line{blocks}}

I thought so, but while \center-align behaves correctly (3  
lines), the other two commands write on the same line thus  
producing overlapping lines.

What am I missing?
Thanks

-a-

 (on macosx 10.3, lily 2.7.27)

Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user








Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463  Fax:   (+46) 8 
790  7260

Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-use
r




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463  Fax:   (+46) 8 790 
7260

Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]
it



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di 

Re: right and left-align

2006-01-26 Thread Mats Bengtsson

A better(!?) solution is described in
http://lists.gnu.org/archive/html/bug-lilypond/2005-06/msg00023.html
In your case, you should replace PianoStaff with Staff.

  /Mats

Quoting andrea valle [EMAIL PROTECTED]:


Actually I solved problems of collision adding \hspace in the markup.
In any case, result is a bit complex:

\new StaffGroup
  \new Staff \with {

instrument = \markup{ \column {
\right-align \line{ gong 3 \hspace #2.0 }
\right-align \line{ gong 2 \hspace #2.0 }
\right-align \line{ gong 1 \hspace #2.0 }
\right-align \line{ bottiglia 3 \hspace #2.0 }
\right-align \line{ bottiglia 2  \hspace #2.0 }
\right-align \line{ bottiglia 1  \hspace #2.0 }
}
}


Thanks

-a-

On 26 Jan 2006, at 17:34, Mats Bengtsson wrote:


OK, use something along the lines of
\set Staff.instrument = \markup{ \column { \right-align gong 3
\right-align bottle 1 } }


 /Mats


andrea valle wrote:


(thanks)

This is the result.
But I'd like to have names  right-aligned with respect to numbers .
I mean: number in the 3 staves, or at least in each staff, should
be aligned (and possibly non overlapping to grouping line)


-a-


On 26 Jan 2006, at 12:44, Mats Bengtsson wrote:


Try

\layout{
 \context {
   \Score




   \override InstrumentName #'self-alignment-X = #right
   \override InstrumentName #'X-offset =
#Self_alignment_interface::x_aligned_on_self)
 }
}

  /Mats


andrea valle wrote:


Thanks as usual Mats,
I took a look at docs, and I updated (?) names.
This doesn't work on 2.7.27

 \context {
\Score
\override InstrumentName #'self-alignment-X = #right
\override InstrumentName #'X-offset =
#`(Self_alignment_interface::aligned_on_self)
}

warning: type check for `X-offset' failed; value
`(Self_alignment_interface::aligned_on_self)' must be of type
`number'


-a-


On 26 Jan 2006, at 10:53, Mats Bengtsson wrote:


See  http://lists.gnu.org/archive/html/lilypond-user/2005-06/
msg00637.html
Note that the property names have changed a bit if you use LilyPond
version 2.7.x.

  /Mats

andrea valle wrote:


Thanks Mats,
I suspected but wasn't sure.
So what should I use to have right / left-align in the way
\center  works?
I need to have instrument names right aligned near staff beginning.
Thanks again

-a-



On 25 Jan 2006, at 14:56, Mats Bengtsson wrote:


If you read the documentation carefully, you will notice that
center-align does something completely different than
right-align
and left-align. It seems like a very unfortunate choice of command
names.

  /Mats

Quoting andrea valle [EMAIL PROTECTED]:


Hi to all,
In markup do \right and \left-align work in the same way of
\center-align?
I mean:
\markup{\center-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\right-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\left-align { \line{temple 3} \line{2} \line{blocks}}

I thought so, but while \center-align behaves correctly (3
lines), the other two commands write on the same line thus
producing overlapping lines.
What am I missing?
Thanks

-a-

 (on macosx 10.3, lily 2.7.27)

Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user








Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463  Fax:   (+46) 8
790  7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-use
r




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463  Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]
it



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: 

Re: right and left-align

2006-01-25 Thread andrea valle

Thanks Mats,
I suspected but wasn't sure.
So what should I use to have right / left-align in the way \center 
works?

I need to have instrument names right aligned near staff beginning.
Thanks again

-a-



On 25 Jan 2006, at 14:56, Mats Bengtsson wrote:

If you read the documentation carefully, you will notice that 
center-align does something completely different than right-align

and left-align. It seems like a very unfortunate choice of command
names.

  /Mats

Quoting andrea valle [EMAIL PROTECTED]:


Hi to all,
In markup do \right and \left-align work in the same way of 
\center-align?

I mean:
\markup{\center-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\right-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\left-align { \line{temple 3} \line{2} \line{blocks}}

I thought so, but while \center-align behaves correctly (3 lines), 
the other two commands write on the same line thus producing 
overlapping lines.

What am I missing?
Thanks

-a-

 (on macosx 10.3, lily 2.7.27)

Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user








Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: right and left-align

2006-01-25 Thread Mats Bengtsson

If you read the documentation carefully, you will notice that
center-align does something completely different than right-align
and left-align. It seems like a very unfortunate choice of command
names.

  /Mats

Quoting andrea valle [EMAIL PROTECTED]:


Hi to all,
In markup do \right and \left-align work in the same way of \center-align?
I mean:
\markup{\center-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\right-align { \line{temple 3} \line{2} \line{blocks}}
\markup{\left-align { \line{temple 3} \line{2} \line{blocks}}

I thought so, but while \center-align behaves correctly (3 lines),
the other two commands write on the same line thus producing
overlapping lines.
What am I missing?
Thanks

-a-

 (on macosx 10.3, lily 2.7.27)

Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user







___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: right and left-align

2006-01-25 Thread Han-Wen Nienhuys

Mats Bengtsson wrote:
If you read the documentation carefully, you will notice that 
center-align does something completely different than right-align

and left-align. It seems like a very unfortunate choice of command
names.


suggestions welcome.

--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user