🎨 wrap svg in html for better viewing

This commit is contained in:
DannyDannyDanny 2022-10-01 23:14:53 +02:00
parent eaad65997b
commit 001b2211b5
2 changed files with 22 additions and 1 deletions

21
diagram.html Normal file
View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<title>
SVG set Background Color
</title>
</head>
<body>
<center>
<img src="diagram.svg" />
<!-- <svg height="100" width="100"> -->
<!-- <circle cx="50" cy="50" r="40" stroke="black" -->
<!-- stroke-width="3" fill="red" /> -->
<!-- </svg> -->
</center>
</body>
</html>

View file

@ -5,4 +5,4 @@ clean:
rm *.svg
svg:
pdflatex -shell-escape diagram.tex && explorer.exe diagram.svg
pdflatex -shell-escape diagram.tex && explorer.exe diagram.html