Skip to content

Commit

Permalink
Use monospace font for code in figures.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eelis committed Feb 28, 2024
1 parent 1b33847 commit 82396fc
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 29 deletions.
8 changes: 4 additions & 4 deletions source/assets/figdag.dot
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
digraph dag {
graph [nodesep=1.5, rankdir=BT];

Base [shape=plaintext, height=.1, fontsize=24];
Derived1 [shape=plaintext, height=.1, fontsize=24];
Derived2 [shape=plaintext, height=.1, fontsize=24];
Base [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
Derived1 [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
Derived2 [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];

Derived2 -> Derived1;
Derived1 -> Base;
}
}
14 changes: 7 additions & 7 deletions source/assets/figname.dot
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
digraph virt {
graph [nodesep=1.5, rankdir=BT];

W1 [label = "W", shape=plaintext, height=.1, fontsize=24];
V [shape=plaintext, height=.1, fontsize=24];
W2 [label = "W", shape=plaintext, height=.1, fontsize=24];
B [shape=plaintext, height=.1, fontsize=24];
C [shape=plaintext, height=.1, fontsize=24];
D [shape=plaintext, height=.1, fontsize=24];
W1 [label = "W", shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
V [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
W2 [label = "W", shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
B [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
C [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
D [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];

D -> B;
D -> C;
B -> V;
C -> V;
B -> W1;
C -> W2;
}
}
12 changes: 6 additions & 6 deletions source/assets/fignonvirt.dot
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
digraph nonvirt {
graph [nodesep=1.5, rankdir=BT];

L1 [label = "L", shape=plaintext, height=.1, fontsize=24];
L2 [label = "L", shape=plaintext, height=.1, fontsize=24];
A [shape=plaintext, height=.1, fontsize=24];
B [shape=plaintext, height=.1, fontsize=24];
C [shape=plaintext, height=.1, fontsize=24];
L1 [label = "L", shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
L2 [label = "L", shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
A [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
B [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
C [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];

C -> B;
C -> A;
B -> L2;
A -> L1;
}
}
10 changes: 5 additions & 5 deletions source/assets/figvirt.dot
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
digraph virt {
graph [nodesep=1.5, rankdir=BT];

V [shape=plaintext, height=.1, fontsize=24];
A [shape=plaintext, height=.1, fontsize=24];
B [shape=plaintext, height=.1, fontsize=24];
C [shape=plaintext, height=.1, fontsize=24];
V [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
A [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
B [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
C [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];

C -> B;
C -> A;
B -> V;
A -> V;
}
}
14 changes: 7 additions & 7 deletions source/assets/figvirtnonvirt.dot
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
digraph virtnonvirt {
graph [nodesep=1.5, rankdir=BT];

B1 [label = "B", shape=plaintext, height=.1, fontsize=24];
B2 [label = "B", shape=plaintext, height=.1, fontsize=24];
AA [shape=plaintext, height=.1, fontsize=24];
X [shape=plaintext, height=.1, fontsize=24];
Y [shape=plaintext, height=.1, fontsize=24];
Z [shape=plaintext, height=.1, fontsize=24];
B1 [label = "B", shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
B2 [label = "B", shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
AA [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
X [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
Y [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
Z [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];

subgraph {
AA -> X;
Expand All @@ -17,4 +17,4 @@ digraph virtnonvirt {

AA -> Z [weight=0];
Z -> B2;
}
}

0 comments on commit 82396fc

Please sign in to comment.