Skip to content

Table environments are not centered #160

@nmearl

Description

@nmearl

Using the official template for AAS in a new Overleaf project, regular (re: non-deluxetable) environments are misaligned, with an offset to the right. Here is an example just inserting some basic tables into the template:

Single-column:
Screenshot 2024-11-13 at 13 38 34

\begin{table}[h!]
\centering
\begin{tabular}{||c c c c||} 
 \hline
 Col1 & Col2 & Col2 & Col3 \\
 \hline\hline
 1 & 6 & 87837 & 787 \\ 
 2 & 7 & 78 & 5415 \\
 3 & 545 & 778 & 7507 \\
 4 & 545 & 18744 & 7560 \\
 5 & 88 & 788 & 6344 \\
 \hline
\end{tabular}
\caption{Table to test captions and labels.}
\label{table:1}
\end{table}

Two-column:
Screenshot 2024-11-13 at 13 38 49

\begin{table*}
\centering
\begin{tabular}{||c c c c c c||} 
 \hline
 Col1 & Col2 & Col2 & Col3 & Col4 & Col5 \\
 \hline\hline
 1 & 6 & 87837 & 787 & 87837 & 787 \\ 
 2 & 7 & 78 & 5415 & 87837 & 787 \\
 3 & 545 & 778 & 7507 & 87837 & 787 \\
 4 & 545 & 18744 & 7560 & 87837 & 787 \\
 5 & 88 & 788 & 6344 & 87837 & 787 \\
 \hline
\end{tabular}
\caption{Table to test captions and labels.}
\label{table:2}
\end{table*}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions