[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: problem with articulation, when using ekmelily
From: Stefan Thomas <kontrapunktstefan () gmail ! com>
Date: 2018-08-21 14:48:42
Message-ID: CAH-WrMGzpGd9kEg8oB6sEzh4BqT5mFsKQ_bEdQwFVpcdK03VaA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Dear Thomas,
many thanks for Your reply.
The command \override Staff.AccidentalPlacement.right-padding = 0.25 does
the right thing for me now!
Am Di., 21. Aug. 2018 um 13:42 Uhr schrieb Thomas Morley <
thomasmorley65@gmail.com>:
> 2018-08-21 10:17 GMT+02:00 Stefan Thomas <kontrapunktstefan@gmail.com>:
> > Dear community,
> > I have a problem with the placement of accents in the following example.
>
> The accent is pushed upwards?
>
> > I know it has to do with the layout-block of ekmel.ily, but I don't know,
> > how to restore the normal behavior.
> > Here is my example:
> >>
> >> \version "2.18.2"
> >> \include"ekmel.ily"
> >> Music = { \tuplet 5/4 { as''16 -> \mf f''8 as'' -> } \tuplet 5/4 {
> >> f''16 g''8 r } r2 }
> >> \score { \new Staff { \Music } }
> >
> > The file ekel.ily can be found at
> > http://www.ekmelic-music.org/software/ekmelily-1.10.zip
> > Thanks for Your help!
> > Stefan
>
> It's probably because the Ekmelos-accidentals are wider than the default.
> In your example stencil-extent in X-axis is (0.0 . 1.05844251968504)
> Wile default would be (-0.12001 . 0.800004)
> Though, I'm not a font expert, can't say more...
>
> Additionally the ekmel-accidentals extents are boxes, whereas with the
> default accidentals skylines are more tight, see attached png
> Not sure how to get this right.
>
> Nevertheless your example can be fixed with
> \override Staff.AccidentalPlacement.right-padding = 0.25
> default is 0.15
>
> Some other remarks:
>
> (1)
> You likely know it does not compile with recent 2.19.xx versions,
> because the `parser`-argument is unnecessary in 2.19. for
> `ly:parser-set-note-names` and `ly:parser-include-string`
>
> (2)
> Since guile-2.2.3 the construct
> (if (not (defined? ...)
> (define ... ...))
> returns an error:
> "definition in expression context, where definitions are not allowed,"
>
> Instead one could do:
> (module-define! (current-module) ... ...)
> or
> (ly:parser-define! ... ...)
>
> Not sure what we should recommend.
>
> Ofcourse (2) can be ignored as long as you don't try to compile
> lilypond yourself with this guile-version.
>
>
> Cheers,
> Harm
>
[Attachment #5 (text/html)]
<div dir="ltr"><div>Dear Thomas,</div><div>many thanks for Your reply.</div><div>The \
command \override Staff.AccidentalPlacement.right-padding = 0.25 does the right thing \
for me now!<br></div></div><br><div class="gmail_quote"><div dir="ltr">Am Di., 21. \
Aug. 2018 um 13:42 Uhr schrieb Thomas Morley <<a \
href="mailto:thomasmorley65@gmail.com">thomasmorley65@gmail.com</a>>:<br></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">2018-08-21 10:17 GMT+02:00 Stefan Thomas <<a \
href="mailto:kontrapunktstefan@gmail.com" \
target="_blank">kontrapunktstefan@gmail.com</a>>:<br> > Dear community,<br>
> I have a problem with the placement of accents in the following example.<br>
<br>
The accent is pushed upwards?<br>
<br>
> I know it has to do with the layout-block of ekmel.ily, but I don't \
know,<br> > how to restore the normal behavior.<br>
> Here is my example:<br>
>><br>
>> \version "2.18.2"<br>
>> \include"ekmel.ily"<br>
>> Music = { \tuplet 5/4 { as''16 -> \mf f''8 \
as'' -> } \tuplet 5/4 {<br> >> f''16 g''8 r } \
r2 }<br> >> \score { \new Staff { \Music } }<br>
><br>
> The file ekel.ily can be found at<br>
> <a href="http://www.ekmelic-music.org/software/ekmelily-1.10.zip" \
rel="noreferrer" target="_blank">http://www.ekmelic-music.org/software/ekmelily-1.10.zip</a><br>
> Thanks for Your help!<br>
> Stefan<br>
<br>
It's probably because the Ekmelos-accidentals are wider than the default.<br>
In your example stencil-extent in X-axis is (0.0 . 1.05844251968504)<br>
Wile default would be (-0.12001 . 0.800004)<br>
Though, I'm not a font expert, can't say more...<br>
<br>
Additionally the ekmel-accidentals extents are boxes, whereas with the<br>
default accidentals skylines are more tight, see attached png<br>
Not sure how to get this right.<br>
<br>
Nevertheless your example can be fixed with<br>
\override Staff.AccidentalPlacement.right-padding = 0.25<br>
default is 0.15<br>
<br>
Some other remarks:<br>
<br>
(1)<br>
You likely know it does not compile with recent 2.19.xx versions,<br>
because the `parser`-argument is unnecessary in 2.19. for<br>
`ly:parser-set-note-names` and `ly:parser-include-string`<br>
<br>
(2)<br>
Since guile-2.2.3 the construct<br>
(if (not (defined? ...)<br>
(define ... ...))<br>
returns an error:<br>
"definition in expression context, where definitions are not allowed,"<br>
<br>
Instead one could do:<br>
(module-define! (current-module) ... ...)<br>
or<br>
(ly:parser-define! ... ...)<br>
<br>
Not sure what we should recommend.<br>
<br>
Ofcourse (2) can be ignored as long as you don't try to compile<br>
lilypond yourself with this guile-version.<br>
<br>
<br>
Cheers,<br>
Harm<br>
</blockquote></div>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic