When the 2 lines in a page take up too much vertical space, the 2nd line may be moved to the next page by Latex, leaving only one line in the current page. This is not desirable.
Currently each line is a tikzpicture graphic. Consider merging the 2 lines within a page to a single graphic.
We may further control the overflow behavior. IMO "hidden" is better than "overflowing to the next page".
When the 2 lines in a page take up too much vertical space, the 2nd line may be moved to the next page by Latex, leaving only one line in the current page. This is not desirable.
Currently each line is a tikzpicture graphic. Consider merging the 2 lines within a page to a single graphic.
We may further control the overflow behavior. IMO "hidden" is better than "overflowing to the next page".
https://www.overleaf.com/learn/latex/TikZ_package