Installing latex style file on posit.cloud

I've been trying to use the latex annotate-equations package with quarto (see https://github.com/lpembleton/annotate-equations/blob/main/annotate-equations.qmd)

Here is the first bit of the example:

---
title: "Prediction Equations"
format: 
  beamer:
    header-includes:
     - \usepackage{annotate-equations}
---

## Mean Prediction Standard Error

$$
s_{\bar{y}_p} = \sqrt{
\eqnmarkbox[green]{see}{s^2}
\left [
\eqnmarkbox[blue]{b0}{\frac{1}{n}} +
\eqnmarkbox[purple]{b1}{\frac{(x_p - \bar{X})^2}{SS_{X}}}
\right ]
}
$$ 
\annotate[yshift=-4em]{below,left}{see}{Residual standard deviation} \annotate[yshift=1em]{left}{b0}{Standard error of intercept} \annotate[yshift=1em]{right}{b1}{Standard error of slope}

I can run this on my desktop (both MacOS and Linux), but only after downloading annotate-equations.sty from CTAN and installing it in a local texmf directory. However, I would like to use this on my posit.cloud account as I'm using it for my students when I'm teaching. How would I go about installing a latex style file on posit.cloud?

I was able to render your qmd file in posit.cloud by running this command first in the Terminal window:

quarto install tinytex

After tinytex is installed, I clicked on Render in the qmd window and was able to see the generated pdf.

I hope this helps.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.