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
{.border width="600" fig-alt="Rendered page with linked cross references to figures and equations."}
{.border width="600" fig-alt="Rendered page with linked cross references to figures and equations."}
397
+
398
+
## Python
399
+
400
+
{.border width="600" fig-alt="Rendered page with linked cross references to figures and equations."}
401
+
:::
402
+
403
+
:::
404
+
317
405
318
406
See the article on [Cross References](/docs/authoring/cross-references.qmd) to learn more, including how to customize caption and reference text (e.g. use "Fig." rather than "Figure").
319
407
@@ -346,6 +434,7 @@ In this example, we use the `reference-location` option to indicate that we woul
346
434
347
435
We also use the `column: screen-inset` cell option to indicate we would like our figure to occupy the full width of the screen, with a small inset.
Here is what this document looks like when rendered.
386
475
387
476
{.border fig-alt="Document with Quarto Layout title at the top followed by Placing Colorbars header with text below it. Next to the text is a footnote in the page margin. Below the text is a toggleable code widget to hide/reveal the code followed by four plots displayed in two rows and two columns."}
A 2d density estimate of the waiting and eruptions variables from the dataset `faithful`^[See the [documentation](https://rdrr.io/r/datasets/faithful.html) for more details on `faithful` data].
495
+
496
+
```{{r}}
497
+
#| code-fold: true
498
+
#| column: screen-inset
499
+
#| fig-width: 10
500
+
#| fig-height: 4
501
+
library(ggplot2)
502
+
503
+
ggplot(faithfuld, aes(x = waiting, y = eruptions, fill = density)) +
504
+
geom_tile() +
505
+
scale_fill_viridis_c() +
506
+
theme_bw()
507
+
```
508
+
````
509
+
510
+
## Python
511
+
512
+
````markdown
513
+
---
514
+
title: Quarto Layout
515
+
format: html
516
+
reference-location: margin
517
+
---
518
+
519
+
## Heatmaps
520
+
521
+
A 2d density estimate of the waiting and eruptions variables from the dataset `faithful`^[See the [documentation](https://rdrr.io/r/datasets/faithful.html) for more details on `faithful` data].
Here is what this document looks like when rendered.
541
+
542
+
{.border fig-alt="Document with Quarto Layout title at the top followed by Heatmaps header with text below it. Next to the text is a footnote in the page margin. Below the text is a toggleable code widget to hide/reveal the code followed a wide plot that extends into the right margin."}
543
+
544
+
:::
388
545
389
546
You can locate citations, footnotes, and [asides](/docs/authoring/article-layout.html#asides) in the margin. You can also define custom column spans for figures, tables, or other content. See the documentation on [Article Layout](/docs/authoring/article-layout.qmd) for additional details.
0 commit comments