Skip to content

Commit 4e0f7c0

Browse files
committed
Create example-class-relations--latex.tex (and rename svg example to --svg.tex)
1 parent 192c3a5 commit 4e0f7c0

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Check [issue #1](https://github.com/latextemplates/plantuml/issues/1) for the cu
4242

4343
**Result:**
4444

45-
![example minimal](example-minimal.png)
45+
![Minimal example](example-minimal.png)
4646

4747
### Example Class Relations Rendered Using SVG
4848

@@ -73,7 +73,7 @@ Car -- Person : < owns
7373

7474
**Result:**
7575

76-
![example minimal](example-class-relations.png)
76+
![Class relations rendered using SVG](example-class-relations--svg.png)
7777

7878
## Installation
7979

example-class-relations--latex.tex

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
\documentclass{scrartcl}
2+
3+
\usepackage{graphics}
4+
5+
\usepackage[output=latex]{plantuml}
6+
\tikzstyle{every picture}+=[font=\sffamily]
7+
8+
\begin{document}
9+
\begin{plantuml}
10+
@startuml
11+
class Car
12+
13+
Driver - Car : drives >
14+
Car *- Wheel : have 4 >
15+
Car -- Person : < owns
16+
@enduml
17+
\end{plantuml}
18+
\end{document}
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313

1414
\usepackage[output=svg]{plantuml}
1515

16-
% In case text should be typeset using LaTeX, use "output=latex"
17-
%\usepackage[output=latex]{plantuml}
18-
1916
\begin{document}
2017
\begin{plantuml}
2118
@startuml

0 commit comments

Comments
 (0)