Skip to content

Commit 8bb1ad6

Browse files
committed
Use monospace font for code in figures.
1 parent 06d71cd commit 8bb1ad6

File tree

5 files changed

+29
-29
lines changed

5 files changed

+29
-29
lines changed

source/assets/figdag.dot

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
digraph dag {
22
graph [nodesep=1.5, rankdir=BT];
33

4-
Base [shape=plaintext, height=.1, fontsize=24];
5-
Derived1 [shape=plaintext, height=.1, fontsize=24];
6-
Derived2 [shape=plaintext, height=.1, fontsize=24];
4+
Base [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
5+
Derived1 [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
6+
Derived2 [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
77

88
Derived2 -> Derived1;
99
Derived1 -> Base;
10-
}
10+
}

source/assets/figname.dot

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
digraph virt {
22
graph [nodesep=1.5, rankdir=BT];
33

4-
W1 [label = "W", shape=plaintext, height=.1, fontsize=24];
5-
V [shape=plaintext, height=.1, fontsize=24];
6-
W2 [label = "W", shape=plaintext, height=.1, fontsize=24];
7-
B [shape=plaintext, height=.1, fontsize=24];
8-
C [shape=plaintext, height=.1, fontsize=24];
9-
D [shape=plaintext, height=.1, fontsize=24];
4+
W1 [label = "W", shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
5+
V [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
6+
W2 [label = "W", shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
7+
B [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
8+
C [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
9+
D [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
1010

1111
D -> B;
1212
D -> C;
1313
B -> V;
1414
C -> V;
1515
B -> W1;
1616
C -> W2;
17-
}
17+
}

source/assets/fignonvirt.dot

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
digraph nonvirt {
22
graph [nodesep=1.5, rankdir=BT];
33

4-
L1 [label = "L", shape=plaintext, height=.1, fontsize=24];
5-
L2 [label = "L", shape=plaintext, height=.1, fontsize=24];
6-
A [shape=plaintext, height=.1, fontsize=24];
7-
B [shape=plaintext, height=.1, fontsize=24];
8-
C [shape=plaintext, height=.1, fontsize=24];
4+
L1 [label = "L", shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
5+
L2 [label = "L", shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
6+
A [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
7+
B [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
8+
C [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
99

1010
C -> B;
1111
C -> A;
1212
B -> L2;
1313
A -> L1;
14-
}
14+
}

source/assets/figvirt.dot

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
digraph virt {
22
graph [nodesep=1.5, rankdir=BT];
33

4-
V [shape=plaintext, height=.1, fontsize=24];
5-
A [shape=plaintext, height=.1, fontsize=24];
6-
B [shape=plaintext, height=.1, fontsize=24];
7-
C [shape=plaintext, height=.1, fontsize=24];
4+
V [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
5+
A [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
6+
B [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
7+
C [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
88

99
C -> B;
1010
C -> A;
1111
B -> V;
1212
A -> V;
13-
}
13+
}

source/assets/figvirtnonvirt.dot

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
digraph virtnonvirt {
22
graph [nodesep=1.5, rankdir=BT];
33

4-
B1 [label = "B", shape=plaintext, height=.1, fontsize=24];
5-
B2 [label = "B", shape=plaintext, height=.1, fontsize=24];
6-
AA [shape=plaintext, height=.1, fontsize=24];
7-
X [shape=plaintext, height=.1, fontsize=24];
8-
Y [shape=plaintext, height=.1, fontsize=24];
9-
Z [shape=plaintext, height=.1, fontsize=24];
4+
B1 [label = "B", shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
5+
B2 [label = "B", shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
6+
AA [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
7+
X [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
8+
Y [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
9+
Z [shape=plaintext, height=.1, fontsize=11, fontname="Courier New"];
1010

1111
subgraph {
1212
AA -> X;
@@ -17,4 +17,4 @@ digraph virtnonvirt {
1717

1818
AA -> Z [weight=0];
1919
Z -> B2;
20-
}
20+
}

0 commit comments

Comments
 (0)