TransWikia.com

Inkscape .pdf_tex help - alignment and scaling of objects

TeX - LaTeX Asked on December 16, 2020

Started learning Inkscape for thesis figure generation. I’ve got a few questions about alignment and scaling of objects.

Files:
svg, pdf, pdf_tex, mwe.pdf.

Images if you don’t want to download the files:
https://imgur.com/a/Ut9Cymd. Img 1 is within Inkscape, img 2 is in mwe.pdf

I have a MWE.tex for testing this which I use:

begin{figure}
input{<figure_name>.pdf_tex}
end{figure}

My figure is present in mwe.pdf however it’s pushed very far to the right, even adding in centering before the input command doesn’t seem to fix it.
Edit: The image being off center was solved by changing Output page size to Use exported objects size.

I’m also having alignment issues with the text and the scale bars. What I want to happen is for the text to be aligned with the right of the scale bar, as seen in the svg/inkscape image C and D. I use the align tool to align them both relative to one another but this doesn’t seem to work. I believe I somehow need to change the anchor point of the text box, ideally to the bottom right. Edit: Went to V0.92 and found the text align button. Unsure where it’s hidden in V1.0. that solved the issue.

The scale of the figure labels, A-F, is also different. This is expected as the text size conforms to the tex document. How do I configure it so the white box scales with the text?

Thanks for the help!

Edit: changed file hosting location

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP