For the first two questions, you can use the following trick:
\markup {\override #'(word-space . 0.0) \line {III. \super a } }
Regarding C), your attempt will work if you just place the spaces
correctly in
\once \override TextScript #'extra-offset = #' ( -1.5 . 1.0 )
The syntax is
( number space dot space number )
/Mats
Gilles QUESNE wrote:
*Hi everybody!
I'm using lilypond version 2.8.5*
*I would like to know how to move the expression "III. a" at the line
45 of my Text01_ExtraitProblemVoix1.ly joint
*
Trois questions:
*Three questions:*
*A)* Comment* réduire les espaces* entre:
*How does we do dwindle the spaces between:*
1.
l'élément *'4.'* et le *'e'* provoqué par la commande
*item **'4.'* and the *'e' cause by command*
subtitle = \markup { \bold* 4.* *\super e* Position } l*ine 11 of the
enclose part*
2. l'élément *'III.' *et le *'a'* provoqué par la commande
*item* *'III.' *and the *'a'* *cause by command*
_\markup { *III. \super *} *line 25 of the enclose part *
*B)* la commande de déplacement de la ligne 45 de la pièce jointe ne
s'opère pas, s'agit-il d'un bug?
*The command move in question line 45 of the enclose part dont' operate*
*I don't know, if it's a feature or a bug, but at least it should be
possible to
override it, which I couldn't manage to do. The following example
illustrates the same phenomenon.
*
*C)* Comment effectuer deux déplacements, indépendants,
apposées sur la même note:
*How effect two moves separate affixed on the same note, fingering and
number of the cello string*
_d'une part, celui d'un doigté,
_d'autre part, celui de l'indication de la corde du violoncelle 'III.
\super a'.
J'ai fait une démonstration des problèmes dans le fichier .ly que j'ai
joint.
*The following example
illustrates the same phenomenon. *
Voici toutes les commandes de ce fichier.
Thank you for your patience.
\version "2.8.5"
#( ly:set-option 'point-and-click #f )
#( set-global-staff-size 35 )
\paper {
indent = 10\mm
line-width = 170\mm
}
\header {
date = # ( strftime "%d %B %Y" ( localtime ( current-time ) ) )
title = "Leçon du N° 21"
subtitle = \markup { \bold 4. \super e Position }
tagline = \markup { \fontsize #-4 { "Edition du" \date
# ( ly:export ( string-append "Music engraving by LilyPond version "
( lilypond-version ) ) )
\with-url #"http://www.lilypond.org" "- www.lilypond.org" } } }
{
\clef bass
\key c \major
\time 4/4
e,2 c_4 |
b,2 a,4 ( b, ) |
c2
%%% Aucun déplacement n'est imposé, présence d'une collision.
e4-3 _\markup { III. \super a }
( c'-4 _\markup { II. \super a } ) |
b2-3 a4-1 ( b ) |
%%5
c'2-4 c, |
\bar "|." \break
e,2 c_4 |
b,2 a,4 ( b, ) |
c2
%%% Résolution de la collision par le déplacement de 'II. \super a'
vers le haut.
e4-3 _\markup { III. \super a }
( c'-4 ^\markup { II. \super a } ) |
b2-3 a4-1 ( b ) |
%%10
c'2-4 c, |
\bar "|." \break
e,2 c_4 |
b,2 a,4 ( b, ) |
c2
%%% Commande du déplacement de 'III.\super a'. Cette commande est
ignorée, s'agit-il d'un bug?
\once \override TextScript #'extra-offset = #' ( -1. 5. 1.0 ) e4-3
_\markup { III. \super a }
( c'-4 ^\markup { II. \super a } ) |
b2-3 a4-1 ( b ) |
%%15
c'2-4 c, |
\bar "|." \break
e,2 c_4 |
b,2 a,4 ( b, ) |
c2
%%% Déplacement du 'doigté': qui se produit effectivement.
\once \override Fingering #'extra-offset = #'(-0.3 . -1.8) e4-3
_\markup { III. \super a }
( c'-4 ^\markup { II. \super a } ) |
b2-3 a4-1 ( b ) |
%%20
c'2-4 c, |
\bar "|."
}
Gilles Quesne
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
------------------------------------------------------------------------
\version "2.8.5"
#( ly:set-option 'point-and-click #f )
#( set-global-staff-size 35 )
\paper {
indent = 10\mm
line-width = 170\mm
}
\header {
date = # ( strftime "%d %B %Y" ( localtime ( current-time ) ) )
title = "Leçon du N° 21"
subtitle = \markup { \bold 4. \super e Position }
tagline = \markup { \fontsize #-4 { "Edition du" \date
# ( ly:export ( string-append "Music engraving by LilyPond
version "
( lilypond-version ) ) )
\with-url #"http://www.lilypond.org" "- www.lilypond.org"
} } }
{
\clef bass
\key c \major
\time 4/4
e,2 c_4 |
b,2 a,4 ( b, ) |
c2
%%% Aucun déplacement n'est imposé, présence d'une collision.
e4-3 _\markup { III. \super a }
( c'-4 _\markup { II. \super a } ) |
b2-3 a4-1 ( b ) |
%%5
c'2-4 c, |
\bar "|." \break
e,2 c_4 |
b,2 a,4 ( b, ) |
c2
%%% Résolution de la collision par le déplacement de 'II. \super a' vers le haut.
e4-3 _\markup { III. \super a }
( c'-4 ^\markup { II. \super a } ) |
b2-3 a4-1 ( b ) |
%%10
c'2-4 c, |
\bar "|." \break
e,2 c_4 |
b,2 a,4 ( b, ) |
c2
%%% Commande du déplacement de 'III.\super a'. Cette commande est ignorée, s'agit-il d'un bug?
\once \override TextScript #'extra-offset = #' ( -1. 5. 1.0 ) e4-3 _\markup { III. \super a }
( c'-4 ^\markup { II. \super a } ) |
b2-3 a4-1 ( b ) |
%%15
c'2-4 c, |
\bar "|." \break
e,2 c_4 |
b,2 a,4 ( b, ) |
c2
%%% Déplacement du 'doigté': qui se produit effectivement.
\once \override Fingering #'extra-offset = #'(-0.3 . -1.8) e4-3 _\markup { III. \super a }
( c'-4 ^\markup { II. \super a } ) |
b2-3 a4-1 ( b ) |
%%20
c'2-4 c, |
\bar "|."
}
%%% Comment provoquer deux déplacements, indépendants, apposées sur la même note:
%%% d'une part, celui d'un doigté,
%%% d'autre part, celui de l'indication de la corde du violoncelle 'III. \super a'.
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
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