-
Notifications
You must be signed in to change notification settings - Fork 106
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
tikz overlay combined with baseline doesn't work as expected #344
Comments
Migrated from SourceForge What do you suggest |
Migrated from SourceForge Well the expected output was this:
That means the reference point of the picture relative to the "outside" is at (3,3) and that the picture has a 0pt size. |
Migrated from SourceForge I get that, but how do you suggest this is accomplished without breaking all existing uses of |
Migrated from SourceForge I'm not sure what you mean by "semantically meaningless". Setting the baseline changes the reference point and so the placement on the line. That's quite independent from the question if the picture occupies space or not. I also don't think that it would break current usages of baseline. What I don't know is if the behaviour can be implemented without breaking something - percusse comments in the tex.sx sounded as if it could be difficult. In this case it should be documented that some keys can break |
Migrated from SourceForge
Diff:
|
Migrated from SourceForge Hi, I hope I'm not stating the obvious, but the unwanted depth appears to come from the fact that the tikzpicture produces \lower〈dimen〉〈box〉 in this case, instead of just a 〈box〉. The 〈box〉 has zero width, height and depth:
but the fact that it is lowered (apparently due to the use of 'baseline') influences the depth[1] of the enclosing box (in this case, the line containing 'abc' and 'def'). This can be shown with
HTH, thanks to both of you for all the great work! [1] Possibly the height too, depending on the context. |
Migrated from SourceForge
Author: u_fischer
Timestamp: 2014-12-06 18:13:58.515000
When I use the baseline key in an overlay TikZ picture the picture suddenly has a nonzero depth:
It looks like a bug to me. See also http://tex.stackexchange.com/questions/215583/tikz-overlay-combined-with-baseline
Ulrike Fischer
The text was updated successfully, but these errors were encountered: