0

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://i.stack.imgur.com/ksppi.jpg. 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

Malakan
  • 163
  • The pdf file has several pages, which seems bizarre. Also the TeX code does many times the same thing. – Denis Sep 09 '20 at 18:28
  • @Denis I noticed the increase in pages on the pdf file, I have it set to Use exported objects size so unsure why it's happening. Seems maybe the components are being split to different pages for some reason? – Malakan Sep 10 '20 at 17:39
  • Unfortunately, I am not a user of Inkscape. I just wanted to point out that your code (or Inkscape(s) was producing a strange pdf file. If in a hurry, I would advise to extract from the pdf the image you want and then to include it as an image. – Denis Sep 10 '20 at 20:01
  • @Denis no worries. The figure seems to be working fine, minus my last remaining issue of the white box around the figure labels. Idealy it'd scale with the text box. – Malakan Sep 11 '20 at 15:46

0 Answers0