Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/src/resources/schema/document-figures.yml
12925 views
1
- name: fig-width
2
schema: number
3
description:
4
short: "Default width for figures generated by Matplotlib or R graphics"
5
long: |
6
Default width for figures generated by Matplotlib or R graphics.
7
8
Note that with the Jupyter engine, this option has no effect when
9
provided at the cell level; it can only be provided with
10
document or project metadata.
11
12
- name: fig-height
13
schema: number
14
description:
15
short: "Default height for figures generated by Matplotlib or R graphics"
16
long: |
17
Default height for figures generated by Matplotlib or R graphics.
18
19
Note that with the Jupyter engine, this option has no effect when
20
provided at the cell level; it can only be provided with
21
document or project metadata.
22
23
- name: fig-format
24
schema:
25
enum: [retina, png, jpeg, svg, pdf]
26
description: "Default format for figures generated by Matplotlib or R graphics (`retina`, `png`, `jpeg`, `svg`, or `pdf`)"
27
28
- name: fig-dpi
29
schema: number
30
description:
31
short: "Default DPI for figures generated by Matplotlib or R graphics"
32
long: |
33
Default DPI for figures generated by Matplotlib or R graphics.
34
35
Note that with the Jupyter engine, this option has no effect when
36
provided at the cell level; it can only be provided with
37
document or project metadata.
38
39
- name: fig-asp
40
tags:
41
engine: knitr
42
schema: number
43
description:
44
short: |
45
The aspect ratio of the plot, i.e., the ratio of height/width.
46
long: |
47
The aspect ratio of the plot, i.e., the ratio of height/width. When `fig-asp` is specified,
48
the height of a plot (the option `fig-height`) is calculated from `fig-width * fig-asp`.
49
50
The `fig-asp` option is only available within the knitr engine.
51
52
- name: fig-responsive
53
tags:
54
formats: [$html-all]
55
schema: boolean
56
default: true
57
description: Whether to make images in this document responsive.
58
59