Code: Select all
\begin{center}
\begin{table}[!h]
\begin{tabular}{p{1.7cm}p{0.5cm}p{12cm}lcr}
A & = & abc, and \\
B & = & cde, \\
\end{tabular}
\end{table}
\end{center}
Best!
Code: Select all
\begin{center}
\begin{table}[!h]
\begin{tabular}{p{1.7cm}p{0.5cm}p{12cm}lcr}
A & = & abc, and \\
B & = & cde, \\
\end{tabular}
\end{table}
\end{center}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
\end{table}
and \end{table}
.tabular
is enough here. table
is for floating tables with captions and numbering. This means, tables are positioned at a very good place for optimal page breaking, such as at the beginning of the next page while the text fills up the page to the bottom. If you don't want that, you don't need to use a table
environment.NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p