
我想創建一個這樣的表
但我的是
我是這樣做的:
\begin{tabular}{|c|l|l|l|l|l|}
\hline
\textit{Text} & ``Tom & Spink & has & a & harpoon.''\\
\hline
\hline
\textit{Transcription 1} & L+H* & L+H* & & & \! H* \\ & & & & & L-L\% \\
\hline
\textit{Transcription 2} & L* & L* & & & L*\\
& H- & L- & & & L-L\%\\
\hline
\end{tabular}
請幫忙。
答案1
您只需要|
在列之間省略列規範,因為您不喜歡有垂直線:
\documentclass{article}
\usepackage{array}
\begin{document}
\begin{tabular}{|>{\itshape}c | l l l l l|} % <---
\hline
Text & ``Tom & Spink & has & a & harpoon.''\\
\hline
\hline
Transcription 1 & L+H* & L+H* & & & !H* \\
& & & & & L-L\% \\
\hline
Transcription 2 & L* & L* & & & L* \\
& H- & L- & & & L-L\% \\
\hline
\end{tabular}
\end{document}