SageTeX: sagecommandline problem
As a simple example of the problem I have encountered
\begin{sagecommandline}
sage: M=matrix.identity(6)
sage: M
sage: v=vector([k for k in [0..5]])
sage: v
\end{sagecommandline}
the output looks fine except that the printed matrix $M$ overlaps with the definition of the vector $v.$
Is there a way to add some vertical space below the displayed matrix?
Could you post the code for the entire LaTeX document? When I add code to get your snippet to run in Cocalc, I don't get boxes and there is no overlap.
You are completely right, thank you. In memoire documentclass it works fine, it is the elegantbook documentclass that makes the problem.