Movatterモバイル変換


[0]ホーム

URL:


pagedown

R-CMD-checkDownloads from the RStudio CRAN mirror

Paginate the HTML Output of R Markdown with CSS for Print. You onlyneed a modern web browser (e.g., Google Chrome or Microsoft Edge) togenerate PDF. No need to install LaTeX to get beautiful PDFs.

This R package stands on the shoulders of two giants to supporttypesetting with CSS for R Markdown documents:Paged.js andReLaXed (we onlyborrowed some CSS from the ReLaXed repo and didn’t really use the Nodepackage).

You may install this package from Github:

# install.packages("pak")pak::pak('rstudio/pagedown')

This package requires a recent version of Pandoc (>= 2.2.3). Ifyou use RStudio, you are recommended to install thelatest version(>= 1.2.1335), which has bundled Pandoc 2.x, otherwise you need toinstall Pandoc separately.

Below are some existing R Markdown output formats and examples.

Paged HTML documents(pagedown::html_paged)

A paged HTML document

Thesis(pagedown::thesis_paged)

A paged HTML thesis

Journalof Statistical Software article (pagedown::jss_paged)

A JSS article

Resume(pagedown::html_resume)

An HTML resume

You may want to check outthedatadrivencv package, which allows you to build aCV using data from a spreadsheet andpagedown::html_resume.

Posters

pagedown::poster_relaxed

A poster of the ReLaXed style

pagedown::poster_jacobs

A poster of the Jacobs University style

Want more poster styles? You may take a look atBrent Thorne’sposterdown package.

Business cards(pagedown::business_card)

A business card

Letters(pagedown::html_letter)

A letter in HTML

Other examples

Authors and contributors

The main authors of this package are Yihui Xie (RStudio) and RomainLesur. Romain has received a grant from the Shuttleworth Foundation forhis work on both Paged.js andpagedown.

Shuttleworth Funded

You can findthe fulllist of contributors ofpagedown here. We alwayswelcome new contributions. In particular, if you are familiar with CSS,we’d love to include your contributions of more creative and beautifulCSS stylesheets in this package. It is also very helpful if you don’tknow CSS but just tell us the creative and beautiful web pages you haveseen, since other CSS experts may be able to port them intopagedown.


[8]ページ先頭

©2009-2025 Movatter.jp