From: Mark Wooding Date: Sat, 27 Jul 2019 13:35:26 +0000 (+0100) Subject: doc/concepts.tex: Centre the (overwide) method-combination diagram. X-Git-Url: https://git.distorted.org.uk/~mdw/sod/commitdiff_plain/d82d5db50317a9ebed40492a9cd59f941c9d8e58?ds=sidebyside;hp=7be311125bfdcd7cad4476878def4ae98352a7d6 doc/concepts.tex: Centre the (overwide) method-combination diagram. --- diff --git a/doc/concepts.tex b/doc/concepts.tex index b074445..1af615d 100644 --- a/doc/concepts.tex +++ b/doc/concepts.tex @@ -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}