Inserting a good-looking table
gungorMetehan opened this issue · comments
Metehan GÜNGÖR commented
library(knitr)
courses <- data.frame("Year" = c(2023, 2023, 2022),
"Course" = c("Data Science", "AI", "Data Mining"),
"Organization" = c("ABC", "DEF", "GHI"))
kable(courses, align = "cll")
These line commands are suitable to knit a good-looking table to PDF. But, they didn't work in awesomecv
template. Do you know why?
Error Message:
! LaTeX Error: Environment longtable undefined.
Error: LaTeX failed to compile CV.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See CV.log for more info.
Execution halted
Note. kableExtra
package does not work either (knitting to PDF).
Mitchell O'Hara-Wild commented
You'll need to load the longtable LaTeX package: rstudio/rticles#93 (comment)