Questions tagged [svg]
SVG, short for Scalable Vector Graphics, is a language used for describing two-dimensional vector graphics.
410 questions
4
votes
1
answer
137
views
Is there a way to embed animated svg in dvisvgm export?
Important: This is an academic question, so no MWE can be provided (at least at this point in time).
Preamble
After looking into the media4svg package for inclusion of videos into the svg export of a ...
3
votes
1
answer
120
views
Unusual blank space in TikZ picture when converted to SVG using dvisvgm
I have written a TikZ code for a normal triangle picture using the tikz package and tkz-euclide packages, among other just added for emergency. I have the following file:
main.tex
\documentclass[...
0
votes
0
answers
78
views
Changes in font size not reflecting in SVG path geometry (latex + dvisvgm)
I am using latex + dvisvgm to extract the paths of all latex glyphs so I can use them in an animation software (Blender). The problem I am having is that the paths in the SVG file remain unchanged ...
2
votes
1
answer
141
views
How to format .svg files in Overleaf so that stroke width stays constant when the figure is resized?
I'm writing a book in Overleaf and have hundreds (soon to be thousands) of vector graphics for figures. My current workflow has been to draw the figures in Illustrator, export at PDF, and use the ...
0
votes
1
answer
107
views
Export a figure in inkscape as tikz: the problem with a map
I have the following map of Brasil and its states:
I would like to convert it using SVG2TikZ as in click here
Another application is given in click here
However, when I export my map to tikz in ...
3
votes
4
answers
276
views
Convert specfic LaTeX environments to svg images
Some latex files that I need to translate to html come with environments that are not supported using make4ht, for example nicematrix, polynomial, hhline, etc. So far what I have done is to generate ...
1
vote
1
answer
119
views
Environment for Make4ht that automatically converts to svg images
I frequently use Make4ht to translate .tex files to html. When I don't get a satisfactory translation of some environment, I open the pdf in Inkskape and generate an .svg figure. My question is if it ...
0
votes
1
answer
138
views
Alt text for SVGs
While I know that for regular images I could use for the alt text something like
\DocumentMetadata{testphase=phase-III}
\documentclass[a4paper]{article}
\usepackage{graphicx}
\usepackage[inkscapelatex=...
0
votes
0
answers
90
views
Unable to insert a plot (from Origin) saved as an SVG file with the svg package
I'm trying to insert a plot made in Origin (OriginPro 2023) and saved as an SVG file into my document but I can't get it to work correctly. So far I've tried to do this with the svg package and the ...
1
vote
0
answers
111
views
Can media4svg narrate beamer slides?
I am trying to create narrated beamer slides. When the reader goes to a page on a slideshow, the related audio narration begins. (Of course, they can mute it by turning the volume down.). I also ...
5
votes
3
answers
310
views
Bundle .svg files with LaTeX package
Similar to this question, I am attempting to write a LateX package that provides some .svg images. The proposed solution works effectively for .png images, but it does not work with .svg files.
...
3
votes
1
answer
261
views
Any utility to convert from SVG/PDF/PS to MP (metapost)?
Hi folks do you know any utilities to convert from SVG/PS/PDF to MP?
I know about tools that do the opposite but in my case I need to convert some schematic graphics I made into pure metapost.
I ...
1
vote
1
answer
94
views
What commands to include in shell_escape_commands to enable inkscape for pdflatex?
I use the svg package to generate an image (pdf file) with inkscape.
How should I set "shell_escape_commands" in texmf.cnf to make this work?
When I set "shell_escape = t" in texmf....
0
votes
1
answer
267
views
Latex Workshop send the wrong svg file path to Inkscape [duplicate]
I'm on an Ubuntu 22.04.5 LTS machine, using vscode 1.95.1 and the LatexWorkshop 9.14.1 plugin. I have been writing a document using the acmart document class without problem until now.
But I am having ...
1
vote
1
answer
112
views
LyX fails with SVG on Fedora 40
I have been using LyX for several years on Ubuntu. Now I had to move to Fedora 40, where I have installed LyX Version 2.4.1 (Monday, July 1, 2024) and Inkscape Inkscape 1.3.2 (091e20ef0f, 2023-11-25) ...