diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/spectralsequences/spectralsequences.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/spectralsequences/spectralsequences.sty | 47 |
1 files changed, 39 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/spectralsequences/spectralsequences.sty b/Master/texmf-dist/tex/latex/spectralsequences/spectralsequences.sty index 7faf6d6c39e..94b16a24f47 100644 --- a/Master/texmf-dist/tex/latex/spectralsequences/spectralsequences.sty +++ b/Master/texmf-dist/tex/latex/spectralsequences/spectralsequences.sty @@ -1,8 +1,8 @@ %% -%% Package: spectralsequences v1.1.1 2017-09-16 2017-09-16 +%% Package: spectralsequences v1.2.0 2017-09-16 2017-09-16 %% Author: Hood Chatham %% Email: hood@mit.edu -%% Date: 2017-09-16 +%% Date: 2017-12-10 %% License: Latex Project Public License %% %% A package for drawing spectral sequences @@ -10,8 +10,10 @@ % TODO: -% +% Try catch blocks % Make an argument type for the \d page argument. +% deal with xmin, xmax, etc (was there actually a problem we were trying to fix?) +% Make xmirror not mirror axes labels % % Redo sseqerrortest and set up regression test script as part of build (damn I didn't realize we'd lost anything imporant with that find -d disaster) % Maybe we should add some other regression tests too @@ -25,13 +27,12 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{spectralsequences}[2017/09/16 v1.1.1] +\ProvidesPackage{spectralsequences}[2017/12/10 v1.2.0] \RequirePackage{tikz} \RequirePackage{etoolbox} \RequirePackage{xparse} \RequirePackage{verbatim} -\RequirePackage{pdfcomment} \usetikzlibrary{quotes} \usetikzlibrary{fit} @@ -44,9 +45,15 @@ %\usetikzlibrary{profiler} \newif\ifsseq@draftmode +\newif\ifsseq@tooltip \DeclareOption{draft}{\sseq@draftmodetrue} +\DeclareOption{tooltips}{\sseq@tooltiptrue} \ProcessOptions\relax +\ifsseq@tooltip + \RequirePackage{pdfcomment} +\fi + \def\sseq@authorname{Hood Chatham} \def\sseq@authoremail{hood@mit.edu} @@ -54,12 +61,18 @@ % Commands we are going to expose just inside of environments \def\sseq@macrolist{% \xcoord\ycoord\page %\xmin\xmax\ymin\ymax % these just get protected + % Defined in sseqmessages: + \quiet\endquiet % These are defined in sseqmain: - \class\classoptions\replaceclass\d\doptions\kill\structline\structlineoptions\circleclasses + \class\classoptions\replaceclass\replacesource\replacetarget + \d\doptions\kill\structline\structlineoptions\circleclasses % The following are defined in sseqparsers: \pgfmathparse\isalive\lastx\lasty\lastclass\savestack\restorestack\pushstack\nameclass\tagclass \parsecoordinate\parsedifferential\getdtarget\gettag \IfOutOfBoundsTF\IfOutOfBoundsT\IfOutOfBoundsF\IfInBoundsTF\IfInBoundsT\IfInBoundsF + \IfExistsTF\IfExistsT\IfExistsF\IfAliveTF\IfAliveT\IfAliveF + \IfValidDifferentialTF\IfValidDifferentialT\IfValidDifferentialF + \DrawIfValidDifferentialTF\DrawIfValidDifferentialT\DrawIfValidDifferentialF\DrawIfValidDifferential % sseqforeach \Do\DoUntilOutOfBounds\DoUntilOutOfBoundsThenNMore } @@ -121,7 +134,7 @@ \newcount\sseq@tempy \newcount\sseq@tempxb \newcount\sseq@tempyb -\newcount\sseq@xoffset % We add these to everything to avoid overflow errors as much as we possible +\newcount\sseq@xoffset % We add these to everything to avoid overflow errors as much as possible \newcount\sseq@yoffset \newcount\sseq@stackdepth @@ -279,6 +292,7 @@ \input sseqparsers.code.tex % Responsible for making tikz modifications, exposes directly \sseqnormalizemonomial, \sseqparseint + \ifsseq@patchforeach \input sseqforeach.code.tex \else @@ -286,9 +300,20 @@ \fi \input sseqkeys.code.tex % Exposes directly: \sseqset, \sseqnewfamily -\input sseqmain.code.tex % Defines all the main commands. Exposes directly: the environments, \xmin, \xmax, etc. +\input sseqmain.code.tex % Defines all the main commands. Exposes directly: the environments, \xmin, \xmax, etc, \SseqCopyPage \input sseqdrawing.code.tex +% Give standard definitions for savedpaths wrappers +\def\sseq@beginscope@object{\begin{scope}} +\def\sseq@endscope@object{\end{scope}} +\let\sseq@scope@object\@firstofone +\let\sseq@style@object\@firstofone +\let\sseq@class@object\sseq@class@draw@ifpage +\let\sseq@differential@object\sseq@differential@draw@ifpage +\let\sseq@structline@object\sseq@structline@draw@ifpage +\let\sseq@circleclass@object\sseq@circleclass@draw@ifpage +\let\sseq@tikzpath@object\@firstofone + %%% Some default key settings \sseqset{ @@ -301,8 +326,14 @@ pins=help lines } +\ifsseq@tooltip + \let\sseqtooltip\sseq@tooltip@wrapper +\fi + % Extra commands to expose: \let\sseqifempty\sseq@ifempty +\let\SseqParseInt\sseqparseint +\let\SseqNewFamily\sseqnewfamily \def\sseqpower#1#2{\@xp\sseqtypesetpower@\@xp{\the\numexpr#2}{#1}{1}} \def\sseqpowerempty#1#2{\@xp\sseqtypesetpower@\@xp{\the\numexpr#2}{#1}{}} |