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

[FR] Two-column layout for .docx files #1433

Open
tvqt opened this issue Jun 21, 2023 · 1 comment
Open

[FR] Two-column layout for .docx files #1433

tvqt opened this issue Jun 21, 2023 · 1 comment
Labels
feature a feature request or enhancement

Comments

@tvqt
Copy link

tvqt commented Jun 21, 2023

This was discussed in a StackOverflow question:

I am knitting from RMarkdown to .docx using bookdown::word_document2 as the output format.
I want to have a section in my document that features two columns. Is this possible?

I know this is possible with the officedown::rdocx_document output format, but I cannot use that due to other limitations (it will not allow me to have a different first page header).

EDIT: please note my question is specifically about Word (bookdown::word_document2) output. The multi-column layout instructions in the Bookdown documentation are for HTML and PDF output types, so do not apply to my use case.

I thought I'd post it here because it sounds like a feature request. I guess the user could potentially use pandoc to convert the PDF, though I wonder how accurate the resulting .docx file would be...

Apologies if this is already implemented!

@tvqt tvqt changed the title Two-column layout for .docx files [FR] [FR] Two-column layout for .docx files Jun 21, 2023
@cderv
Copy link
Collaborator

cderv commented Jun 21, 2023

Thanks for the feature request. Probably more of a rmarkdown feature request than bookdown.

This is indeed not possible. The column syntax is from Pandoc and does not work for docx AFAIK. officedown is a tool that leverage officer I believe to bring better docx support.

@cderv cderv added the feature a feature request or enhancement label Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants