Re: textspanner too short

2007-12-25 Thread TiagoM



TiagoM wrote:
> 
> Hi lilyponders
> 
> I'm having some trouble with the textspanner line. In the following
> example:
> 
> \version "2.10.33"
> \paper {
>   raggedright = ##f
> }
> \score{
> 
> \new Staff{
> 
> <<{e''8.[ c''16] b'8.[ c''16]
> \once \override TextSpanner #'edge-text = #'("III" . "")
> \once \override TextSpanner #'direction = #1
> \once \override TextSpanner #'style = #'line
> \once \override TextSpanner #'edge-height = #'(0 . 0.5)
> \once \override TextSpanner #'dash-fraction = #'()
> d''8.[\startTextSpan e''16]\stopTextSpan }\\{g2 4 }>>
> s4 s s s s s s s s s s
> }}
> 
> the spanner line is not printed, still I think there is some space
> left to print it. It seems to me that the text is printed far to right
> related to the note head it refers.
> 
> Is there a way to offset left the text so more space is left; or
> center the text to the notehead; or reduce the gap between the text
> and the line?
> 
> Thank you
> 
> Tiago
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

No-one?

{s}'s were inserted for simulating final score purpose.

Tiago
-- 
View this message in context: 
http://www.nabble.com/textspanner-too-short-tp14362025p14498379.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Arpeggio and lefthandfingering

2007-10-16 Thread TiagoM

The extra-offset solves the problem of closeness between the arpeggio itself
and the notes. if the fingering is oriented right, the fingering numbers are
still far away. and even with extra-offset on the fingering, there will
still be a visible gap between everything (fingers arpeggio and notes) and
whatelse came before.

\version "2.10.25"
staffClassicalGuitar = \new Staff  {
\set Staff.connectArpeggios = ##t
<<
{ \relative c''
  \set fingeringOrientations = #'(left)
a'4  2.\arpeggio
   \override Fingering #'extra-offset = #'(2.2 . 0)
 \override Staff.Arpeggio #'extra-offset = #'(2.2 . 0.0 ) 
a'4  2.\arpeggio
}
\\
{a'4 a2.\arpeggio a'4 a2.\arpeggio }
>>
}

\score {
\staffClassicalGuitar
\layout {
\context { \Staff
\consists "Span_arpeggio_engraver"
}
}
} 
\paper {
  ragged-right=##t
}

Any solution for this?

Regards

Tiago


Valentin Villenave wrote:
> 
> 2007/8/14, Peter Terpstra <[EMAIL PROTECTED]>:
>> Peter Terpstra in <[EMAIL PROTECTED]> :
>>
>> > Arpeggio and lefthandfingering
>>
>> Nobody?
>>
>> I tried it with " \override Arpeggio #'force-hshift" and differt other
>> objectnames but the arpeggio doe not want to come close to the notes when
>> there is lefthandfingering.
> 
> Since you put the Span_arpeggio_engraver in the Staff context, you
> have to specify it when entering your \override; otherwise LilyPond
> doesn't know how to handle it.
> 
> For instance,
>   \override Staff.Arpeggio #'extra-offset = #'(2.2 . 0.0 )
> does the trick.
> 
> Regards,
> Valentin
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Arpeggio-and-lefthandfingering-tf4263370.html#a13241971
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Arrow arpeggio

2007-08-22 Thread TiagoM

Nobody?

Can one do \arpeggioUp and erase the zig-zag line, then print a postscript
line at it's place?


Henrik Frisk wrote:
> 
> 
>> Is there any easy solution to make an arrow (up or down) out of an
>> arpeggio?
>> Somenthing like \arpeggioUp or \arpeggioDown but instead of getting a
>> zigzag
>> line, get a straight arrowed line.
>> 
> I'd be interested in this too. From property-init.ly you can see that
> the stencil for the arpeggion object can be changed. Here's how it's set
> for the bracket:
> 
>  \override Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket
> 
> Anybody knows if, and in that case how, to pass this object another
> stencil that draws a line? In safe-lily.scm only two values are listed
> for the ly:arpeggio: 'print' and 'brew-chord-bracket'
> 
> /henrik
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Arrow-arpeggio-tf3923190.html#a12279277
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Text alignment center of note head

2007-06-17 Thread TiagoM



Mats Bengtsson-4 wrote:
> 
> TiagoM wrote:
> 
>> ...
>>
>>This is what I was looking for. But not yet all of it. I'd like to have
the
>>text centered on the note head only when the text itself is centered (when
>>using \hcenter or \center-align or \halign #0).
>>
>>Is it possible to add this \override property writen above inside a
>>\markup{}, just like when we change the font size: \markup {\override
>>#'(font-size . -5) "ABC"}?
>>  
>>
> You cannot do this setting from within a markup command,
> as far as I know, but you can easily define a macro
> centermarkup = {
> \once \override TextScript #'self-alignment-X = #CENTER
> \once \override TextScript #'X-offset =#(ly:make-simple-closure
>  `(,+
>,(ly:make-simple-closure (list 
> ly:self-alignment-interface::centered-on-x-parent))
>,(ly:make-simple-closure (list 
> ly:self-alignment-interface::x-aligned-on-self
> }
> 
> that you can use like
> 
> c^"Left aligned" \centermarkup c^"Centered" c^"Left aligned again"
> 
> Of course you can change the macro name to something shorter
> if you want to save typing.
> 
>>  
>>
>>Anyway I think the centering commands should already center the text with
>>the center of the notehead. is there a reason why it isn't this way?
>>  
>>
> The alignment is done by aligning a reference point tied to the
> note with a reference point tied to the markup. As long as you
> have left aligned markups, I hope you agree that it makes sense
> to have them left aligned with the note head, i.e. the reference
> point of the note head is at the left edge, so that's why the
> reference point of the note is not at the center by default.
> 
> I agree that it would be a nice feature, though.
> 
>/Mats
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

What if there are 2 markup's on the same note, one centered aligned and the
other not? If you could \override the setting inside the markup it wouldn't
affect the non centered markup. Is there really no solution for this? Should
we ask a feature that \hcenter should be centered with the notehead's center
and not it's edge?

Tiago
-- 
View this message in context: 
http://www.nabble.com/Text-alignment-center-of-note-head-tf3923193.html#a11163281
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Text alignment center of note head

2007-06-17 Thread TiagoM



Mats Bengtsson-4 wrote:
> 
> However, if I understand correctly, the question was about the
> alignment point of the note, not of the text itself. You can get
> it centered on the note head by the setting:
> 
> \override TextScript #'X-offset =#(ly:make-simple-closure
>   `(,+
> ,(ly:make-simple-closure (list 
> ly:self-alignment-interface::centered-on-x-parent))
> ,(ly:make-simple-closure (list 
> ly:self-alignment-interface::x-aligned-on-self
> 
> I recommend you to use copy/paste to insert this into your file,
> since it's very critical to get all backwards quote marks and commas
> correct.
> 
>/Mats
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

This is what I was looking for. But not yet all of it. I'd like to have the
text centered on the note head only when the text itself is centered (when
using \hcenter or \center-align or \halign #0).

Is it possible to add this \override property writen above inside a
\markup{}, just like when we change the font size: \markup {\override
#'(font-size . -5) "ABC"}?

Anyway I think the centering commands should already center the text with
the center of the notehead. is there a reason why it isn't this way?
-- 
View this message in context: 
http://www.nabble.com/Text-alignment-center-of-note-head-tf3923193.html#a11161866
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Arrow arpeggio

2007-06-14 Thread TiagoM

Hi

Is there any easy solution to make an arrow (up or down) out of an arpeggio?
Somenthing like \arpeggioUp or \arpeggioDown but instead of getting a zigzag
line, get a straight arrowed line.

Thank you

Tiago
-- 
View this message in context: 
http://www.nabble.com/Arrow-arpeggio-tf3921463.html#a9228
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Text alignment center of note head

2007-06-14 Thread TiagoM

Hi

How can one align a \markup with the center of the notehead instead of it's
left edge?

Thank you.

Tiago


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


Arrow arpeggio

2007-06-14 Thread TiagoM

Hi

Is there any easy solution to make an arrow (up or down) out of an arpeggio?
Somenthing like \arpeggioUp or \arpeggioDown but instead of getting a zigzag
line, get a straight arrowed line.

Thank you

Tiago


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