lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incorrect cropping when integrating score with lyluatex


From: Aaron Hill
Subject: Re: Incorrect cropping when integrating score with lyluatex
Date: Sun, 30 Aug 2020 04:29:30 -0700
User-agent: Roundcube Webmail/1.4.2

On 2020-08-30 2:12 am, Claire Meyer wrote:
Hi all,

I'm integrating a score with latex via lyluatex. The .ly file is finished,
and gives no error; the score produced looks good, and I'm at the step
where I just integrate with latex, and touch up the things that need
retouching. I insert system by system, and unfortunately, some dynamics are
mostly cropped out :

[image: image.png]
The scribble between the two systems is a dynamic mark that applies to the lower system. I looked in the temporary files generated by lyluatex, and
the pdfs are cropped in such a manner that all my
higher-placed-within-the-system dynamics are mostly removed.

Those dynamics are all custom dynamic marks that I constructed like :

mydyn = \tweak DynamicText.self-alignment-X #LEFT
#(make-dynamic-script
(markup
#:with-dimensions '(0 . 5) '(0 . 0) #:line
(#:normal-text #:italic "<whatever my dynamic mark says>")))

Be careful using \withDimensions, especially when specifying extents that do not accurately represent the content. In this case, you are telling LilyPond that the text has no vertical extent.

I would imagine the issue(s) stem from this. I suggest allowing LilyPond to manage extents on its own, which would give it the information needed to properly crop.


-- Aaron Hill



reply via email to

[Prev in Thread] Current Thread [Next in Thread]