-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Large left padding with inline inserts #315
Comments
I am having the same issue. I recently submitted a question about this on tex.stackechange.com. |
Same problem here |
I am able to fix the issue for the second+ line of an insertet file by using: |
After a brief investigation into the matter, I found out that the problem is most likely in connection with the calculation of the left side protrusion in function bbox_calc(x_1, x_2, y_1, y_2, line_width)
local bb = {
['protrusion'] = -lib.convert_unit(("%fbp"):format(x_1)),
['r_protrusion'] = lib.convert_unit(("%fbp"):format(x_2)) - line_width,
['width'] = lib.convert_unit(("%fbp"):format(x_2))
} I can only assume that maybe the underlying As a quick fix, it helped me to change line 310 of local h_offset = indent_offset |
Also having the issue. Moreover, I would welcome more examples, for instance I am trying to output something like |
I'm currently using upstream lyluatex with TeXLive 2022 on Fedora.
The
\lilypond
command produces large horizontal padding on the left of inline inserts.This isn't the case when using the
lilypond
environment, which also has issues on its own (as already pointed out in #276)I have compiled an example (had to rename the source
test.tex
file as a txt because github wouldn't let me upload it otherwise):test.txt
test.pdf
test.log
The text was updated successfully, but these errors were encountered: