(Sorry the title is not very good.)
I came across Centering full-page tikz images - with mid-document paper size change and its answer https://tex.stackexchange.com/a/55421/11820 which I use as a wrapper for fullpage tikz pictures. Now I want to put it into an environment, but this does not work for
\node at (current page.north west) { … }
as \node at (current page.north west) { would be at the beginning of the environment and the closing brace } at the end.
How can I "embrace" the whole environment content?
MWE (not working)
\newenvironment{tikzpicturebase}
{%
\begin{tikzpicture}[overlay,remember picture]
\node at (current page.north west) {%
\begin{tikzpicture}[overlay,yscale=-1]
}
{
\end{tikzpicture}
};
\end{tikzpicture}
}



tikzpictureenvironments aren't supported, AFAIK. This is likely to break. – frougon Jun 05 '22 at 19:17