summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/codeanatomy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-07-11 21:03:14 +0000
committerKarl Berry <karl@freefriends.org>2019-07-11 21:03:14 +0000
commit784231acc80e8b65f8172d658192bf35e2061fed (patch)
tree88620f14a9ddff163a309871240c6096f214aa8b /Master/texmf-dist/tex/latex/codeanatomy
parent2e8175bc13c3a3811e75c63c23f98089c855e9ab (diff)
codeanatomy (11jul19)
git-svn-id: svn://tug.org/texlive/trunk@51615 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/codeanatomy')
-rw-r--r--Master/texmf-dist/tex/latex/codeanatomy/codeanatomy.sty13
1 files changed, 6 insertions, 7 deletions
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
%%