# [Tex/LaTex] How to the margins around a table set to 0pt

nestingspacingtables

I need to put a table inside another table, and would like to set the outside margins of the inner table to 0pt. How can I do this (in particular for tabularx, but hopefully this would be the same for any table environment)?

If you are talking about the left and right margins of a tabular (be careful with the term 'table'), they can be removed using @{} as the first and last element in the column definition:
\begin{tabular}{@{}ll@{}}

This replace the normal skip with the content inside the {}, which is empty in this case. This also works for tabularx, array etc.