title: Mathjax configuration latex to center
body: <p>I'm trying to use mathjax-node in javascript.</p>
  <p>as you can see in picture, I want to make tex to center not left.</p>
  <p><a href="https://i.stack.imgur.com/liQmO.png" rel="nofollow noreferrer">this is rendered picture</a></p>
  <p>is there any configuration on mathjax-node?</p>
  <p>I tried text-align and displayAlign to center, but it doesn't worked.</p>
  <pre><code>function convert(tex, options, callback) {
      mathjax.typeset({
          width: options.width,
          ex: 10,
          math: tex,
          format: &quot;TeX&quot;,
          // style: &quot;text-align: center;&quot;,
          svg: true, // SVG output
          linebreaks: true,
      }, function (data) {
          if (data.errors) return callback(data.errors);
          callback(undefined, data.svg);
      });
  }
  
  
  const mathjax = require('mathjax-node');
  mathjax.config({
      TeX: {
          extensions: [&quot;color.js&quot;]
      },
      MathJax: {
          displayAlign: &quot;center&quot;,
          // 'text-align': &quot;center&quot;
          extensions: [&quot;TeX/color.js&quot;],
          'fast-preview':{disabled:false}
      },
  });
  mathjax.start();
  </code></pre>
  <p>this is code of mathjax.typeset and config</p>