From 784231acc80e8b65f8172d658192bf35e2061fed Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 11 Jul 2019 21:03:14 +0000 Subject: codeanatomy (11jul19) git-svn-id: svn://tug.org/texlive/trunk@51615 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/codeanatomy/codeanatomy.sty | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/codeanatomy/codeanatomy.sty b/Master/texmf-dist/tex/latex/codeanatomy/codeanatomy.sty index f90479793fa..5ffb96c0c15 100644 --- a/Master/texmf-dist/tex/latex/codeanatomy/codeanatomy.sty +++ b/Master/texmf-dist/tex/latex/codeanatomy/codeanatomy.sty @@ -7,10 +7,10 @@ %% codeanatomy.dtx (with options: `package') %% \NeedsTeXFormat{LaTeX2e}[2018/12/01] -\ProvidesPackage{codeanatomy}[2019/07/10 v0.1-Alpha draw Code Anatomy] +\ProvidesPackage{codeanatomy}[2019/07/10 v0.2-Alpha draw Code Anatomy] + \RequirePackage{expl3} \RequirePackage{xparse} -\RequirePackage[rgb]{xcolor} \RequirePackage{tikz} \usetikzlibrary{ tikzmark @@ -25,8 +25,9 @@ ,decorations.pathmorphing } -\definecolor{annotationcolor}{rgb}{0,0.50002,1} % Blue -\colorlet{bgcmdcolor}{gray} % Grey +\definecolor{annotationcolor} + {rgb}{0,0.50002,1} % Blue +\colorlet{bgcmdcolor}{gray} % Grey \tikzset{anatomy/.style={% anchor=south west,% inner sep=0,% @@ -103,9 +104,7 @@ \NewDocumentCommand{\ptab}{}{\phantom{hhhh}} \NewDocumentCommand{\phspace}{}{\phantom{h}} \NewDocumentCommand{\codeAnnotation}{m r() m } % -{ - \node(#1)[code annotation] at (#2) {#3} ; -} + { \node(#1)[code annotation] at (#2) {#3}; } %% Copyright (C) 2008-2019 by %% ME %% -- cgit v1.2.3