Skip to content

Commit

Permalink
Changed the renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
EricMarcon committed Jan 6, 2025
1 parent b7d75f4 commit f841d8d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vignettes/articles/tables.Rmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: "Tables with memoiR"
pkgdown:
as_is: true
output:
bookdown::html_document2:
toc: yes
Expand Down Expand Up @@ -152,7 +154,7 @@ Read its documentation[^6].

## Limitations

Word output is correct in contrast with **kableExtra** but LaTeX support is yet more limited.
Word output is correct, unlike **kableExtra**, but LaTeX support is more limited.
In Stylish Articles, tables are always printed in full width.
There seems to be no way to make them fit a single column.

Expand All @@ -162,7 +164,7 @@ There seems to be no way to make them fit a single column.
**gt** is the a promising table package, developped by the RStudio team with an approach similar to that of **ggplot2**, i.e. the definition of a grammar of tables.

It has been focusing on HTML output and somehow neglected LaTeX in its first versions.
LaTeX support was improved in version 0.11 but it can't be used in memoiR yet because the numbered captions are not correct, even in HTML, as shown below.
LaTeX support was improved in version 0.11 but it can't be used in memoiR yet because the numbered captions are not correct when the document is rendered with `bookdown::html_document2()`, as shown below.

```{r}
#| label: gt
Expand Down

0 comments on commit f841d8d

Please sign in to comment.