Setting image heights in layout-ncol for PDF output
              
              #11714
            
            -
| DescriptionThe image heights are not respected when used within a  Example: ---
title: Image Height Issue in Column Layout
author: Oliver Hensby
format:
    pdf:
        pdf-engine: xelatex
---
## Some Images
{height=30mm}
{height=10mm}
::: {layout-ncol=2}
{height=30mm}
{height=10mm}
:::Quarto version: 1.6.37 | 
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
| Have you read the documentation on figure sizing? https://quarto.org/docs/authoring/figures.html#figure-sizing I don't believe your example works in any scenario. | 
Beta Was this translation helpful? Give feedback.
-
| For anyone that stumbles onto this discussion, I have a work around for this for now. I add  See an example below of the work around: ---
title: Image Height Issue in Column Layout
author: Oliver Hensby
format:
    pdf:
        pdf-engine: xelatex
        include-in-header:
            - text: |
                \usepackage{caption}
                \usepackage{subcaption}
                \captionsetup[figure]{labelformat=empty}
                \captionsetup[subfigure]{labelformat=empty}
---
## Some Images
::: {layout-ncol=2}
{height=30mm}
{height=10mm}
:::Output: | 
Beta Was this translation helpful? Give feedback.


This is a bug that @hadley pointed out to me just earlier today. We'll fix.