Using texPreview in Rmarkdown HTML Documents

Jonathan Sidi

2023年12月09日

library(texPreview)

tex_opts$set( 
 returnType = 'html',
 opts.html = list(width = '75%', height = '75%')
) 

The following examples use kable to generate LaTeX table outputs and raw LaTeX to pipe into tex_preview to render the in the document.

Kable Input

plot of chunk testOut

plot of chunk testOut

TeX Input

plot of chunk testOut2

plot of chunk testOut2

AltStyle によって変換されたページ (->オリジナル) /