File: annotate-equations.cwl

package info (click to toggle)
texstudio 4.8.7%2Bds-1
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 108,288 kB
  • sloc: cpp: 108,337; xml: 18,660; ansic: 8,977; javascript: 177; sh: 147; python: 73; makefile: 53
file content (56 lines) | stat: -rw-r--r-- 1,368 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# annotate-equations package
# Matthew Bertucci 2023/02/16 for v0.2.0

#include:ifluatex
#include:tikz
#include:tikzlibrarybackgrounds
#include:tikzlibraryshapes
#include:tikzlibrarytikzmark
#include:tikzlibrarycalc
#include:xcolor
#include:l3keys2e

\eqnmarkbox{node name}{equation terms}#m
\eqnmarkbox[color]{node name}{equation terms}#m
\eqnmark{node name}{equation terms}#m
\eqnmark[color]{node name}{equation terms}#m

\annotate{annotate keys%keyvals}{node names}{text}
\annotate[TikZ options]{annotate keys%keyvals}{node names}{text}
\annotatetwo{annotate keys%keyvals}{node name1}{node name2}{text}
\annotatetwo[TikZ options]{annotate keys%keyvals}{node name1}{node name2}{text}

#keyvals:\annotate,\annotatetwo
above
below
right
left
label above
label below
#endkeyvals

\addvalue{node name}{color}#*
\EAlabelanchor#*
\EAmarkanchor#*
\EAwesteast#*
\EAxshift#*
\eqnannotateCurrentNode#*
\eqnannotationfont#*
\eqnannotationstrut#*
\eqncolor{color}{math}#*m
\eqnhighlight{color}{math}#*m
\eqnhighlightcolorbox{color}{math}#*m
\eqnhighlightfbox{color}{math}#*m
\eqnhighlightheight#*
\eqnhighlightshade#*
\extractfirst{arg1}{arg2}#*
\myEAcolor#S
\myEAmarkOn#S
\myEAmarks#S
\myEAmarkTwo#S
\myEAtext#S
\myEAxshift#S
\swapNorthSouth{anchor}#*
\swapWestEast{anchor}#*
\theeqnannotatenode#*
\usevalue{node name}#*