title: How to center table in xsl-fo?
body: <p>I am trying to center a table in a block element in a xsl-fo namespace. </p>
  
  <p>Here is what I am trying:</p>
  
  <pre><code> &lt;fo:block margin-right="auto" margin-left="auto" background-color="#eaeaea"&gt;
       &lt;fo:table margin-top="1cm" margin-left="auto" margin-right="auto" margin-bottom="1cm" width="auto"&gt;
  </code></pre>
  
  <p>And this is the output:</p>
  
  <p><img src="https://i.stack.imgur.com/9kLC4.png" alt="enter image description here"></p>
  
  <p>How can I center this table in this block?</p>
  
  <p>Thank you.</p>