blob: 3634746fab4deee2c32f6dbb4c78dc17e00380ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Lader TeX package
_This package permit the creation of simple ladder diagram into TeX documents._
[Example](https://github.com/AurelienC/tex-ladder/blob/master/ladder.pdf)
## Usage
The code must be inserted between en `tikzpicture` section.
Add the packages :
\usepackage{tikz}
\usepackage{Ladder}
### Net
_All contacts and relays are, by default, added in series_
* `LadderLine` begin a new ladder net
* `startParallel` begin a parallel segment
* `setParallel` begin the new parallel segment
* `unsetParallel` end of the parallel segment
### Contacts
* `LadderNO[type]{name}{mnemonic}` a Normally Opened contact
* `LadderNC[type]{name}{mnemonic}` a Normaly Closed contact
_Type may be P (rising edge), N (falling edge)..._
### Relays
* `LadderB[type]{name}{mnemonic}` a relay
_Type may be R (reset), S (set)..._
|