# 解决过程

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

$(function () {$('.MathJax_Display').wrap("<div class='formula'></div>");
});

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,

<script type="text/javascript" src="/MathJax/MathJax.js"></script>
<script>
MathJax.Hub.Queue(function () {
// ... your startup commands here ...
});
</script>

MathJax.Hub.Queue(function () {
\$('.MathJax_Display').wrap("<div class='official'></div>");
});