我想制作一个简单的双列表格,其中左列的文本与右列的文本顶行对齐。目前,两列居中对齐。
下面是我正在使用的代码示例:
\documentclass[11pt, oneside]{article}
\usepackage{geometry}
\geometry{letterpaper}
\usepackage{array}
\usepackage{longtable}
\newcolumntype{L}[1]{>
{\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\begin{document}
\begin{longtable}{ L{1.5cm} R{5cm} }
I want & the text of the left column to align with the top line of this column, instead of the center. But as you can see, it currently aligns with the center. \\
\end{longtable}
\end{document}
其结果为以下中心对齐:
您能帮我将左栏的文本顶部对齐吗?谢谢!