Skip to content

Automatically break wide tables #109

@kusmi

Description

@kusmi

If I have a wide table, it just overflows the paper on latex output. E.g.:

Example.pdf

library(pixiedust)
e <- data.frame(dust = 1:5,
                random = rnorm(5),
                random2 = rnorm(5),
                random3 = rnorm(5),
                random4 = rnorm(5),
                random5 = rnorm(5),
                random6 = rnorm(5),
                random7 = rnorm(5),
                random8 = rnorm(5),
                random9 = rnorm(5),
                random10 = rnorm(5),
                random11 = rnorm(5),
                random12 = rnorm(5)
                )
(x <- dust(e) %>%
  sprinkle_table(round = 2, longtable = 6))

so it would be nice, if pixiedust would support that as well. The only other table package which supports breaking wide tables seems to be pander

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions