SpectralSequences / latex

Latex package to print spectral sequence diagrams using pgf/tikz.
9 stars 4 forks source link

Incompatible with sideways environment #11

Closed dalcde closed 2 years ago

dalcde commented 4 years ago

If we put a spectral sequence in a sideways environment from the rotating package, it complains that the x range is too large, even thought it is actually fine.

hoodmane commented 3 years ago

A simple solution to this is to say \SseqErrorToWarning{range-overflow}. Not the most discoverable I guess.

dalcde commented 3 years ago

I have that but it pollutes the log and also I can't rely on it to tell me what the right scale to use is

On 8 July 2021 05:06:11 GMT+08:00, Hood Chatham @.***> wrote:

A simple solution to this is to say \SseqErrorToWarning{range-overflow}. Not the most discoverable I guess.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/SpectralSequences/latex/issues/11#issuecomment-875932693

hoodmane commented 3 years ago

Do you want a command that says "for the rest of this scope we are landscape"? Maybe that would be the best thing, and I guess we can also use an environment hook to automatically issue it in the sideways environment.

dalcde commented 3 years ago

Of course it would be better if it were automatic, but something manual would be very helpful in the time being.

hoodmane commented 3 years ago

Okay I will define three commands: \SseqRangeCheckStandard, \SseqRangeCheckSideways, and \SseqRangeCheckOff. Then I can do \AtBeginEnvironment{sideways}{\SseqRangeCheckSideways}.

hoodmane commented 3 years ago

Closed by #14.

dalcde commented 3 years ago

This currently doesn't work when the sseq is defined via sseqdata, e.g.

\documentclass{article}

\usepackage{rotating}
\usepackage{spectralsequences}

\begin{document}
  \begin{sseqdata}[name = foo]
    \class(0,0)
    \class(17,9)
  \end{sseqdata}
  \begin{sideways}
    \printpage[name = foo]
  \end{sideways}
\end{document}

Specfying range check sideways in either the sseqdata and printpage does not work.

hoodmane commented 2 years ago

Oh wait, your test still doesn't work.

hoodmane commented 2 years ago

Okay, now I think the logic here makes sense.