bookdown Questions

1

Solved

I am using Bookdown and Rmarkdown to compose a technical book for Stata users. I would like to include Stata highlighting syntax in the chunks of code, but I am not interested in actually executing...
Crazyweed asked 8/5, 2019 at 21:59

1

Solved

I am changing the font of a figure caption in my R Markdown and am using bookdown and pandoc to do so. My question is closely related to: How to change the figure caption format in bookdown?. I was...
Whichever asked 23/7, 2021 at 22:32

2

Solved

I am working on converting a tufte-LaTeX book to tufte-Bookdown using the tufte and msmbstyle packages. I have a whole bunch of sidenotes and would like the numbering to restart with each chapter s...
Spoil asked 12/5, 2021 at 17:55

3

Solved

Consider this simple example library(dplyr) library(ggplot2) library(tidyr) mydata <- data_frame(group = c('a', 'a', 'a', 'b', 'b', 'b'), x = c(1,2,3,5,6,7), y = c(3,5,6,4,3,2)) mydata2 &lt...
Cerebrate asked 24/9, 2018 at 19:45

1

Solved

How can I use the bs4 theme in bookdown, such as the one used for the R4DS book In the _output.yaml I see the following code, but it doesn't work with my project. bookdown::bs4_book: theme: prima...
Geriatrician asked 10/11, 2020 at 23:42

2

Solved

How use tabbed heading in bookdown like as RMarkdown? in RMarkdown: # heading1 {.tabset} ## tab1 content1 ## tab2 content2 Same code in bookdown:
Blockhead asked 30/4, 2017 at 13:21

3

Solved

The bookdown offers great cross-referencing options for equations, figures, tables and sections: https://bookdown.org/yihui/bookdown/cross-references.html However, they seems to not work when I se...
Snath asked 19/2, 2017 at 18:28

3

Solved

After trying to build a PDF that worked ~2 weeks ago, no fuss, on a new machine with a fresh install of R, R studio, bookdown, etc, I have this error: Error: Input files not all in same directory, ...
Selffulfillment asked 25/6, 2020 at 15:22

0

Am currently working on a rewrite of a LaTeX project into R Markdown, which has had some people interested in translating it to a multitude of languages. The project is written in bookdown, but can...
Cart asked 15/9, 2020 at 2:7

1

Solved

I'm trying to add a figure with sub captions in a R bookdown project as follows --- output: pdf_document: extra_dependencies: "subfig" --- ```{r echo=F, out.width = "50%",fi...
Unconformable asked 31/8, 2020 at 5:57

1

Solved

I would like to use latex expression of chemarr for gitbook format of bookdown package. \begin{equation} [C] + [R] \xrightleftharpoons[k_{-1}]{k_1} [CR] + [C] \xrightleftharpoons[k_{-2}]{k_2}...
Inherent asked 21/8, 2020 at 4:3

1

How can I make table cross-references work in a bookdown document with all of the output formats pdf, docx, and html? Or maybe more specifically, how can I get table cross-references working for fl...
Absquatulate asked 19/6, 2019 at 23:2

0

I'm trying to produce a word document from an rmarkdown file that includes graphs/plots sized to a height of 4 inches and a width of 6.5 inches (which should take up all the width of a normal lette...
Canthus asked 11/7, 2020 at 22:39

3

I am using bookdown A Minimal Book Example. I want to make some changes in this according to my requirements. I wonder how to list all bibliography entries without citing them. I tried \nocite{*} ...
Submission asked 11/12, 2016 at 11:33

2

Solved

I am using bookdown to create pdf reports, but my tables are all floating down to the bottom of the page, regardless of how much space there is. See this example: --- title: "test_doc" author: "Ja...
Ostrowski asked 30/6, 2017 at 15:27

1

Here is a file kable.Rmd that knits properly in RStudio: --- title: "latex kable" output: pdf_document --- ```{r table1, echo=FALSE} library(magrittr) library(kableExtra) kable(data.frame(a=c(1,2...
Outsail asked 13/5, 2020 at 16:50

1

I'm rendering html from markdown using bookdown, and using a compact numeric citation style so that e.g., 1, 2, 3 is shown as 1-3. I'd like references to be shown at the bottom of each page (link-c...
Didymous asked 29/3, 2020 at 1:31

4

I'm writing my thesis with Bookdown in Rmarkdown (and I will export it to PDF format eventually). To hand in my thesis, I am required to include a few scanned documents with handwritten signatures ...
Logsdon asked 24/4, 2017 at 12:41

3

Solved

The Code folding option in RMarkdown for html documents is awesome. That option makes the programmatic methodology transparent for those who are interested, without forcing the audience to scroll t...
Bifrost asked 27/7, 2017 at 21:5

4

Solved

Is it possible to move the caption above my figure when knitting to HTML in RMarkdown? It seems that it is possible in PDF, ie when knitting to PDF, but I can't figure out how to replicate this for...
Phylloxera asked 10/7, 2019 at 21:40

1

I would like to include a table in an R markdown document (Bookdown/Huskydown) which should meet the following requirements. Ideally, the table works with several output formats, e.g. LaTex/PDF and...
Laurentium asked 4/2, 2020 at 13:40

1

I am working on a bookdown project where we have large tables that also contain citations. We are outputting in both html and pdf. The problem is that I cannot find a way to make the citations rend...
Clipboard asked 1/1, 2020 at 21:8

2

Solved

Is it possible to control chapter/section numbering in bookdown? e.g. # Introduction {1} # Theory {14} # Methods {3} would give the following in the output... 1. Introduction 14. Theory 3. Me...
Makhachkala asked 10/5, 2018 at 16:36

1

Solved

I am trying to use kable and kableextra to create a table that has different grouped headers but the same column names in the sub-headers For example, if you look at the section "Grouped Columns/H...
Sweetie asked 25/10, 2019 at 20:12

1

Although I can change the width and position of different elements in the body of an r bookdown doc by modifying the page wrapper in the .css, is there a way to change the width of the sidebar by m...
Brendis asked 12/8, 2018 at 5:10

© 2022 - 2024 — McMap. All rights reserved.