I'm using a table to show a comparison of two 64-bit blocks/strings — bit for bit.
Like so:
Without the table it of course fits comfortably with room to spare, but when we draw the tables, extra space is added between each value on account of the minimum width of each cell. However, we can override this minimum width by putting \setlength{\tabcolsep}{1.0pt} between \begin{table} & \begin{tabular}. You can go all the way down to 0.0pt (probably even further if you really wanted to), and each cell gets its sides squished in. At 0.5pt, it will fit nicely between my 1.25in margins, but any bigger, it will be flush with the left margin, and overhanging the right.
I'd like to know how to get the table to ignore the margins and become truly centered, relative to the center of the current page. It shouldn't affect anything other than the table (surrounding text for instance). Just a quick temporary override. I thought it was possible with a minipage environment to get a float to.. well float, but I'm not having much luck.
Here's my MWE for the image above:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4]{article}
\usepackage{booktabs}
\usepackage{colortbl}
\usepackage{xcolor}
\usepackage[margin=1.25in,a4paper,showframe]{geometry}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\newcommand*{\yncellcolor}{}
\def\yncellcolor\ignorespaces{\@ifnextchar{1}{\cellcolor{green!20}}{\@ifnextchar{0}{\cellcolor{red!20}}{}}}
\newcolumntype{C}{>{\yncellcolor}c}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}\tiny
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{table}
\centering
\begin{center}
\setlength{\tabcolsep}{1.0pt}
\begin{tabular}{|C|C|C|C|C|C|C|C|C|C|C|C|C|C|C|C|C|C|C|C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andriis Aug 25 '19 at 10:10\end{tabular}or\end{tabular*}? – voices Aug 25 '19 at 10:17\end{tabular}. The*in this case is not the starred version of tabular but a multiplication sign, so|Cis repreated 64 times. – leandriis Aug 25 '19 at 10:19\begin{table} \makebox[\textwidth][c]{ \setlength{\tabcolsep}{1.0pt} \begin{tabular}{*{64}{|C}|} \hline ... \hline 0 & 1 & 1 & 1 & 0 & 0 & 1 & 1 & 0 & 1 & 0 & 1 & 1 & 0 & 0 & 1 & 1 & 0 & 1 & 1 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 1 & 0 & 1 & 1 & 0 & 0 & 0 & 1 & 1 & 1 & 1 & 1 & 0 & 0 & 1 & 0 & 0 & 1 & 1 & 1 & 0 & 1 & 1 & 0 & 1 & 1 & 1 & 0 & 0 & 0 & 1 & 0 & 1 & 1 & 0 & 0 & 0 \\ \hline \end{tabular}} \end{table}works fine for me and centers the table relative to the textblock spilling equally into the left and right margin. – leandriis Aug 25 '19 at 10:20tabularenvironment with aminipageenvironment (or whatever), you've wrapped it with\makebox[\textwidth][c]{ }, right? It seems to work, if you would like to put it in a formal answer, I can award you credit. – voices Aug 25 '19 at 10:29\makeboxsolution is most likely usingbegin{adjustbox}{center}around thetabular(or instead of) but inside oftableas explained by Martin Scharrer in his anwer – leandriis Aug 25 '19 at 10:53\usepackage{colortbl} \usepackage{xcolor}by\usepackage[table]{xcolor}. – leandriis Aug 25 '19 at 10:55