Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Extra gray space in the viewer when there are pages with different lengths #3868

Open
cristiangodoy-aotc opened this issue Nov 6, 2024 · 0 comments

Comments

@cristiangodoy-aotc
Copy link

Expected behavior

There shouldn't be a gap between pages, even if there are pages with different lengths.

Actual behavior

If the document has pages of different lengths then the viewer places a gray space between pages, apparently so that the shorter pages take the same space as the longer ones.

How to reproduce

Compile the following code:

\documentclass[crop]{standalone}
\standaloneenv{page}
\begin{document}
	\begin{page}
		\begin{minipage}[][10cm]{5cm}
			Longer page.
		\end{minipage}
	\end{page}
	\begin{page}
		\begin{minipage}[][5cm]{5cm}
			Shorter page.
		\end{minipage}
	\end{page}
\end{document}

Also, as you can see with this code, environments defined through \standaloneenv are highlighted as mistakes by the editor.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants