@marmot I wanted to ask you a favor. Your code on the matter is excellent. Why are there two different thicknesses for the images inserted inside the rectangle with rounded edges? Depends on the size of my figures created in pdf? I checked but the dimensions are the same. Thank you
The space comes from
\def\LayoutTextField#1#2{% label, field
#1 #2%
}
If you make that #1#2 it goes, but unlike a "space from missing %" It was clearly added intentionally so I'm not sure if this is a bug or by design, it is one of a group of similar definitions
\def\LayoutTextField#1#2{% ...
@Sebastiano I don't know. It shouldn't happen. Did you check whether this effect goes away if you zoom in and out, i.e. is a viewer effect? Do you have images with which others can reproduce it?
@DavidCarlisle @marmot David is absolutely right and I premise that it's been some time since I created figures. The work area with which I work to make images is the same for all figures with Adobe Illustrator.
@DavidCarlisle @marmot That's why I wrote that the dimensions are the same. In fact the work areas have the same area. Then what do I do? I buy them with a small pdf, an online tool, and then I cut them out. So thanks to David I should also remember that the publisher will have to provide me with pdf with the same size and possibly with the same cutout.
Now it's okay. As you can see the dimensions are different as correctly wrote David. I first draw them with Adobe Illustrator, with the same area, then redensify them and cut them. The result is at the bottom left: different sizes. The problem is solved. Thanks to you.
@DavidCarlisle Look below at the left bottom. The sizes are different.
@Sebastiano this is why (as you should know) you should not ask questions based just on images of the output, always post an example document, it's not like you haven't been asked before.
You're right. But every time, and it's a bad habit of mine, even in my life that in my mind I think others have already understood what I'm asking for.
@DavidCarlisle Anyway, I congratulate you on making me think about the size. I had no doubt about the size. Then when you wrote me the dimensions I got the doubt. Problem, then, solved.
@Sebastiano but it was obvious in the image that you posted that the borders were different size, if you say the problem solved then I suggest we stop this thread but I have no idea what it is about:-)
I know this is late, but what do I do in order to update from TeX Live 2018 to 2019? Do I simply install the 2019 version, and TeXworks (my editor) will use it automatically?
@UlrikeFischer I think Heiko's atveryend package is what we want: probably another one we should simply slipstream into the kernel (@DavidCarlisle)
@UlrikeFischer On another matter, do you think atbegshi box hooks are needed both 'corner of output' and 'corner of page': I think only the latter is really useful
@JosephWright for the pdf resource imho any one is okay. For (luatex) tagging I need the box and \AtBeginShipout, I don't think that the hooks would help for pdftex tagging, imho if it ever will work, it will need hooks in the output routing. No idea what you need for the postscript stuff ;-).
@UlrikeFischer Almost all of them want 'corner of the page', and I think the other uses could also use that (i.e. nothing looks like it needs 'corner of output')
@PauloCereda Paulo I really thought about not doing that. But if I did it in good faith, to attract attention. In fact, as you can see, I then inserted a bounty. Now I do a rollback.
@DavidCarlisle I don't understand the English language as you can see. I see that the two images are the same. So what's the problem with the OP?
@JosephWright Yes, hooks for all occasions ;-). Perhaps even latex \AtEndDocument works. I doubt that anyone would see a need to e.g. set the Mediabox later.
@UlrikeFischer Ahh. Now I have understood. Before there is a curve, and the OP wanted the stright line. I hadn't seen him at all, and I hadn't noticed. That is why I was insisting. Thank you for your pictures.
@DavidCarlisle In fact, the code didn't work without the packages I'd added.
@DavidCarlisle @Sebastiano sure, the code does not work without the aforementioned packages, but they were added without any notice to the OP, so nothing was gained from it. My pet peeve is that a raw edit without any indication of why it is needed does not add value. But that's just me...