Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing number, treated as zero. \end{tabu} #49

Open
shaodongtang opened this issue Oct 13, 2018 · 2 comments
Open

Missing number, treated as zero. \end{tabu} #49

shaodongtang opened this issue Oct 13, 2018 · 2 comments

Comments

@shaodongtang
Copy link

错误代码
%\usepackage{colortbl}
%\usepackage{tabu}
\begin{tabu}{|X|X|}
\begin{tabu}{|X|X|}
a & c
\end{tabu}
& b \
\end{tabu}
解决方式
%\usepackage{colortbl}
%\usepackage{tabu}
\newsavebox\grumble\savebox\grumble
{\begin{tabu}{|X|X|}
a & c
\end{tabu}}

\begin{tabu}{|X|X|}
\usebox{\grumble} & b \
\end{tabu}

@sd44
Copy link
Contributor

sd44 commented Nov 22, 2018

这个问题可能是tabu文档中\tabuphantomline一节中说明的multicolumns bug,但书中没有说明如何具体应用此种情况下的savebox usebox,想必会难倒一群人。感谢TJRSD给出了实际办法。

TJRSD也用git,为什么不直接pull request你想加入的问题呢?
大家可能都不敢夺人之美,哈哈哈~

@jack9603301
Copy link
Collaborator

是啊 为什么不pull request您的问题呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants