From 6fde3f8617ebf837a452f38c9d715f70d93e71e2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 11 Dec 2017 22:22:32 +0000 Subject: spectralsequences (11dec17) git-svn-id: svn://tug.org/texlive/trunk@46038 c570f23f-e606-0410-a88d-b1316a301751 --- .../latex/spectralsequences/sseqdrawing.code.tex | 32 ++++++++++++++-------- 1 file changed, 21 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/tex/latex/spectralsequences/sseqdrawing.code.tex') diff --git a/Master/texmf-dist/tex/latex/spectralsequences/sseqdrawing.code.tex b/Master/texmf-dist/tex/latex/spectralsequences/sseqdrawing.code.tex index 2574da643a9..9ea6d4397fc 100644 --- a/Master/texmf-dist/tex/latex/spectralsequences/sseqdrawing.code.tex +++ b/Master/texmf-dist/tex/latex/spectralsequences/sseqdrawing.code.tex @@ -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 %% %% File: sseqdrawing.code.tex @@ -245,7 +245,7 @@ \sseq@tickloop@generic{\sseq@xmin}{\sseq@xmax}{\sseq@xtickstep}{\sseq@xtickstepoffset}{\sseq@yaxisorigin}{-\sseq@xaxisgap}{ \sseq@xtickstyle \tikz@options - \pgftransformshift{\pgfqpoint{0pt}{-\sseq@ylabelgap}} + \pgftransformshift{\pgfqpoint{0pt}{-\sseq@xlabelgap}} \pgftext{\hbox{$\sseq@xtickfn{\the\sseq@tempx}$}}% } \ifnum\sseq@xmajortickstep>\z@ @@ -565,7 +565,7 @@ \sseq@tempy=#3\relax } -\def\sseqtooltip#1#2{% +\def\sseq@tooltip@wrapper#1#2{% \edef\temp{\detokenize\@xpthree{#2}}% \edef\temp{\@xp\sseqtooltip@replaceslashes\@xp{\temp}}% \sseq@eval{\@nx\pdftooltip{\unexpanded{#1}}{\temp}}% @@ -627,7 +627,7 @@ \fi \def\sseq@collections@featuretype{class} \the\sseq@scope@toks - \sseq@obj{#1.options}% + \sseq@obj{#1.options} \pgftransformshift{\pgfqpointxy{\numexpr\sseq@tempx +\sseq@xoffset-\sseq@x\relax}{\numexpr\sseq@tempy + \sseq@yoffset-\sseq@y\relax}} \iftikz@fullytransformed\pgfgettransform{\savetransform}\fi \pgftransformresetnontranslations @@ -638,25 +638,35 @@ }% \iftikz@fullytransformed\pgfsettransform{\savetransform}\else\pgftransformresetnontranslations\ifsseq@rotatelabels\sseq@globalrotatetransform\fi\fi \tikz@options + % the value of \sseq@class@showname comes from styles. If there was a local option with showname, it's stored in #1.showname. + % local value takes priority. + \let\sseq@classlabelnodes\pgfutil@empty + \edef\sseq@classnodetextoptions{\sseq@obj@ifdef{#1.nodetext.options}{\@xptwo\@nx\sseq@obj{#1.nodetext.options}}{}} + \edef\sseq@classnodetext{\sseq@obj@ifdef{#1.nodetext}{\@xptwo\@nx\sseq@obj{#1.nodetext}}{}} + \sseq@obj@ifdef{#1.showname}{\sseq@lettoobj\sseq@class@showname{#1.showname}}{} + \ifcsname sseq@class@showname\endcsname + \sseq@obj@ifdef{#1.name}{ + \sseq@eval{\@nx\sseq@handleclassquotes@inner{\sseq@obj{#1.name}}{\sseq@class@showname}} + }{} + \fi \ifsseq@needstikz \let\sseq@mode\tikz@mode - \tikzset{every text node part/.code/.expand once={\sseq@globalrotatetransform\sseq@obj@ifdef{#1.nodetext.options}{\sseq@obj{#1.nodetext.options}}{}}}% + \tikzset{every text node part/.code/.expand once={\sseq@globalrotatetransform\sseq@classnodetextoptions{}}}% \sseq@eval{% \@nx\node[/utils/exec={\let\@nx\tikz@mode\@nx\sseq@mode}, /handlers/first char syntax/the character "/.initial=\@nx\sseq@handlequote - ] (\sseq@thisnodename) {\sseq@obj@ifdef{#1.nodetext}{\unexpanded\@xpthree{\sseq@obj{#1.nodetext}}}{}} + ] (\sseq@thisnodename) {\unexpanded\@xp{\sseq@classnodetext}} [every text node part/.code={}]; }% \else \tikz@node@textfont - \edef\sseq@classnodetextoptions{\sseq@obj@ifdef{#1.nodetext.options}{\@xptwo\@nx\sseq@obj{#1.nodetext.options}}{}} - \edef\sseq@classnodetext{\sseq@obj@ifdef{#1.nodetext}{\@xptwo\@nx\sseq@obj{#1.nodetext}}{}} \sseq@setnodetext{\sseq@classnodetext}{\sseq@classnodetextoptions} \let\tikz@fig@name\sseq@thisnodename \pgfmultipartnode{\tikz@shape}{\tikz@anchor}{\tikz@fig@name}{\sseq@drawnode}% \tikz@alias \fi \sseq@obj{#1.labelnodes} + \sseq@classlabelnodes % classlabelnodes comes from show name \sseq@obj@ifdef{#1.tooltip}{ \pgfpointanchor{\sseq@thisnodename}{west} \pgf@xa=\pgf@x @@ -880,10 +890,10 @@ % If either class is part of a family we aren't drawing, don't draw the edge either. \expandafter\ifx\csname pgf@sh@pi@sseq{#1}\endcsname\pgfpictureid\else \@xp\sseq@break - \fi + \fi \expandafter\ifx\csname pgf@sh@pi@sseq{#2}\endcsname\pgfpictureid\else \@xp\sseq@break - \fi + \fi \def\sseq@edgetype{#3} \let\sseq@collections@featuretype\sseq@edgetype \let\sseq@edgesourceanchor\pgfutil@empty -- cgit v1.2.3