Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
235 views
in Technique[技术] by (71.8m points)

python - Can MathJax output format be changed

I'm recreating a MatLab script in Jupyter, but am running into an issue with how MathJax formats the print output in certain cases.

I have a column vector that is very wide and the rows end up being wrapped to fit inside the width of the output space. It would seem to be related to how MathJax decides to interpret the final output as the fast-preview prints exactly how I would like the final output to be displayed.

Making edits to the custom.css or custom.js file inside the /.jupyter/custom folder don't seem to be having any effect on MathJax. I was able to adjust MathJax for Jupyter this way as suggested by user Ian. Now I can't figure out what setting I can use that would control text wrap.

Preview:

fast-preview example

Final output:

Final output

I am working on a Windows machine through Anaconda.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...