1 min read

[New Features on bookdownplus] crc book and chess diagrams!

Links: steemit.com, cnsteem.com, busy.org, steemdb.com, steemd.com

Repository

https://github.com/pzhaonet/bookdownplus

New Features

What feature(s) did you add?

Recently two new features have been added to the bookdownplus package.

  1. chess diagram

My kid is now learning chess. He often asks me to help him draw chess diagrams. It was boring to me until I added the chess conponent into bookdownplus. Now the bookdownlus users can draw chess diagrams in the markdown files!

A demo page with a chess diagram can be produced with the command:

bookdownplus(template = 'skak')

A screenshot of the demo page is shown below.

  1. crc book component.

Chapman & Hall/CRC is an imprint for science and technology books by Taylor and Francis, part of the Informa group. Now the users can easily use the crc book component within the framework of bookdownplus to write a book with the markdown syntax.

A demo book can be produced with the command:

bookdownplus(template = 'yihui_crc')

A screenshot of the demo book is shown below.

How did you implement it/them?

I added the following files into skak.zip:

  • /tex/preamble_skak.tex

  • body_skak.Rmd

  • index_skak.Rmd

I added the following files into yihui_crc.zip:

  • style/krantz.cls

  • tex/after_body_yihui_crc.tex

  • tex/before_body_yihui_crc.tex

  • tex/preamble_yihui_crc.tex

  • body_yihui_crc.Rmd

  • index_yihui_crc.Rmd

Link to relevant lines in the code on GitHub:

https://github.com/pzhaonet/bookdownplus/blob/master/inst/zip/skak.zip

https://github.com/pzhaonet/bookdownplus/blob/master/inst/zip/yihui_crc.zip

GitHub Account

https://github.com/pzhaonet