在表格中逐项列出问题

在表格中逐项列出问题

这里的好心人已经帮助我解决了这个问题,但我在另一列中遇到了第二个问题,这是一个挑战。任何帮助都非常受欢迎。谢谢。

\documentclass{article}

\usepackage{rotating}

\usepackage{booktabs,tabularx,caption,enumitem,ragged2e}

\usepackage[table]{xcolor}

\begin{document}

\begin{sidewaystable}

\captionsetup{font={footnotesize}}

\caption{Selected Ebola Epidemic Compartmental Models, Analyses and Problem Formulations with References}

\small

\centering

\renewcommand\arraystretch{1.5}

\begin{tabularx}{\textheight}{lll>{\RaggedRight}Xlc}

  \rowcolor{cyan}

  \specialrule{.2em}{.1em}{.1em}

  \textbf{Compartmental} & \textbf{Analysis} & \textbf{Problem} & \centering

  \textbf{Objective} & \textbf{Control} & \textbf{Reference}  \\

  \rowcolor{cyan}

  \textbf{Model} & & \textbf{Formulation} & & \textbf{Intervention} & \\

  \specialrule{.1em}{.05em}{.05em}

  SEIT & Sensitivity & Differential &

  \begin{minipage}[t]{\linewidth}\RaggedRight

    \begin{itemize}[nosep]

      \item Evaluate various intervention strategies

      \item Determine model parameters by least square method

    \end{itemize}

  \end{minipage} &

  \begin{minipage}[t]{\linewidth}\RaggedRight

    \begin{itemize}[nosep]

        \item Vaccination 

        \item isolation 

    \end{itemize}

  \end{minipage} & You and Me [1] \\

\end{tabularx}

\end{sidewaystable}

\end{document}

答案1

你喜欢获得这样的东西吗? 在此处输入图片描述

实际上对 MWE 的必要更改是为第二个列表添加列类型X...l代码是(稍微重新排列):

\documentclass{article}
    \usepackage{rotating}
    \usepackage{booktabs,tabularx}
    \usepackage[table]{xcolor}

    \usepackage{enumitem,ragged2e}
    \usepackage{caption}
\captionsetup{font={footnotesize}}


\begin{document}
    \begin{sidewaystable}
\renewcommand\arraystretch{1.5}
    \centering
    \small
\caption{Selected Ebola Epidemic Compartmental Models, Analyses and Problem Formulations with References}
\begin{tabularx}{\textheight}{lllXXc}
    \rowcolor{cyan}
    \specialrule{.2em}{.1em}{.1em}
\textbf{Compartmental}  & \textbf{Analysis}         & \textbf{Problem} 
                        & \hfil\textbf{Objective}   & \hfil\textbf{Control}  
                        & \textbf{Reference}        \\
  \rowcolor{cyan}
\textbf{Model}          &                           & \textbf{Formulation}
                        &                           & \textbf{Intervention}
                        &                           \\
    \specialrule{.1em}{.05em}{.05em}
SEIT & Sensitivity & Differential &
    \begin{minipage}[t]{\hsize}\RaggedRight
    \begin{itemize}[nosep]
        \item Evaluate various intervention strategies
        \item Determine model parameters by least square method
    \end{itemize}
    \end{minipage} 
        &
    \begin{minipage}[t]{\hsize}\RaggedRight
    \begin{itemize}[nosep]
        \item Vaccination
        \item isolation
    \end{itemize}
    \end{minipage} & You and Me [1] \\
\end{tabularx}
\end{sidewaystable}
\end{document}

相关内容