| 1 |
\documentclass{scrartcl} |
| 2 |
|
| 3 |
\usepackage{graphics} |
| 4 |
|
| 5 |
% Enables inclusion of SVG graphics - 1:1 approach |
| 6 |
% This is NOT the approach of https://ctan.org/pkg/svg-inkscape |
| 7 |
% which allows text in SVG to be typeset using LaTeX. |
| 8 |
% We just include the SVG as is. |
| 9 |
\usepackage{epstopdf} |
| 10 |
\epstopdfDeclareGraphicsRule{.svg}{pdf}{.pdf}{% |
| 11 |
inkscape "#1" --export-filename="\OutputFile" |
| 12 |
} |
| 13 |
|
| 14 |
\usepackage[output=svg]{plantuml} |
| 15 |
|
| 16 |
\begin{document} |
| 17 |
\begin{plantuml} |
| 18 |
@startuml |
| 19 |
class Car |
| 20 |
|
| 21 |
Driver - Car : drives > |
| 22 |
Car *- Wheel : have 4 > |
| 23 |
Car -- Person : < owns |
| 24 |
@enduml |
| 25 |
\end{plantuml} |
| 26 |
\end{document} |