Debian Codegraph @

texmf-dist/doc/latex/pmdraw/examples/example-19.tex

raw
1 %!TEX root = ../pmdraw.tex
2
3 % *------------------------------*
4 % |``````````````````````````````|
5 % |`````____````____`````````````|
6 % |````|MFMF\ /MFMF|````````````|
7 % |````|MF|MF\/MF|MF|````````````|
8 % |````|MF|\MFMF/|MF|_______`````|
9 % |````|MF|``````|MFMFMFMFMF|````|
10 % |````|MF|``````|MF|````````````|
11 % |````|MF|``````|MF|___`````````|
12 % |``````````````|MFMFMF|````````|
13 % |``````````````|MF|````````````|
14 % |``````````````|MF|````````````|
15 % |``````````````|MF|````````````|
16 % |``````````````````````````````|
17 % *------------------------------*
18
19 % *=-=-=-=-=-=*
20 % signature=MIGEAkAwNd6zZRU9OiYKjcXe+zAfVoWEkHI2/c0ClaUu6z/sjXv3OevcVTxxxcRbwVTmPmLnPXLyjDmy1tB60JemhPZwAkAB+zF1zsYCbITveoUiNgETHslRBRF5MfmEvOCOMm2uqlyV4ZnT0MOB8xtns0DidhaFiqmvCq1Hxz/SZ8a2smo4
21 % version=2.0
22 % *=-=-=-=-=-=*
23
24 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
25 % %
26 % Licence %
27 % %
28 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
29 %
30 % Copyright 2023-10-16 (original release) -- 2026thias Fresacher
31 %
32 % This work may be distributed and/or modified under the
33 % conditions of the LaTeX Project Public License, either version 1.3
34 % of this license or (at your option) any later version.
35 % The latest version of this license is found via
36 % http://www.latex-project.org/lppl.txt.
37
38 \pmdDiagram[grid]{
39 { % Brick 1
40 [ % Options
41 degree=5,
42 levels top=1,
43 levels bottom=1,
44 labels,
45 labels top node={red,above=16pt}
46 ]{ % Upper non transversal edges
47 [height=1.1]{2}{5}
48 }{ % Lower non transversal edges
49 [height=0.3]{2}{5}
50 }{ % Transversal edges
51 {1}{1}
52 }
53 }{ % Brick 2
54 [ % Options
55 degree=2,
56 levels top=1,
57 levels bottom=1,
58 labels,
59 labels bottom options={
60 \draw (#1,#2) node[below=6pt] {\(#3''\)};
61 },
62 labels bottom start=6,
63 labels top start=-4
64 ]{ % Upper non transversal edges
65 {1}{2}
66 }{ % Lower non transversal edges
67 {1}{2}
68 }{ % Transversal edges
69 {1}{2}
70 }
71 }
72 }