![在 Latex 中复制表格,](https://linux22.com/image/333473/%E5%9C%A8%20Latex%20%E4%B8%AD%E5%A4%8D%E5%88%B6%E8%A1%A8%E6%A0%BC%EF%BC%8C.png)
有人可以帮我吗,我想在乳胶中重现这张表(见图)
答案1
这是一个解决方案:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{fourier, erewhon}
\usepackage[table, x11names]{xcolor}
\usepackage{hhline, siunitx}
\newcommand\thickvrule{\color{DarkSeaGreen4}\vrule width 1pt}
\newcommand\thickhrule{\noalign{\setlength\baselineskip{0pt}\color{DarkSeaGreen4} \hrule height 1pt\relax}}
\begin{document}
\begin{table}[!htb]
\centering\renewcommand\arraystretch{1.3}\arrayrulecolor{DarkSeaGreen4}
\setlength\fboxsep{0pt}\setlength\fboxrule{1pt}\setlength\doublerulesep{1pt}\doublerulesepcolor{DarkSeaGreen4}
\fcolorbox{DarkSeaGreen4}{white}{\begin{tabular}{*{2}{c!{\thickvrule}}c}
\multicolumn{3}{c}{\cellcolor{DarkSeaGreen3!60!}Calcul de l’épaisseur de la tubulure A, B}\\ %%
\thickhrule
& Situation de service & Situation d’épreuve \\
\thickhrule
D\textsubscript{e~mm} & 610 & 610 \\
\hhline{-|-|-}
f &204.1666667 & 318.25 \\
\hhline{-|-|-}
z & 1 & 1 \\
\hhline{-|-|-}
P\textsubscript{calcul} MPa & 2.8 & 4.004 \\
\hhline{-|-|-}
\textsubscript{utile} & \cellcolor{gray!40!DarkSeaGreen3!30!} \num{4154370034} & \num{3813309519}\\
\cline{2-3}
\hhline{-|-|-}
\cline{2-3}
e\textsubscript{nominale} & \multicolumn{2}{c}{26.09}%
\end{tabular}}
\caption{The Caption}
\label{Table:A1}
\end{table}
\end{document}
答案2
您可能会发现这些 Latex 表生成器很有用: