SageTeX: sagecommandline problem

asked 2020-01-31 04:51:09 -0600

castor gravatar image

updated 2020-01-31 04:53:21 -0600

As a simple example of the problem I have encountered

    sage: M=matrix.identity(6)
    sage: M
    sage: v=vector([k for k in [0..5]])
    sage: v

the output looks fine except that the printed matrix $M$ overlaps with the definition of the vector $v.$image description

Is there a way to add some vertical space below the displayed matrix?

edit retag flag offensive close merge delete



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.

dazedANDconfused gravatar imagedazedANDconfused ( 2020-01-31 19:30:22 -0600 )edit

You are completely right, thank you. In memoire documentclass it works fine, it is the elegantbook documentclass that makes the problem.

castor gravatar imagecastor ( 2020-02-01 07:48:21 -0600 )edit