I want to be able to automatically break solutions when they cross column boundaries in my LaTeX code.

There is a great answer that answers my question for pagebreaks, but I specifically want to break long solutions w.r.t. columns.

Here is my minimal working example:




  • 1
    Use the multicols inside the solution. Oct 6, 2023 at 18:41
  • @SimonDispa The issue with that is that I want to have multiple separate solutions. Oct 6, 2023 at 20:55
  • I'm sorry but I don't understand what you mean by multiple separate solutions. Please explain or update your MWE. Oct 6, 2023 at 21:06
  • 1
    You can use \twocolumn instead, albeit forcing a new page in the process. It is not easy for solution to break pages at all (sort of like tcolorbox). Multicols puts the whole page into one column, then breaks the column, which prevents solution from doing it. Oct 6, 2023 at 22:19
  • @SimonDispa I updated my MWE. In my specific code, I have several questions each with their own respective solution environment, which is why there are several solution blocks. Oct 7, 2023 at 1:30


You must log in to answer this question.

Browse other questions tagged .