我想继续在第一个数组中写入,但要换行。该命令\\
对此不起作用。有人能帮我吗?
我的代码是:
\documentclass{article}
\usepackage[landscape]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[ngerman]{babel}
\usepackage{multirow}
\begin{document}
\small
\begin{tabular}{|c|c|c|c|}
\hline
\multirow{2}{*} & \multicolumn{3}{c|}{Disability} \\ \cline{2-4}
& Regulatory Framework & Coverage & Qualifying Conditions \\ \hline
United States & \textbf{Social Security Act 1935} & xx & xx \\ \hline
Germany & xx & xx & xx \\ \hline
France & xx & xx & xx \\ \hline
United Kingdom & xx & xx & xx \\ \hline
\end{tabular}
\end{document}
编辑一张图片可以更清楚地展示表格的外观。
答案1
\documentclass{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[ngerman]{babel}
\usepackage{multirow}
\usepackage{booktabs}
\begin{document}
\small
\begin{tabular}{lp{4cm}p{1.2cm}p{3.5cm}}
\toprule
\multirow{2}{*} & \multicolumn{3}{c}{Disability} \\ \cmidrule(r){2-4}
& Regulatory Framework & Coverage & Qualifying Conditions \\ \midrule
United States & \raggedright
Social Security Act 1935 and related bills passed over a period of many years by various Congresspersons despite the blatant attempts to filibuster by making long and pointless sentences that seem to run on forever just to demonstrate verbosity of the political classes
& xx & xx \\
Germany & xx & xx & xx \\
France & xx & xx & xx \\
United Kingdom & xx & xx & xx \\ \bottomrule
\end{tabular}
\end{document}