>>> "JJ" == Jeremie Juste writes: > Hello Uwe >> On Monday, 23 May 2022 at 19:24, Uwe Brauer wrote: > Sorry I don't have matlab and I have never used the solutionorbox > environment, but I believe you can generate latex directly. For example > with R I can to the following. > #+begin_src R :exports results :eval yes :results output latex > cat("\\begin{align*}") > cat("P(\\text{Covid19}|\\text{ + })&=\\frac{P(\\text{ + }|\\text{Covid19})P(\\text{Covid19})}{P(\\text{ + } | \\text{Covid19})P(\\text{Covid19}) + P(\\\\text{ + }|\\text{No-Covid19})P(\\text{No-Covid19})}") > cat("\\end{align*}") > #+end_src Yes but I need the solutionbox since I don't want to convert to vanilla latex, but to the exam class.