Questions tagged [svg]
SVG, short for Scalable Vector Graphics, is a language used for describing two-dimensional vector graphics.
415 questions
Score of 4
1 answer
184 views
Efficiency and Size trade-off when customize symbols?
This post originated wipet's comment here and here:
The solution has one disadvantage and should not be used commonly with massive usage of these symbols. Each occurrence of this symbol saves to the ...
Score of 2
2 answers
131 views
How to tweak the svg-symbol baseline and size to act exactly the same as `\ell`?
I want to self-answer my previous question —— to derive the latin-modern-math-stlye \ell for symbol h and k, learning from kabenyuk's solution:
\documentclass{article}
\usepackage{graphicx}
\...
Score of 1
3 answers
130 views
How could make inkscape input path as single path but not filled area?
The question is similar to this classical one.
I followed the following instructions with inkscape and svg2tikz:
Procedure:
import your bitmap image.
vectorize it by Inkscape (potrace algorithm).
...
Score of 6
1 answer
157 views
How to draw an SVG using paths in Tikz picture?
How to draw the same image than an SVG using paths in TikZ?
The target is get the same TikZ image than the Splatter (fontmfizz) but I can´t.
1.- The TikZ image obtained is vertical flipped, and
2.- ...
Score of 5
1 answer
92 views
Tikzcd's "crossing over" option and transparent backgrounds
I currently have the following simple setup for producing commutative diagrams using tikzcd and exporting them to .svg's, following the two most popular answers on this question:
Put the code for the ...
Score of 4
1 answer
161 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 ...
Score of 3
1 answer
149 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[...
Score of 0
0 answers
114 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 ...
Score of 2
1 answer
233 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 ...
Score of 0
1 answer
129 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 ...
Score of 3
4 answers
329 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 ...
Score of 1
1 answer
150 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 ...
Score of 0
1 answer
184 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=...
Score of 0
0 answers
133 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 ...
Score of 1
0 answers
125 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 ...