Hi,
My problem is that tables in quarto are left aligned if I render them to pdf, which is strange in scientific field and irritating. Is there a suggested way to solve it? Code and screenshoot enclosed.
---
title: xx
toc: false
format:
pdf:
documentclass: article
keep-md: false
keep-tex: true
include-in-header:
text: |
\usepackage{floatrow}
\setkeys{Gin}{width=0.9\linewidth}
docx:
keep-md: false
fig-format: svg
fig-width: 6
number-sections: true
params:
always_allow_html: yes
bibliography: references.bib
date: last-modified
editor_options:
chunk_output_type: console
execute:
fig-dpi: 400
cache: true
echo: false
warning: false
error: true
tbl-cap-location: bottom
fig-cap-location: bottom
---
Amet aute ad reprehenderit nostrud adipisicing. Cillum do ullamco commodo consectetur nisi cupidatat consequat occaecat elit non amet voluptate eiusmod irure. Consectetur officia duis ut occaecat quis voluptate duis eu ipsum in incididunt irure. Ea cupidatat excepteur duis nulla cillum reprehenderit.
```{r}
#| tbl-cap: Sunt dolor tempor irure ullamco tempor tempor laborum.
iris |>
head() |>
dplyr::select(1:3) |>
gt::gt()
```