I create the following table in Quarto with format = typst in the yaml.
Statistic |
Low |
High |
RMSEA |
0.059 |
0.308 |
CFI |
0.781 |
0.993 |
TLI |
0.561 |
0.985 |
SRMR |
0.014 |
0.116 |
Omega |
0.827 |
0.908 |
Alpha |
0.826 |
0.907 |
: Range of Fit Statistics and Reliabilities across 126 Short Forms of the UWES-9
Here is the yaml
title: "Untitled"
format: typst
editor: visual
I want the table caption to be at the top of the table and not the bottom. Guidance will be appreciated.
To move the caption above the table in Quarto (Typst), add it as a heading or text before the table:
To move the caption above the table in Quarto (Typst), add it as a heading or text before the table:
title: "Untitled"
format: typst
editor: visual
Range of Fit Statistics and Reliabilities across 126 Short Forms of the UWES-9
Statistic Low High
RMSEA 0.059 0.308
CFI 0.781 0.993
TLI 0.561 0.985
SRMR 0.014 0.116
Omega 0.827 0.908
Alpha 0.826 0.907
Thanks, but the result is not really what I want, because the caption is now not part of the table (it is separate text above the table. I attach the code again, which I did incorrectly in my previous message. The table was created using the Table menu in Rstudio, which is available when the editor is set to Visual. It gives the option to type a caption, but not where to place the caption. By default it goes at the bottom of the table, whereas I need to have it at the top.
| Statistic | Low | High |
|-----------|-------|-------|
| RMSEA | 0.059 | 0.308 |
| CFI | 0.781 | 0.993 |
| TLI | 0.561 | 0.985 |
| SRMR | 0.014 | 0.116 |
| Omega | 0.827 | 0.908 |
| Alpha | 0.826 | 0.907 |
: Range of Fit Statistics and Reliabilities across 126 Short Forms of the UWES-9
No idea what is happening but this seems to work for me. I did remove the
editor: visual
from the YAML
title: "Untitled"
format: typst
| Statistic | Low | High |
|-----------|-------|-------|
| RMSEA | 0.059 | 0.308 |
| CFI | 0.781 | 0.993 |
| TLI | 0.561 | 0.985 |
| SRMR | 0.014 | 0.116 |
| Omega | 0.827 | 0.908 |
| Alpha | 0.826 | 0.907 |
: Range of Fit Statistics and Reliabilities across 126 Short Forms of the UWES-9