-
Notifications
You must be signed in to change notification settings - Fork 105
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
In a 10-point font, \drawUnitLine
and \drawPoint
increase the lineskip a bit
#36
Comments
From what i see, this is caused by a little bit too big text labels, when they are turned on. Making them smaller solves the problem (hopefully) 43d14d0#diff-729a8dc19cc1aa522f18a5cd5cda0084R2195 |
@mciura or you suggest adding |
I do not think adding
|
As a generic solution for all labels i wouldn't do that, because sometimes labels take much space and if this space is ignored labels can fall too close to the surrounding text: In general, that would work perfectly only for lines (points sometimes have sharp angles and, therefore, dangerous labels). Maybe, instead of decreasing labels footprint, increase |
I feel that messing with
( |
In fact, there is 2pt extra space added above and below every inline picture at TeX level (otherwise taller inline pictures "scratch" neighbouring lines). What you propose looks practically identical to reducing that space a bit. I tried to kill both birds with one stone by adding a conditional which removes that extra space only for pictures that have height less than a certain threshold (e. g. |
@mciura alternatively, here's a hook placed after all the metapost code 3d34b01#diff-6a58985423a46a2bb439cfdf26904e5fR14 |
Looks great, Sergey! Please excuse that it took me so long to respond. Last week, my son appropriated my Linux box for watching Peppa Pig on YouTube. |
Please compare the results of typesetting the text of any proposition with
\drawUnitLine{XY}
and\smash{\drawUnitLine{XY}}
.The text was updated successfully, but these errors were encountered: