doc/concepts.tex: Centre the (overwide) method-combination diagram.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 27 Jul 2019 13:35:26 +0000 (14:35 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 27 Jul 2019 13:45:24 +0000 (14:45 +0100)
doc/concepts.tex

index b074445..1af615d 100644 (file)
@@ -465,7 +465,7 @@ constructed: the vtables contain null pointers in place of pointers to method
 entry functions.
 
 \begin{figure}
-  \begin{tikzpicture}
+  \hbox to\hsize{\hss\hbox{\begin{tikzpicture}
     [order/.append style={color=green!70!black},
      code/.append style={font=\sffamily},
      action/.append style={font=\itshape},
@@ -545,7 +545,7 @@ entry functions.
       {Least to \\ most \\ specific};
     \draw [<-] ($(fn.north west) + (6mm, 1mm)$) -- ++(-8mm, 8mm);
 
-  \end{tikzpicture}
+  \end{tikzpicture}}\hss}
 
   \caption{The standard method combination}
   \label{fig:concepts.methods.stdmeth}