Replies: 2 comments 1 reply
-
CSS makes a distinction between screen layouts and print layouts (and our CSS is not optimized for printing). If you need the layout to be preserved, I think your best bet is to use PDF formats. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks!
From: Carlos Scheidegger ***@***.***>
Date: Wednesday, November 29, 2023 at 9:14 AM
To: quarto-dev/quarto-cli ***@***.***>
Cc: Richard Ressler ***@***.***>, Author ***@***.***>
Subject: Re: [quarto-dev/quarto-cli] Printing HTML documents using columns vs n-col layout (Discussion #7743)
External Email: Use caution with links and attachments.
CSS makes a distinction between screen layouts and print layouts (and our CSS is not optimized for printing). If you need the layout to be preserved, I think your best bet is to use PDF formats.
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/quarto-dev/quarto-cli/discussions/7743*discussioncomment-7705302__;Iw!!IaT_gp1N!0KGqZ-RGuPHf-ctY0sgGuI_TxjNziCnreHvqoWvKF0gQ-cAf3YibWgfSS0wPnHHkRf0ySAC7c_6150kkA_JpELuPw6Y$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AOCMN3KAJ6MTBR43XE5C3K3YG47LNAVCNFSM6AAAAAA77RDN6CVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TOMBVGMYDE__;!!IaT_gp1N!0KGqZ-RGuPHf-ctY0sgGuI_TxjNziCnreHvqoWvKF0gQ-cAf3YibWgfSS0wPnHHkRf0ySAC7c_6150kkA_Jpic-bZiU$>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am putting multiple plots or images in a row, rendering to HTML, and then printing the document.
With #| layout-ncol: 2, the plots show up fine in Chrome. However when printing, they lose the 2 column layout and appear one after the other.
With the column divs (below), they also show up fine when viewed in Chrome and when printed they retain their 2 column layout shown in the browser.
Is this the expected behavior for #| layout-ncol: 2?
Thanks,
Richard
::: columns
::: {.column width="50%"}
:::
::: {.column width="50%"}
:::
:::
Beta Was this translation helpful? Give feedback.
All reactions