Tabu 包行空间选项

Tabu 包行空间选项

如果我们在特定行中给出行空间\\[1pt],这会占用更多空间,使用“ tabu

我们知道该包无人维护,我只是检查当我给出“ ”tabu时是否有其他选项可以控制更多的垂直空间\\[1pt]

注意:tabulinesep是解决方案之一,但它会占用所有行的额外空间。 在此处输入图片描述

\documentclass{article}
\usepackage{tabu}

\begin{document}

Working capital management deals with the management of current assets — cash, accounts receivable and inventory — and their financing. Good working capital management is always important for companies. \begin{table}[h!]
{\begin{tabu}{p{100pt}p{100pt}}
Nikole Gyles
&
BCom (Hons) UTas, CA, CPA\\
\tabucline{-}
Janice Loftus
&
BBus NSWIT, MCom (Hons) UNSW, FCPA\\
Carmen Ridley&BSc (Hons) Mathematics, FCA\\
\tabucline{-}
BEc, GradDipCom, MCom (Hons), PhD Monash
&
BEc, GradDipCom, MCom (Hons), PhD Monash University, CPA, CA\\
\end{tabu}}
{}
\end{table}
Working capital management deals with the management of current assets — cash, accounts receivable and inventory — and their financing. Good working capital management is always important for companies.

\begin{table}[h!]
{\begin{tabu}{p{100pt}p{100pt}}
Nikole Gyles
&
BCom (Hons) UTas, CA, CPA\\
\tabucline{-}
Janice Loftus
&
BBus NSWIT, MCom (Hons) UNSW, FCPA\\
Carmen Ridley&BSc (Hons) Mathematics, FCA\\[1pt]
\tabucline{-}
BEc, GradDipCom, MCom (Hons), PhD Monash
&
BEc, GradDipCom, MCom (Hons), PhD Monash University, CPA, CA\\
\end{tabu}}
{}
\end{table}

\end{document}

答案1

渴望评论...

删除所有不必要的花括号后,您的 MWE 得到:

在此处输入图片描述

正如上面的评论中提到的,不建议使用tabu。它有缺陷并且没有维护。在最后一次修订array它所严重依赖的软件包之后,它又出现了其他问题。最好使用标准tabular或其他表环境。

编辑: 使用标准 tabular环境可以获得相同的结果:

\documentclass{article}

\begin{document}
Working capital management deals with the management of current assets —
cash, accounts receivable and inventory — and their financing. Good working
capital management is always important for companies. 
    \begin{table}[ht]
\begin{tabular}{p{100pt}p{100pt}}
Nikole Gyles
&
BCom (Hons) UTas, CA, CPA\\
\hline
Janice Loftus
&
BBus NSWIT, MCom (Hons) UNSW, FCPA\\
Carmen Ridley&BSc (Hons) Mathematics, FCA\\
\\hline
BEc, GradDipCom, MCom (Hons), PhD Monash
&
BEc, GradDipCom, MCom (Hons), PhD Monash University, CPA, CA\\
\end{tabular}
    \end{table}
Working capital management deals with the management of current assets —
cash, accounts receivable and inventory — and their financing. Good working
capital management is always important for companies.

    \begin{table}[ht]
\begin{tabular}{p{100pt}p{100pt}}
Nikole Gyles
&
BCom (Hons) UTas, CA, CPA\\
\hline
Janice Loftus
&
BBus NSWIT, MCom (Hons) UNSW, FCPA\\
Carmen Ridley&BSc (Hons) Mathematics, FCA\\[1pt]
\hline
BEc, GradDipCom, MCom (Hons), PhD Monash
&
BEc, GradDipCom, MCom (Hons), PhD Monash University, CPA, CA\\
\end{tabular}
    \end{table}
\end{document}

在此处输入图片描述

编辑(2): 与使用center环境:

\documentclass{article}

\begin{document}
Working capital management deals with the management of current assets —
cash, accounts receivable and inventory — and their financing. Good working
capital management is always important for companies. 
    \begin{center}
\begin{tabular}{p{100pt}p{100pt}}
Nikole Gyles
&
BCom (Hons) UTas, CA, CPA\\
\hline
Janice Loftus
&
BBus NSWIT, MCom (Hons) UNSW, FCPA\\
Carmen Ridley&BSc (Hons) Mathematics, FCA\\
\\hline
BEc, GradDipCom, MCom (Hons), PhD Monash
&
BEc, GradDipCom, MCom (Hons), PhD Monash University, CPA, CA\\
\end{tabular}
    \end{center}
Working capital management deals with the management of current assets —
cash, accounts receivable and inventory — and their financing. Good working
capital management is always important for companies.

    \begin{center}
\begin{tabular}{p{100pt}p{100pt}}
Nikole Gyles
&
BCom (Hons) UTas, CA, CPA\\
\hline
Janice Loftus
&
BBus NSWIT, MCom (Hons) UNSW, FCPA\\
Carmen Ridley&BSc (Hons) Mathematics, FCA\\[1pt]
\hline
BEc, GradDipCom, MCom (Hons), PhD Monash
&
BEc, GradDipCom, MCom (Hons), PhD Monash University, CPA, CA\\
\end{tabular}
    \end{center}
\end{document}

在此处输入图片描述

相关内容