You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to produce a table in a two-column article. However I tweaked it (such as result="asis"), knitr still reports the following error when converting to pdf.
! Package longtable Error: longtable not in 1-column mode.
The text was updated successfully, but these errors were encountered:
Ok, I found this thread on the pandoc project. It is an issue with pandoc and there is no good workaround. I close this issue because it is unrelated to knitr
Have you look at the thread in pandoc linked from above #1348 (comment) ?
longtable and two column mode don't play well together in Latex. Pandoc use longtable for table environment. I don't think there is anything to do in knitr. Look at answers in Pandoc thread discussions. There is not generic answer but maybe some specific workaround that may work for you.
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.
I want to produce a table in a two-column article. However I tweaked it (such as result="asis"), knitr still reports the following error when converting to pdf.
The text was updated successfully, but these errors were encountered: