Replies: 4 comments 8 replies
-
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? The goal is to make it as easy as possible for us to recreate your problem so that we can fix it: please help us help you! Thanks. Did you follow the below documentations to create your template?
You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
Additionally, and if not already given, please share the output of |
Beta Was this translation helpful? Give feedback.
-
I believe there is another issue here, as caption will not show in output when Related to |
Beta Was this translation helpful? Give feedback.
-
captions come out ok for figures The font isn't inherited correctly _extension repo: https://github.com/yonisidi/cmei_quarto quarto use template yonisidi/cmei_quarto ---
title: "Slides Title"
author: "Author Name"
date: today
format: cmei-pptx
output-file: "slides.pptx"
---
```{r}
library(knitr)
```
# Background Section
## Goal of the Analysis
# Results Section
## Create Figure
::: columns
::: {.column width="50%"}
- @fig-test_create reference
- Bullet 2
:::
::: {.column width="50%"}
```{r fig-test_create}
#| fig-cap: 'Generating figure in chunk'
plot(1:10, 1:10)
```
:::
:::
## Read Figure
::: columns
::: {.column width="50%"}
- @fig-test_read reference
- Bullet 2
:::
::: {.column width="50%"}
```{r fig-test_read}
#| fig-cap: 'Reading from local storage'
knitr::include_graphics('figures/xkcd-image.png')
```
:::
:::
# Conclusions Section
## Conclusions
## Bibliography
``` |
Beta Was this translation helpful? Give feedback.
-
Same issue with tables The font settings of the table contents and caption of the table are not inherited from the master slide, you can see the difference between the font in the left column and the font in the right column ---
title: "Slides Title"
author: "Author Name"
date: today
format: cmei-pptx
output-file: "slides.pptx"
---
```{r}
library(knitr)
```
# Background Section
## Goal of the Analysis
# Results Section
## Create Figure
::: columns
::: {.column width="50%"}
- @fig-test_create reference
- Bullet 2
:::
::: {.column width="50%"}
```{r fig-test_create}
#| fig-cap: 'Generating figure in chunk'
plot(1:10, 1:10)
```
:::
:::
## Read Figure
::: columns
::: {.column width="50%"}
- @fig-test_read reference
- Bullet 2
:::
::: {.column width="50%"}
```{r fig-test_read}
#| fig-cap: 'Reading from local storage'
knitr::include_graphics('figures/xkcd-image.png')
```
:::
:::
## Create Table
::: columns
::: {.column width="50%"}
| Default | Left | Right | Center |
|---------|:-----|------:|:------:|
| 12 | 12 | 12 | 12 |
| 123 | 123 | 123 | 123 |
| 1 | 1 | 1 | 1 |
: Demonstration of pipe table syntax
:::
::: {.column width="50%"}
some content that goes with the table
:::
:::
# Conclusions Section
## Conclusions
## Bibliography
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I have a figure in a slide that has a caption.
When it renders the caption it does not use the font defined in the master slide template (screen grab of Two Column Layout below). Do I need to add something to layout for the caption to have a place to go? currently it looks like the caption object is creating as a side-effect.
Beta Was this translation helpful? Give feedback.
All reactions