R is for
Authoring!!

OOH Session #105…
Markdown

Open Office Hours
(November 25, 2025)

  • Recap session #104
  • Today’s topic(s):
  • Shared problem-solving

Recap of Session
#104:

Layouts

html typst pdf
{.columns}

{.grid}

{layout=}

*
{lay-ncol}

*


Important

Currently running Quarto version 1.8.26

::: {.columns}
::: {.column width="50%"}
## First column 
I would like to have some text here
:::

::: {.column width="50%"}
## Second column 
...and even more content here
:::
:::
1
opening fence creating column container
2
column specifications using width attributes
3
closing fence for .columns container

::: {.grid}
::: {.g-col-6}
## First column 
I would like to have some text here
:::
  
::: {.g-col-6}
## Second column 
...and even more content here
:::
:::
1
open the fence – same scripting structure as {.columns}
2
close the fence – again same scripting structure as {.columns}

uh… about that…

Kinda works (html only) but seemingly not intended to be a “go to” solution for isolated document bits – more useful for page dimensions (sidebar, margin, etc) & specified within YAML

::: {layout="[50,50]"}

## First column 
I would like to have some text here

## Second column 
...and even more content here

:::
1
currently “works” up to at least 5 columns (some online resources claim 2 or 3 column limitation)

Yeahbut *

  1. no gutter in rendering
  2. ignores echoed content across all 3 document types
  3. can do both rows and columnsvertical spacing is meaningful!!!
::: {layout-ncol=2}

## First column 
I would like to have some text here

## Second column 
...and even more content here

:::
1
open zee fence she too hot!!
2
close zee fence she too cold!!

Also *

  1. operates same as {layout=} (vertical spaces determine column breaks)
  2. columns will be equal width
  3. see also {layout-nrow}

Today…

Markdown

Session Info (November 25, 2025) Rendering:

R version 4.5.0 (2025-04-11 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 10 x64 (build 19045)

Matrix products: default
  LAPACK version 3.12.1

locale:
[1] LC_COLLATE=English_United States.utf8 
[2] LC_CTYPE=English_United States.utf8   
[3] LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.utf8    

time zone: America/Chicago
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] kableExtra_1.4.0

loaded via a namespace (and not attached):
 [1] svglite_2.2.1      cli_3.6.5          knitr_1.50         rlang_1.1.6       
 [5] xfun_0.52          stringi_1.8.7      textshaping_1.0.0  jsonlite_2.0.0    
 [9] glue_1.8.0         htmltools_0.5.8.1  scales_1.4.0       rmarkdown_2.29    
[13] evaluate_1.0.5     fastmap_1.2.0      yaml_2.3.10        lifecycle_1.0.4   
[17] stringr_1.5.1      compiler_4.5.0     RColorBrewer_1.1-3 rstudioapi_0.17.1 
[21] systemfonts_1.2.3  farver_2.1.2       digest_0.6.37      viridisLite_0.4.2 
[25] R6_2.6.1           magrittr_2.0.3     tools_4.5.0        xml2_1.4.0