Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inserting a good-looking table #249

Open
gungorMetehan opened this issue Mar 7, 2024 · 1 comment
Open

Inserting a good-looking table #249

gungorMetehan opened this issue Mar 7, 2024 · 1 comment

Comments

@gungorMetehan
Copy link

gungorMetehan commented Mar 7, 2024

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).

@mitchelloharawild
Copy link
Owner

You'll need to load the longtable LaTeX package: rstudio/rticles#93 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants