I create a table that I would like centered on the page horizontally. I scale the table size using \resizebox. However, doing so, left aligns the table. How do I center it?
Here's a MWE:
\documentclass[11pt,english,titlepage]{article}
\usepackage{graphicx}
\begin{document}
\begin{table}
\caption{mytable}
\resizebox{.5\textwidth}{!}{
\begin{centering}
\begin{tabular}{rrr}
A & B & C \\
\hline
A1 & B1 &C1\\
A2 & B2 & C2 \\
A3 & B3 & C3 \\
\end{tabular}
\end{centering}
}
\end{table}
\end{document}
centeringenvironment, there is acenterenvironment. That can definitely center a resized box. – corwin.amber Oct 15 '21 at 11:44