1

第三列中的垂直线有 2 个间隙。我怎样才能让它看起来很饱满?

1

这是代码:

\begin{table}[H]
\centering
\caption{Enzymatic cocktails and the respective tested concentrations in \%(v/v) used in Combined Hydrolysis}
\label{enzymatic cocktails}
\begin{tabular}{@{}ccc@{}}
\toprule
\textbf{Cocktail}  & \textbf{Enzymes}               & \textbf{Concentration \%(v/v)}                                              \\ \midrule
\multirow{2}{*}{A} & \multicolumn{1}{c|}{Cellulase} & \multirow{8}{*}{\begin{tabular}[c]{@{}c@{}}0.25\\ 0.50\\ 1.00\end{tabular}} \\
                   & \multicolumn{1}{c|}{$\boldsymbol{\beta}$-glucosidase}            &  \\ \cmidrule(r){1-2}
\multirow{3}{*}{B} & \multicolumn{1}{c|}{Cellulase}                &  \\
                   & \multicolumn{1}{c|}{$\boldsymbol{\beta}$-glucosidase}            &  \\
                   & \multicolumn{1}{c|}{xylanase}                 & \\ \cmidrule(r){1-2}
\multirow{3}{*}{C} & \multicolumn{1}{c|}{Cellulase}                &  \\
                   & \multicolumn{1}{c|}{$\boldsymbol{\beta}$-glucosidase}            &  \\
                   & \multicolumn{1}{c|}{$\boldsymbol{\beta}$-glucanase and xylanase} &  \\ \bottomrule
\end{tabular}
\end{table}
4

1 回答 1

0

包装中的in 等垂直线和, , ,c|等水平线不匹配。toprulebottomrulemidrulecmidrulebooktabs

\documentclass{article}
\usepackage{multirow}
\begin{document}

\begin{table}%[H]
\centering
\caption{Enzymatic cocktails and the respective tested concentrations in \%(v/v) used in Combined Hydrolysis}
\label{enzymatic_cocktails}
\begin{tabular}{@{}ccc@{}}
\hline
\textbf{Cocktail}  & \textbf{Enzymes}               & \textbf{Concentration \%(v/v)}\\
\hline
\multirow{2}{*}{A} & \multicolumn{1}{c|}{Cellulase} & %
  \multirow{8}{*}{\begin{tabular}[c]{@{}c@{}}0.25\\ 0.50\\ 1.00\end{tabular}}\\
                   & \multicolumn{1}{c|}{$\mathbb{\beta}$-glucosidase}     & \\
                   \cline{1-2}
\multirow{3}{*}{B} & \multicolumn{1}{c|}{Cellulase}                        & \\
                   & \multicolumn{1}{c|}{$\boldsymbol{\beta}$-glucosidase} & \\
                   & \multicolumn{1}{c|}{xylanase}                         & \\
                   \cline{1-2}
\multirow{3}{*}{C} & \multicolumn{1}{c|}{Cellulase}                        & \\
                   & \multicolumn{1}{c|}{$\mathbb{\beta}$-glucosidase}     & \\
                   & \multicolumn{1}{c|}{$\mathbb{\beta}$-glucanase and xylanase} & \\
\hline
\end{tabular}
\end{table}
\end{document}

所以我回到hline我的代码中的 s 。最好使用上述包booktabs并避免使用垂直线。

于 2021-08-18T14:29:01.980 回答