# R markdown: usage of \mathbf{} in equations

#### nicolas.forquet

18 Aug, 2012 11:12 AM

Hi,
I'm running Rstudio 0.96.330 on Ubuntu 11.04. I got the following error message while trying using the \mathbf{} command in a R markdown document:
"can't load web font TeX/Main/Bold" I didn't find any earlier report of this issue in discussions but I might have miss one...
Thanks for help!

1. Support Staff 2 Posted by Josh Paulson on 19 Aug, 2012 12:02 PM

Nicolas,

I am not able to reproduce this with Ubuntu 10.04 (can try 11.04 from the office tomorrow). Was there perhaps a web connectivity problem and have you tried again? Also are you using the desktop or server version of RStudio?

Josh

2. 3 Posted by nicolas.forquet on 20 Aug, 2012 07:39 AM

I'm using the desktop version of RStudio. I tried again this morning from my office. I got the similar error message "can't load web font TeX/Main/Bold" (the same for /boldsymbol) which appears briefly at the bottom left corner of the html page. However I paid more attention this time to the final result and it seems actually that it works (it is not that obvious concerning symbols)! Though the html document takes much more time to be generated than when not using bold characters. Here is the piece of code I'm using:
$$\mathbf{y} = \mathbf{X} \boldsymbol{\beta} + \boldsymbol{\epsilon}$$

Nicolas

3. Support Staff 4 Posted by Josh Paulson on 20 Aug, 2012 11:46 AM

Nicolas,

Thanks for following up and glad that it does work (albeit slow). It might be due to internet connectivity or something about your system configuration that is causing a minor hiccup here.

Josh

4. Josh Paulson closed this discussion on 20 Aug, 2012 11:46 AM.

Comments are currently closed for this discussion. You can start a new one.

## Recent Discussions

 23 May, 2013 03:27 PM Rstudio server fails on two ubuntu linux machines, cannot figure out why from error message 23 May, 2013 02:58 PM Reading from the input stream in an Rmd document? 23 May, 2013 02:34 PM broken automatic formatting, or new knitr-external format 16 May, 2013 07:28 PM RStudio crashes when closing a project or when shutting down 23 May, 2013 10:06 AM Multiple users on R Studio Server

## Recent Articles

 RStudio Release History Problem with Plots or Graphics Device RStudio Will Not Start Running a Diagnostics Report How To Export a Network Request Log From RStudio