I am creatin a table with latex using ACM template with \documentclass[sigconf, anonymous]{acmart}
This is my code:
\begin{table}
\centering
\begin{tabulary}{\textwidth}{CLCL}
\toprule
\multicolumn{2}{c}{Security} &
\multicolumn{2}{c}{Data protection} \\\cmidrule(rl){1-2}\cmidrule(rl){3-4}
Level & \hfil Mode & Encryption & \hfil Authenticity\\
%\midrule
\cmidrule(rl){1-1}\cmidrule(rl){2-2}\cmidrule(rl){3-3}\cmidrule(rl){4-4}
0 & No Security & No & Not validated \\
1 & AES-CBC-MAC-32 & No & 32-bit MIC \\
2 & AES-CBC-MAC-64 & No & 64-bit MIC \\
3 & AES-CBC-MAC-128 & No & 128-bit MIC \\
4 & AES-CTR & Yes & Not validated \\
5 & AES-CCM-32 & Yes & 32-bit MIC \\
6 & AES-CCM-64 & Yes & 64-bit MIC \\
7 & AES-CCM-128 & Yes & 128-bit MIC \\
\bottomrule
\end{tabulary}
\end{table}
Initially, with IEEE template I got:
but with the ACM, I got this:
tabulary
andbooktabs
) you load in the document's preamble. – Mico Jan 23 at 23:17\begin{tabulary}{\textwidth}{CLCL}
into\begin{tabular}{clcl}
and\end{tabulary}
with\end{tabular}
. – egreg Jan 23 at 23:32