在 LaTeX 中,我可以做类似的事情:
\begin{longtabu} to \linewidth
{X |[3pt] X}
...
\tabucline[3pt]{-}
...
\end{longtabu}
这将产生垂直和水平的线条3pt
。如何在 ConTeXt 中控制线条粗细?
答案1
\starttext
\setupTABLE[row][each][rulethickness=.5pt,offset=\dimexpr1mm+2pt]
\bTABLE
\bTR[rulethickness=5pt] \bTD 1 \eTD \bTD 1 \eTD \bTD 2/3 \eTD \eTR
\bTR \bTD 2 \eTD \bTD 2 \eTD \bTD 3 \eTD \eTR
\bTR \bTD 2 \eTD \bTD[rulethickness=5pt,offset=1mm] 2 \eTD \bTD 3 \eTD \eTR
\bTR \bTD 1 \eTD \bTD 1 \eTD \bTD 4 \eTD \eTR
\bTR \bTD 1 \eTD \bTD 1 \eTD \bTD 2 \eTD \eTR
\eTABLE
\stoptext