I have been making beamer_presentation
slides from RMarkdown for my classes. They work really well for my purposes, except for the fact that I can't figure out how to generate a table that works. An RMarkdown document with the following content:
---
title: "Table test"
output: beamer_presentation
---
## Table
First Header | Second Header
------------- | -------------
Content Cell | Content Cell
Content Cell | Content Cell
Returns the following error,
! Undefined control sequence.
<argument> \@@magyar@captionfix
Error: LaTeX failed to compile table_test.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See table_test.log for more info.
Execution halted
It does work to make LaTeX tables,
\begin{table}[htbp]
\begin{tabular}{l|l}
First header & second header \\
\hline
Content cell & content cell \\
Content cell & content cell
\end{tabular}
\end{table}
but I don't understand why the Markdown approach doesn't work. Thoughts?