diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/pgf/contrib/spectralsequences/manual/examples |
Initial commit
Diffstat (limited to 'graphics/pgf/contrib/spectralsequences/manual/examples')
6 files changed, 166 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-KORP8.tex b/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-KORP8.tex new file mode 100644 index 0000000000..f5a767b2de --- /dev/null +++ b/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-KORP8.tex @@ -0,0 +1,34 @@ + + +\NewSseqCommand \KOstar {m}{ + \begin{scope}[ xshift = -#1, xshift = 8*\b, yshift = #1 ] + \class[rectangle, name = b^{\b}[0]](0,0) + \class[name = b^{\b} e[0]](1,0) \structline + \class[name = b^{\b} e^2[0]](2,0) \structline + \class[rectangle, fill = none, name = b^{\b} u[0]](4,0) + \end{scope} +} +\NewSseqCommand \KOpcell {m}{ + \d1(b^{\b}[#1]) \replacetarget + \d1(b^{\b} u[#1]) \replacetarget + \structline(b^{\b}[#1+1])(b^{\b} e[#1+1]) + \structline[page = 2, dashed](b^{\b} e[#1])(b^{\b} e^2[#1+1]) + \structline[page = 2, dashed](b^{\b} e^2[#1])(b^{\b} u[#1+1]) +} +\NewSseqCommand \KOetacell {m}{ + \DrawIfValidDifferential2(b^{\b}[#1]) + \d2(b^{\b} e[#1]) + \DrawIfValidDifferential3(b^{\b} e^2[#1]) +} +\begin{sseqdata}[ name = KO^*RP^8, Adams grading, class name handler = \SseqAHSSNameHandler, + classes = fill, x range = {-8}{10}, xscale = 0.7, yscale = 0.5, x tick step = 4 ] +\foreach \b in {-2,...,2}{ + \foreach \n in {0,...,6}{\KOstar{\n}} + \foreach \n in {1,3,...,5}{\KOpcell{\n}} + \foreach \n in {2,3}{\KOetacell{\n}} + \structline[dashed](b^{\b}e^2[2])(b^{\b}u[4]) + \structline[dashed](b^{\b}[4])(b^{\b}e[5]) +} +\end{sseqdata} +\printpage[ name = KO^*RP^8, title = AHSS for $KO^*\mathbb{R}P^8$ ] \vskip6pt +\printpage[ name = KO^*RP^8, page = 6 ]
\ No newline at end of file diff --git a/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-class-page2a.tex b/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-class-page2a.tex new file mode 100644 index 0000000000..90a9b9bc3c --- /dev/null +++ b/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-class-page2a.tex @@ -0,0 +1,24 @@ +\begin{sseqdata}[ name = page_example2, Adams grading, xscale = 0.6, yscale = 0.5 ] +\class(0,2)\class(1,0) +\d2(1,0) +\replacesource +\class(0,3) +\d3(1,0) +\replacesource +\classoptions[fill, red](1,0) % (a) applies to most recent (last) generation. +\end{sseqdata} + +\printpage[ name = page_example2, page = 1 ] % generation 0 of (1,0), not styled +\quad +\begin{sseqpage}[ name = page_example2, page = 1, keep changes ] +\classoptions[fill, blue](1,0) % (b) applies to the generation present on page 1, that is, generation 0. +\end{sseqpage} \quad + +% generation 0 of (1,0), so class is blue from (b) +\printpage[ name = page_example2, page = 2 ] \quad + +% generation 1 of (1,0), class is not styled +\printpage[ name = page_example2, page = 3 ] \quad + +% generation 2 of (1,0), class is red from (a) +\printpage[ name = page_example2, page = 4 ]
\ No newline at end of file diff --git a/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-class-page2b.tex b/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-class-page2b.tex new file mode 100644 index 0000000000..3d5854f054 --- /dev/null +++ b/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-class-page2b.tex @@ -0,0 +1,18 @@ +\begin{sseqdata}[ name = page_example2, Adams grading, update existing ] +% (c) applies to all generations, overwrites (b) and (a): +\classoptions[fill, red, generation = 0 ---- -1](1,0) +\end{sseqdata} + +\printpage[ name = page_example2, page = 1 ]% generation 0 of (1,0), so class is red +\quad +\begin{sseqpage}[ name = page_example2, page = 1, keep changes ] +\classoptions[fill, blue](1,0) % (d) applies to the generation present on page 1, that is, generation 0. +\end{sseqpage} \quad + +% generation 0 of (1,0), class is blue from (d) +\printpage[ name = page_example2, page = 2 ] \quad + +% generation 1 of (1,0), class is red from (c) +\printpage[ name = page_example2, page = 3 ] +\quad +\printpage[ name = page_example2, page = 4 ] % generation 2 of (1,0), class is red from (c)
\ No newline at end of file diff --git a/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-imJ.tex b/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-imJ.tex new file mode 100644 index 0000000000..20335a33f2 --- /dev/null +++ b/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-imJ.tex @@ -0,0 +1,32 @@ +\SseqNewFamily{imJ} +\begin{sseqdata}[ + name=ANSS-S_2, Adams grading, + class labels = {below}, label distance = -1pt, + class placement transform = {rotate = 90, scale = 2}, + differentials = blue, + x range = {0}{9}, y range = {0}{4}, + xscale = 0.7, grid = go +] +% Image of J classes +\begin{scope}[imJ] +\class[rectangle,fill,inner sep=3pt](0,0) +\DoUntilOutOfBoundsThenNMore{3}{\etaclass} +\classoptions["\alpha_1" above left](1,1) +\class["\alpha_{2/2}", circlen = 2](3,1) +\structline(0,0) \structline[dashed](3,3) +\class["\alpha_3"](5,1) \d3\relax +\DoUntilOutOfBounds{ \etaclass \d3 } +\class["\alpha_{4/4}", rectangle, "16" {font = \tiny, inside}, inner sep = 1pt](7,1) +\DoUntilOutOfBoundsThenNMore{3}{\etaclass} +\end{scope} + +% Other classes +\class["\beta_{2/2}" {below right=-4pt}, insert = 1](6,2) +\structline(3,1) +\class["\beta_{2}" left](8,2) +\etaclass\structline(6,2,2) % This is a *nu +\end{sseqdata} + +\printpage[ name = ANSS-S_2, title = with image of J, imJ style = purple] + +\printpage[ name = ANSS-S_2, no imJ, x range={2}{9}, title = without image of J]
\ No newline at end of file diff --git a/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-insert.tex b/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-insert.tex new file mode 100644 index 0000000000..2784ca0d3c --- /dev/null +++ b/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-insert.tex @@ -0,0 +1,33 @@ +\DeclareSseqGroup \tower {} { + \class(0,0) + \DoUntilOutOfBounds { + \class(\lastx,\lasty+1) + \structline + } +} + +\begin{sseqdata}[ name = insert-example, y range = {0}{4}, class pattern = linear ] +\tower(0,2) +\tower(0,3) +\tower(0,1) +\end{sseqdata} +\qquad +\begin{sseqpage}[ name = insert-example ] +\tower[ red, classes = { insert = 1 } ](0,0) +\end{sseqpage} +\qquad +\begin{sseqpage}[ name = insert-example ] +\tower[ red, classes = { insert = 2 } ](0,0) +\end{sseqpage} +\qquad +\begin{sseqpage}[ name = insert-example ] +\tower[ red, classes = { insert = 3 } ](0,0) +\end{sseqpage} +\qquad +\begin{sseqpage}[ name = insert-example ] +\tower[ red, classes = { insert = -2 } ](0,0) +\end{sseqpage} +\qquad +\begin{sseqpage}[ name = insert-example ] +\tower[ red, classes = { insert = -3 } ](0,0) +\end{sseqpage}
\ No newline at end of file diff --git a/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-tikz.tex b/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-tikz.tex new file mode 100644 index 0000000000..d12a0c0242 --- /dev/null +++ b/graphics/pgf/contrib/spectralsequences/manual/examples/spectralsequencesmanual-tikz.tex @@ -0,0 +1,25 @@ +\begin{sseqdata}[ name = tikz example, Adams grading, math nodes = false, + tikz primitives = { blue, font = \tiny, <- }, circle classes = tikz primitive style, + x range = {0}{2}, x axis extend end = 2em ] +\class(0,0) +\class(1,0) +\class(0,2) +\d2(1,0) +\end{sseqdata} +% +\begin{sseqpage}[ name = tikz example ] +\circleclasses[ name path = myellipse, inner sep = 3pt, ellipse ratio = 1.6 ] (1,0) (0,2) +\path[ name path = myline ] (1.3,1.25) -- (0.6,1); +\draw[ name intersections = { of = myellipse and myline } ] + (intersection-1) to (1.3,1.25) node[ right, text width = 1.6cm ] {Consider this differential}; +\end{sseqpage} \qquad +% +\begin{sseqpage}[ name = tikz example ] +\draw[ xshift = 1 ] (0,0) to (0.6,0.2) node[ right, text width = 1.1cm ] {This is the source}; +\draw[ yshift = 2 ] (0,0) to (0.6,0.2) node[ right, text width = 1.1cm ] {This is the target}; +\end{sseqpage} \qquad +% +\begin{sseqpage}[ page = 3, name = tikz example ] +\circleclasses[ inner sep = 3pt, ellipse ratio = 1.6 ] (1,0)(0,2) +\node[ right, font = \tiny ] at (1.2,1.2) {Now it's gone!}; +\end{sseqpage}
\ No newline at end of file |