表格形式不正确

表格形式不正确

我有以下表格,是为了回应论文审查员的报告而想出来的。这里的问题是:

\documentclass[12pt]{article}
\usepackage{mathrsfs}
\usepackage{mathtools}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{tabularx,ragged2e,booktabs,caption}
\usepackage{tabu}
\usepackage{amssymb,bm}
\usepackage{array}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\begin{document}

\textbf{\huge Response to Examiners’ Reports}

\vspace{5em}
\begin{tabular}{| L{4cm} | L{8cm} |}
\hline
Candidate Name &
Shahrina Ismail \\
\hline
Thesis Title & Perfect Triangles : Rational points on Elliptic Curves \\
\hline
School & School of Mathematics \& Physics, University of Queensland \\
\hline
  \end{tabular}


\vspace{3em}
\begin{tabular}{| L{8cm} | L{8cm} | L{3cm} |}
\hline
Examiner's comment &
Response & Page\\
\hline
knowledge in & requirement in & P1L2\\
\hline
standardized & standardised & P1L2\\
\hline
  \end{tabular}

\end{document}

1.第一个表:如何增加行高。我的行看起来很拥挤。

2.第二张表没有显示第三列,不知道为什么。

答案1

我已将您的表格最小化到必要的细节。为了增加间距,我使用了\arraystretch。您的第二个问题也有一个简单的答案:您的表格对于侧面来说太宽了(实际上是打印了第三列,但在页面之外)。为了获得更好的外观,我将这些表格变成了tabularx您已经使用过的那个包。

桌子

\documentclass[12pt]{article}
\usepackage{booktabs,tabularx}
\usepackage{array}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\begin{document}

\textbf{\huge Response to Examiners’ Reports}

\vspace{5em}
\renewcommand{\arraystretch}{1.4}
\begin{tabularx}{\linewidth}{| L{5cm} | X |}
\hline
Candidate Name &
Shahrina Ismail \\
\hline
Thesis Title & Perfect Triangles : Rational points on Elliptic Curves \\
\hline
School & School of Mathematics \& Physics, University of Queensland \\
\hline
  \end{tabularx}
\renewcommand{\arraystretch}{1.0}

\vspace{3em}
\begin{tabularx}{\linewidth}{| X | X | L{3cm} |}
\hline
Examiner's comment &
Response & Page\\
\hline
knowledge in & requirement in & P1L2\\
\hline
standardized & standardised & P1L2\\
\hline
  \end{tabularx}

\end{document}

booktabs如果您考虑使用(您已经包含),可能会更好。看起来会像这样:

表 2

\documentclass[12pt]{article}
\usepackage{booktabs,tabularx}
\usepackage{array}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\begin{document}

\textbf{\huge Response to Examiners’ Reports}

\vspace{5em}
\renewcommand{\arraystretch}{1.4}
\begin{tabularx}{\linewidth}{L{5cm} X}
\toprule
Candidate Name &
Shahrina Ismail \\
\midrule
Thesis Title & Perfect Triangles : Rational points on Elliptic Curves \\
\midrule
School & School of Mathematics \& Physics, University of Queensland \\
\bottomrule
  \end{tabularx}

\vspace{3em}
\begin{tabularx}{\linewidth}{X X L{3cm}}
\toprule
Examiner's comment &
Response & Page\\
\midrule
knowledge in & requirement in & P1L2\\
standardized & standardised & P1L2\\
\bottomrule
  \end{tabularx}

\end{document}

相关内容