If both the `pdfcrop` binary and Ghostscript are available on the system, Quarto crops figures in PDF output regardless of the relevant chunk option. Tested on Ubuntu 22.04 with Quarto 1.3.361.

I've tried to disable cropping without success by

- setting the chunk option (in YAML format) `crop: false`
- setting the chunk option (in YAML format) `fig-crop: false`
- setting `knitr.opts_chunk.crop: false` in `_quarto.yml`.
- setting `knitr.opts_chunk.fig_crop: false` in `_quarto.yml`. 
- setting `format.pdf.crop: false` in `_quarto.yml`.
- setting `format.pdf.fig_crop: false` in `_quarto.yml`.
- running `knitr::opts_chunk$set(crop = FALSE)` in a chunk before the figure chunks.
- running `knitr::opts_chunk$set(fig_crop = FALSE)` in a chunk before the figure chunks.

The only way that actually disabled PDF figure cropping was running `knitr::knit_hooks$set(crop = function(...){})` in a chunk before the figure chunks.

Note that I'm a bit confused about the correct name of the cropping chunk option on the knitr side of things: While the *R Markdown Cookbook* [mentions a `crop` chunk option](https://bookdown.org/yihui/rmarkdown-cookbook/crop-plot.html) (same what the [Quarto sources seem to refer to](https://github.com/quarto-dev/quarto-cli/blob/c8fb73c433215926d1b8b18f39e29bc1a215e33d/src/resources/rmd/execute.R#L277-L281)), the *R Markdown: The Definitive Guide* [mentions a `fig_crop` chunk option](https://bookdown.org/yihui/rmarkdown/pdf-document.html#figure-options-1). Quarto seems to ignore both of them.

_Originally posted by @salim-b in https://github.com/quarto-dev/quarto-cli/discussions/2917#discussioncomment-6224496_
cderv
2023-06-20T03:44:24Z
salim-b
triaged-to
open
Figures are always cropped in PDF output
https://github.com/quarto-dev/quarto-cli/issues/5981