¿Por qué esta tabla no aparece centrada?

¿Por qué esta tabla no aparece centrada?
\documentclass[landscape]{scrartcl}
\usepackage{booktabs,array,enumitem,ragged2e}

\newcommand{\tablistcommand}{%
  \leavevmode\par\vspace{-\baselineskip}%
}

\newlist{tabitemize}{itemize}{1}
\setlist[tabitemize]{%
  leftmargin = *               ,
  label      = \textbullet     ,
  nosep                        ,
  before     = \tablistcommand ,
  after      = \tablistcommand
}

\begin{document}
\thispagestyle{empty}
\begin{table}
  \centering
  \caption{Wide Itemized Mixed Table}
  \label{tab:wide-item-tbl}
  \begin{tabular}{@{}l*{4}{>{\RaggedRight}p{2in}}@{}}
    \toprule
    \textbf{BSL} & \textbf{Agents} & \textbf{Practices}
    & \textbf{Primary barriers} & \textbf{Secondary barriers} \\
    \midrule
    1 & Not known to consistently cause diseases in healthy adults
      & standard microbiological practices
      & \begin{tabitemize}
        \item no primary barriers required,
        \item  PPE
        \end{tabitemize}
      & bench and sink required \tabularnewline
    2 & \begin{tabitemize}
        \item Agents associated with human diseases
        \item Routes of transmission include per-cutaneous injury,
          ingestion, mucous membrane exposure
        \end{tabitemize}
      & BSL-1 practice plus:
        \begin{tabitemize}[before=]
        \item limited access
        \item Biohazard warning signs
        \item ``Sharps'' precautions
        \item Biosafety manual defining any needed waste
          decontamination or medical surveillance polices
        \end{tabitemize}
      & Primary barriers:
        \begin{tabitemize}[before=]
        \item BSCs or other physical containment devices used for all
          manipulations of agents that cause splashes or aerosols of
          infectious materials
        \item PPE: Laboratory coats, gloves, face and eye protection,
          as needed
        \end{tabitemize}
      & BSL-1 plus:
        \begin{tabitemize}[before=]
        \item Autoclave available
        \end{tabitemize}\tabularnewline
    \bottomrule
  \end{tabular}
\end{table}
\end{document}

Respuesta1

No aparece centrado porque es demasiado ancho para la página y desborda el margen derecho. Intente configurar diferentes dimensiones de página, por ejemplo, usando elgeometríapaquete. Además, puede visualizar los márgenes, por ejemplo, mediante la showframeopción. Para lograr ambos agregue

\usepackage[showframe,left=2cm,right=2cm]{geometry}

al preámbulo.

Respuesta2

Intente usarlo tabularxcon \linewidthtipos de ancho y columna >{\RaggedRight}X}. Con esto su tabla se ajustará al ancho del texto. Para ver el diseño de la página, puedes ayudarte \uasepackage{showframe}o diseñar el diseño con geometryel paquete, por ejemplo \usepackage[margin=1in,showframe]{geometry}.

Con estas medidas obtendrás algo como esto:

ingrese la descripción de la imagen aquí

La parte inicial de su código considerando lo anterior es:

\documentclass[landscape]{scrartcl}
\usepackage{array,booktabs,tabularx}
\usepackage{enumitem,ragged2e}
\usepackage{showframe}

\newcommand{\tablistcommand}{%
  \leavevmode\par\vspace{-\baselineskip}%
}

\newlist{tabitemize}{itemize}{1}
\setlist[tabitemize]{%
  leftmargin = *               ,
  label      = \textbullet     ,
  nosep                        ,
  before     = \tablistcommand ,
  after      = \tablistcommand
}

\begin{document}
\thispagestyle{empty}
\begin{table}
  \caption{Wide Itemized Mixed Table}
  \label{tab:wide-item-tbl}
  \begin{tabularx}{\linewidth}{@{}l*{4}{>{\RaggedRight}X}@{}}
...

información relacionada