title: kable indent rows with specific hspace for all columns
body: <p>The following code add indentations to the 2nd &amp; 4th rows for first column only.</p>
  <pre><code>library(kableExtra)
  knitr::kable(head(mtcars[ ,1:4]), &quot;latex&quot;) %&gt;% 
    add_indent(positions = c(2, 4))
  </code></pre>
  <p>Wondering how to add indentations of specific hspace to the 2nd &amp; 4th rows for all columns. Something like this</p>
  <pre><code>library(kableExtra)
  knitr::kable(head(mtcars[ ,1:4]), &quot;latex&quot;) %&gt;% 
    add_indent(positions = c(2, 4), hspace = &quot;2em&quot;, allCols = TRUE)
  </code></pre>