Questions tagged [xaringan]

An R package to create HTML5 slides based on R Markdown and the JavaScript library remark.js.

An R package to create HTML5 slides based on R Markdown and the JavaScript library remark.js . See its Github repository for more information: https://github.com/yihui/xaringan.

224 questions
0
votes
1 answer

How to adjust title size or banner size of a single slide in xaringan

I have encountered an issue with the size of banner title as in the following picture. It is two-line title, which does not fit into the banner. Is there any way to make the banner size bigger (vertically increased) or to make font size of title…
jck21
  • 751
  • 4
  • 16
0
votes
0 answers

How to control font size of header in xaringan slides?

I am using xaringan in rmarkdown with the following yaml heading. --- title: "business" subtitle: "investment" author: "Instructor" institute: "University" date: "`r Sys.Date()`" output: xaringan::moon_reader: css: [default, metropolis,…
jck21
  • 751
  • 4
  • 16
0
votes
0 answers

How to play mp4 music file in my local folder on xaringan?

I want to play mp.4 file on my xaringan slide, and I add the following but it won't play. Am I missing something here? Thank you.
jck21
  • 751
  • 4
  • 16
0
votes
1 answer

Is there any principle to use "--" (incremental slide) properly on xaringan?

Whenever I use -- to generate incremental slides. Sometimes it works but sometimes not. For example, the following codes work different way. It seems -- works in very random way. I was wondering if there's suggested way to use this sign. blah blah…
jck21
  • 751
  • 4
  • 16
0
votes
1 answer

How to properly write dollar sign on xaringan?

I am using Xaringan slides. I want to write dollar values like $10-$5=$5 using math notation. My code is the following: $ \$10-\$5 = \$5 $. However, the code will not generate the outcome in mathematical way as I wanted. I know it works with double…
jck21
  • 751
  • 4
  • 16
0
votes
1 answer

How to move my title position with background image in Xaringan?

Hi I added background image for my title page but once I added the following in order to move my title to top and left, the background image was gone. Is there any way to fix this issue? titleSlideClass: [top, left] --- title: "ECON" subtitle:…
jck21
  • 751
  • 4
  • 16
0
votes
1 answer

Xaringan: image resize option does not work for me

For some reason, ![:scale 50%](image.jpg) does not work for me. Any solution to fix this? My yaml heading is the following: --- title: "Econ" subtitle: "Orientation and Lecture 1" author: "Teacher" institute: "University" date: "`r…
jck21
  • 751
  • 4
  • 16
0
votes
1 answer

How to change font style, size and color in xaringan slide

I was wondering if there is a simple way to do the change of font size, colour and style (bold, italic, etc.) for particular words or phrases in individual xaraingan slides within rmarkdown. The following is my code: --- title: "Econ" subtitle:…
jck21
  • 751
  • 4
  • 16
0
votes
0 answers

R Markdown stopped knitting out of a sudden even after I uninstalled R studio and updated R

I was working on my xaringan slides and everything was working perfectly. Out of nowhere, the slides, and all r markdown documents, stopped knitting. When I try to knit, I get the following error Rendering R Markdown documents requires an updated…
0
votes
0 answers

R Markdown broken image icon in Xaringan presentation

I am new to Xaringan presentations in R and right now I am trying to create a demo presentation. Currently, I am facing an issue with displaying a picture from a local network drive path (same path for both the .md and .png file). The image outputs…
Ed_Gravy
  • 1,841
  • 2
  • 11
  • 34
0
votes
1 answer

My package "xaringan" can't run in R-markdwon "UTF-8 decoding error in Untitled.knit.md at byte offset 13"

I installed this package "xaringan". Then I knited the "Ninja Presentation" provided by the “From template” in Rmarkdown, but it failed. The I knited the "Ninja Presentation(Simplified Chinese)" provided by the “From template”, but it also…
Steven
  • 33
  • 3
0
votes
1 answer

is there a way to hide slide elements after displaying them in xaringan?

I can use the -- operator to perform gradual reveals of slide content with xaringan, but is there a way to hide elements after they have been displayed? For instance, in the example below I show a title and two plots with a gradual reveal between…
Joe
  • 3,217
  • 3
  • 21
  • 37
0
votes
1 answer

Xaringan png vs svg image quality

I find that PNG/JPEG images in Xaringan (xaringan::moon_reader()) html slides are visually soft and fuzzy compared to SVGs. See sample screenshots below. In contrast, these three formats are visually comparable in standard html report…
mindlessgreen
  • 11,059
  • 16
  • 68
  • 113
0
votes
1 answer

Can't install xaringan in ubuntu 20.04 within Github Actions

I'm trying to use Github Actions to build a Xaringan presentation. But it seems that it can't find xaringan. Other dependencies are installed correctly, even xaringanthemer (see logs link below) ! I tried to see if there is some missing…
0
votes
1 answer

assets folder (Xaringan) gets overwhelmed with new folders

as of recently I am noticing that the assets folder of my Xaringan presentations fill up with loads of weird folders, after knitting. I have several useful subfolders (e.g., css, images, js), but there are easily 200 folders created after knitting.…
Steve G. Jones
  • 325
  • 2
  • 10
1 2 3
14
15