From: Mark Wooding Date: Sat, 7 Jul 2018 20:55:36 +0000 (+0100) Subject: doc/sod.sty, doc/concepts.tex: Pull out common style features. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/commitdiff_plain/a4094071c983a452769615e22b342e14836ce424?ds=inline doc/sod.sty, doc/concepts.tex: Pull out common style features. Thicker lines, stealth arrows. --- diff --git a/doc/concepts.tex b/doc/concepts.tex index 187a6f8..46d8526 100644 --- a/doc/concepts.tex +++ b/doc/concepts.tex @@ -466,8 +466,7 @@ entry functions. \begin{figure} \begin{tikzpicture} - [>=stealth, thick, - order/.append style={color=green!70!black}, + [order/.append style={color=green!70!black}, code/.append style={font=\sffamily}, action/.append style={font=\itshape}, method/.append style={rectangle, draw=black, thin, fill=blue!30, diff --git a/doc/sod.sty b/doc/sod.sty index b173d77..6a2c1c3 100644 --- a/doc/sod.sty +++ b/doc/sod.sty @@ -60,6 +60,9 @@ %% Notes for later. \def\fixme#1{\leavevmode\marginpar{FIXME}[FIXME: #1]} +%% Diagram settings. +\tikzset{every picture/.style={>=stealth, thick}} + %% Metavariables are italics without decoration. \def\syntleft{\normalfont\itshape} \let\syntright\empty