How can I set the margins around all tabulars to zero by default?
The margins around a single tabular can be removed using @{}
, see below, but I have dozens of tables and would like to have a single switch for all of them.
\begin{tabular}{@{}ll@{}}
@{}
.\newenvironment{mytabular}[1]{\tabular{@{}#1@{}}}{\endtabular}
. By renamingtabular
to e.g.origtabular
first (\let\origtabular\tabular \let\endorigtabular\endtabular
) you can even patch the environment and keeping the orginal name.