Skip to content

Unexpected behaviors in marginal figures with subfigures #11854

Open
@homerhanumat

Description

@homerhanumat

Bug description

When attempting to make a figure with sub-figures appear in the margin, the caption for the entire figure appears in the main column, and if one formats with layout-ncol the figure shows up in the main column, lying over subsequent content.

Steps to reproduce

Reproduced with source code here.

Expected behavior

Figures and their captions should appear in the margin.

Actual behavior

The caption for the entire figure appears in the main column, and if one formats with layout-ncol the figure shows up in the main column, lying over subsequent content.

Your environment

  • OS: Macos Seqoia 15.2
  • IDE: RStudio 2024.12.0+467

Quarto check output

Quarto 1.7.9
[✓] Checking environment information...
      Quarto cache location: /Users/homer/Library/Caches/quarto
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.4.0: OK
      Dart Sass version 1.70.0: OK
      Deno version 1.46.3: OK
      Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.7.9
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: Installation From Path
      Path: /Library/TeX/texbin
      Version: 2024

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.9.6
      Path: /Library/Developer/CommandLineTools/usr/bin/python3
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with python3 -m pip install jupyter

[✓] Checking R installation...........OK
      Version: 4.4.2
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library
      knitr: 1.49
      rmarkdown: 2.29

[✓] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions