-
-
Notifications
You must be signed in to change notification settings - Fork 872
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
[Bug] tabularx
and xltabular
tables do not work without a caption
#2188
Comments
tabularx
and xltabular
table do not work without a captiontabularx
and xltabular
tables do not work without a caption
It's due to 3ff11db. I don't quite remember the rationale now (perhaps because Or you could use |
Thanks, the issue is fixed now. |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
A few months ago I submitted a pull request that was merged which adds support for
tabularx
andxltabular
tables for LaTeX inkable
. If you use one of these and try to make a table without a caption, you will get an error.Here is the error I got:
I understand what the problem is, it is using
\begin{tabularx}{l|l}
instead of\begin{tabularx}{\linewidth}{l|l}
. It is strange that not having a caption causes this.By filing an issue to this repo, I promise that
xfun::session_info('knitr')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('yihui/knitr')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: