“多列”包是否已被替换?它发生了什么?

“多列”包是否已被替换?它发生了什么?

我曾经使用过该multicolumn软件包。如今,该软件包显然已无法通过 CTAN 和 获得tlmgr。为什么multicolumn它不再可用?我看到的最接近的匹配软件包是多色我想知道这是否是下一代和/或替代为了multicolumn

为了便于理解,我回顾了一个 2020 年的项目,该项目tlmgr install multicolumn可能有效,并且这样的代码片段很有用……尽管我在标题部分没有看到任何\usepackage内容:multicolumn

\begin{footnotesize}
\begin{table}[ht]
\begin{tabular}{l|
>{\columncolor[HTML]{D9D9D9}}r |
>{\columncolor[HTML]{D9D9D9}}r |
>{\columncolor[HTML]{D9D9D9}}r |
>{\columncolor[HTML]{EFEFEF}}r |
>{\columncolor[HTML]{EFEFEF}}r |
>{\columncolor[HTML]{EFEFEF}}r |
>{\columncolor[HTML]{D9D9D9}}r |
>{\columncolor[HTML]{D9D9D9}}r |
>{\columncolor[HTML]{D9D9D9}}r |}
\cline{2-10}
                                                        & \multicolumn{3}{l|}{\cellcolor[HTML]{D9D9D9}PlantUML}                                                                                                    & \multicolumn{3}{l|}{\cellcolor[HTML]{EFEFEF}TabulaPDF}                                                                                                   & \multicolumn{3}{l|}{\cellcolor[HTML]{D9D9D9}SimpleXML}                                                                                                   \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}\textbf{}} & \multicolumn{1}{l|}{\cellcolor[HTML]{D9D9D9}$A$} & \multicolumn{1}{l|}{\cellcolor[HTML]{D9D9D9}$B_1$} & \multicolumn{1}{l|}{\cellcolor[HTML]{D9D9D9}$B_2$} & \multicolumn{1}{l|}{\cellcolor[HTML]{EFEFEF}$A$} & \multicolumn{1}{l|}{\cellcolor[HTML]{EFEFEF}$B_1$} & \multicolumn{1}{l|}{\cellcolor[HTML]{EFEFEF}$B_2$} & \multicolumn{1}{l|}{\cellcolor[HTML]{D9D9D9}$A$} & \multicolumn{1}{l|}{\cellcolor[HTML]{D9D9D9}$B_1$} & \multicolumn{1}{l|}{\cellcolor[HTML]{D9D9D9}$B_2$} \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}Smells}    & \shortstack{ \\ 8 \\ 6* }                           & 9                                                  & 21                                                 & 13                                             & 2                                                  & 6                                                  & 13                                             & n/a                                                & 26                                                 \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}Debt}      & \shortstack{ \\ 66 \\ 62* }                         & -26                                                & 125                                                & 81                                             & 30                                                 & 57                                                 & 114                                            & n/a                                                & 178                                                \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}C.Dty\%}    & 0.0                                            & -0.1                                               & 0.0                                                & 0.6                                            & 0.0                                                & 0.0                                                & -0.1                                           & n/a                                                & 1.0                                                \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}C.Line}    & 41                                             & -19                                                & 73                                                 & 36                                             & 0                                                  & 0                                                  & 0                                              & n/a                                                & 36                                                 \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}C.Blks}    & 3                                              & -3                                                 & 8                                                  & 2                                              & 0                                                  & 0                                                  & 0                                              & n/a                                                & 2                                                  \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}C.Files}   & 0                                              & -1                                                 & 0                                                  & 1                                              & 0                                                  & 0                                                  & 0                                              & n/a                                                & 2                                                  \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}LOC}       & \shortstack{ \\ 101 \\ 81* }                        & 36                                                 & 133                                                & 102                                            & 48                                                 & 116                                                & 120                                            & n/a                                                & 289                                                \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}Stmt.}     & \shortstack{ \\ 47 \\ 36* }                         & 7                                                  & 61                                                 & 57                                             & 10                                                 & 56                                                 & 79                                             & n/a                                                & 112                                                \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}Func.}     & 0                                              & 4                                                  & 5                                                  & 3                                              & 10                                                 & 12                                                 & 7                                              & n/a                                                & 24                                                 \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}Files}     & 0                                              & 0                                                  & 0                                                  & 1                                              & 2                                                  & 3                                                  & 1                                              & n/a                                                & 3                                                  \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}Class}     & 0                                              & 0                                                  & 0                                                  & 1                                              & 1                                                  & 2                                                  & 1                                              & n/a                                                & 3                                                  \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}Cyclo.}    & \shortstack{ \\ 22 \\ 17* }                         & 7                                                  & 22                                                 & 10                                             & 10                                                 & 20                                                 & 35                                             & n/a                                                & 47                                                 \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}Cogn.}     & \shortstack{ \\ 39 \\ 34* }                         & 2                                                  & 21                                                 & 9                                              & 0                                                  & 13                                                 & 31                                             & n/a                                                & 31                                                 \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}R.Time}    & 0                                              & 6                                                  & 6                                                  & 0                                              & 6                                                  & 6                                                  & 0                                              & n/a                                                & 3                                                  \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}M.Time}    & \shortstack{ \\ 13.5 \\ 8.5* }                      & w.i.p                                              & 8.5                                                & 3                                              & w.i.p                                              & 17                                                 & 4.5                                            & n/a                                                & 4.5                                                \\ \hline
\multicolumn{1}{|l|}{\cellcolor[HTML]{EFEFEF}T.Time}    & \shortstack{ \\ 13.5 \\ 8.5* }                      & w.i.p                                              & 14.5                                               & 3                                              & w.i.p                                              & 23                                                 & 4.5                                            & n/a                                                & 7.5                                                \\ \hline
\end{tabular}
\caption{Comparing the Quantitative Effects of Software Maintenance on Three Open-Source Projects}
\label{tab:main-metrics}
\end{table}
\end{footnotesize}

我今天遇到的错误看起来像这样,这让我认为multicolumn很可能在某一时刻存在:

tlmgr install: package multicolumn not present in repository.
tlmgr: action install returned an error; continuing.
tlmgr: package repository https://ctan.math.illinois.edu/systems/texlive/tlnet (not verified: valid signature with expired key)
tlmgr: An error has occurred. See above messages. Exiting.

答案1

好的。可以肯定的是,它multicolumn不存在,并且我一直在查看某种无效的 Dockerfile。我tlmgr info | grep multicol在之前有用的容器/镜像中运行它,但没有发现任何multicolumn存在的迹象。

感谢:@bernard、@ulrike-fischer 和 @mico — 感谢他们的参与并指出我需要调查的内容。

相关内容