答案1
我建议从 Word 中复制并粘贴文本,然后花几分钟手动添加 latex 标记。这样表格会比网站上自动生成的表格干净得多。
起点:
\documentclass{article}
\usepackage{xcolor}
\usepackage{colortbl}
\usepackage{ltablex}
\begin{document}
\begin{tabularx}{\linewidth}{|X|X|X|}
\hline
\rowcolor{blue!50!white!90!yellow}\bfseries Reagent or Resource & \bfseries Source & \bfseries Identifier\\\hline
\rowcolor{blue!50!white!90!yellow}\multicolumn{3}{|l|}{\bfseries Experimental models: Organisms/Strains}\\\hline
Mouse: $App^{xxxxxx}$ & \multicolumn{2}{l|}{Prof. Takaomi Saido}\\\hline
Mouse: $App^{xxxxxx}$ & The Jackson laborartory & Stock \# : 000664\\\hline
\end{tabularx}
\end{document}
编辑:
填充整个文本宽度
\documentclass{article}
\usepackage{xcolor}
\usepackage{colortbl}
\usepackage{ltablex}
\usepackage{lipsum}
\keepXColumns
\begin{document}
\lipsum[2]
\begin{tabularx}{\linewidth}{@{}|X|X|X|@{}}
\hline
\rowcolor{blue!50!white!90!yellow}\bfseries Reagent or Resource & \bfseries Source & \bfseries Identifier\\\hline
\rowcolor{blue!50!white!90!yellow}\multicolumn{3}{|l|}{\bfseries Experimental models: Organisms/Strains}\\\hline
Mouse: $App^{xxxxxx}$ & \multicolumn{2}{l|}{Prof. Takaomi Saido}\\\hline
Mouse: $App^{xxxxxx}$ & The Jackson laborartory & Stock \# : 000664\\\hline
\end{tabularx}
\lipsum[2]
\end{document}