🎨 wrap svg in html for better viewing
This commit is contained in:
parent
eaad65997b
commit
001b2211b5
2 changed files with 22 additions and 1 deletions
21
diagram.html
Normal file
21
diagram.html
Normal 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>
|
||||
2
makefile
2
makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue