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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
|
# luasseq package
# Matthew Bertucci 2/4/2022 for v2.1
#include:luatex
#include:calc
#include:ifthen
#include:pgf
#include:pifont
#include:xkeyval
#keyvals:\usepackage/luasseq#c
debug#true,false
#endkeyvals
\begin{sseq}{x-range}{y-range}
\begin{sseq}[options%keyvals]{x-range}{y-range}
\end{sseq}
#keyvals:\begin{sseq}
grid=#none,crossword,go,dots,chess
gridstroke=##L
gapsize=##L
xgapsize=##L
ygapsize=##L
entrysize=##L
labels=#none,numbers,{%<x1;x2;...%>}
xlabels=#none,numbers,{%<x1;x2;...%>}
ylabels=#none,numbers,{%<x1;x2;...%>}
labelstep=%<integer%>
xlabelstep=%<integer%>
ylabelstep=%<integer%>
leak=##L
xleak=##L
yleak=##L
arrows=%<arrow type%>
packing=#auto,horizontal,vertical,diagonal
#endkeyvals
\ssmoveto{x}{y}
\ssmove{x}{y}
\ssdrop{mathcode%formula}
\ssdrop[options%keyvals]{mathcode%formula}
\ssdropbull{mathcode%formula}#*
\ssdropboxed{mathcode%formula}#*
\ssdropcircled{mathcode%formula}#*
#keyvals:\ssdrop,\ssdropextension
circled
boxed
color=#%color
name=%<name%>
#endkeyvals
\ssname{name}
\ssgoto{name}
\ssprefix{prefix}
\ssresetprefix
\ssabsgoto
\ssdroplabel{label}
\ssdroplabel[options%keyvals]{label}
#keyvals:\ssdroplabel
color=#%color
pos=#U,LU,L,LD,D,RD,R,RU
U
LU
L
LD
D
RD
R
RU
#endkeyvals
\ssdropextension
\ssdropextension[options%keyvals]
\ssstroke
\ssstroke[options%keyvals]
\sscurve{curve value}#*
\ssdashedstroke#*
\ssdashedcurve{curve value}#*
\ssdottedstroke#*
\ssdottedcurve{curve value}#*
\ssarrowhead
\ssarrowhead[arrow style]
\ssinversearrowhead
\ssinversearrowhead[arrow style]
\ssline{x}{y}
\ssline[options%keyvals]{x}{y}
\sscurvedline{curve value}{x}{y}#*
\ssdashedline{x}{y}#*
\sscurveddashedline{curve value}{x}{y}#*
\ssarrow{x}{y}
\ssarrow[options%keyvals]{x}{y}
\sscurvedarrow{curve value}{x}{y}#*
\ssdashedarrow{x}{y}#*
\sscurveddashedarrow{curve value}{x}{y}#*
\ssvoidline{x}{y}#*
\ssvoidline[options%keyvals]{x}{y}#*
\ssvoidarrow{x}{y}#*
\ssinversevoidarrow{x}{y}#*
#keyvals:\ssstroke,\ssline,\ssarrow,\ssvoidline
color=#%color
curve=%<value%>
dashed
dashed=%<dashing type%>
dotted
dotted=%<dashing type%>
arrowfrom
arrowfrom=%<dashing type%>
arrowto
arrowto=%<dashing type%>
void
#endkeyvals
\ssbullstring{x}{y}{n}
\ssinfbullstring{x}{y}{n}
\ssgrayout
\ssgrayout[color]
\ssconncolor#*
\sslabelcolor#*
\ssplacecolor#*
\sseqxstart#*
\sseqystart#*
\sseqbox#*
\ssplace{x}{y}{mathcode%formula}#*
\ssplaceboxed{x}{y}{mathcode%formula}#*
\ssplacecircled{x}{y}{mathcode%formula}#*
\for#S
sseqgr#B
sslightgr#B
ssred#B
ssblack#B
|