Knitr doesn't align title and table properly (kable)

onsider the following reprex in rmarkdown

title: "Test"
author: "TestUser"
date: "19/05/2020"
output: pdf_document

#### **test table**
```{r, eval=TRUE, warning=FALSE, message=FALSE}
head(mtcars) %>%
  kable(format = "latex")

This gives the following result

How can I makes sure the title is put above the table? and not next to it?

Thank you

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.