如何显示mathjax渲染的超长公式

解决过程

.formula{
width: 100%;
overflow-x: auto
}

$(function () {$('.MathJax_Display').wrap("");
});

One of the uses of the MathJax queue is to allow you to synchronize an action with the startup process for MathJax. If you want to have a function performed after MathJax has become completely set up (and performed its initial typesetting of the page), you can push it onto the MathJax.Hub.queue
so that it won’t be performed until MathJax finishes everything it has queued when it was loaded. For example,


MathJax.Hub.Queue(function () {
// ... your startup commands here ...
});


MathJax.Hub.Queue(function () {
\$('.MathJax_Display').wrap("");
});