Skip to content

Text scaling issues #10

@mitar

Description

@mitar

I cannot really get text to correctly align with the image. I am guessing because the image is heavily scaled down. I tried using pretex=\tiny and pretex=\relscale{0.1} but it is still off (text too large).

I am thinking that maybe a solution would be if:

  • Inkscape is used to convert to PDF + LaTeX.
  • pdflatex is used on empty LaTeX document with just including that PDF + LaTeX to generate a new PDF file, but with LaTeX fonts.
  • I then include that PDF file into my main document, scaling it as necessary.

That would make it use the LaTeX fonts but allow precise scaling as needed.

It looks like this package could support that but it is not yet fully possible? So svg-extract could extract to a separate PDF with custom preamble in extractpreamble, but then I think that instead of the original image the extracted PDF should be included in the main document.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions