-
How can i make a group of figures or|and tables in two column layout when render pdf? And how to avoid error "Package longtable Error: longtable not in 1-column mode." when I try to render twocolumn layout pdf with tables created with R Kable library? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Would you have a draft of something you tried? You can include a small fake Quarto document following https://quarto.org/bug-reports.html. |
Beta Was this translation helpful? Give feedback.
-
Ok, so what you want is a figure that spread across columns. Then, this is a LaTeX question, where the answer is to use the |
Beta Was this translation helpful? Give feedback.
-
Hi @mcanouil , I have the same question but in my case the image for the figure is not coming from the evaluation of a code chunk, i.e. I can't use I think this might be quite common as many journal templates use two column layouts... |
Beta Was this translation helpful? Give feedback.
Ok, so what you want is a figure that spread across columns.
Then, this is a LaTeX question, where the answer is to use the
figure*
environment and notfigure
(default).knitr
has thefig.env
chunk option (see https://yihui.org/knitr/options/#chunk-options), which you can set#| fig.env: figure*
.