Skip to content

Commit

Permalink
Convert equation to math markup
Browse files Browse the repository at this point in the history
since pkgdown will now take care of the mathml rendering
  • Loading branch information
Bisaloo committed Jul 11, 2024
1 parent 046178f commit f4f3682
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions vignettes/renormalise.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,9 @@ as well as the conditions during the recording (including ambient light,
temperature, *etc*.). To allow for comparison between studies, it is thus
normalised by a white and a dark reference with the following formula:

<math>
<mrow>
<mtext>Processed</mtext>
<mo>=</mo>
<mfrac>
<mrow><mtext>Raw</mtext><mo>-</mo><mtext>Dark</mtext></mrow>
<mrow><mtext>White</mtext><mo>-</mo><mtext>Dark</mtext></mrow>
</mfrac>
</mrow>
</math>
$$
\dfrac{\text{Raw} - \text{Dark}}{\text{White} - \text{Dark}}
$$

For this example here, we need to normalise the raw data by a white reference
contained in another file. This can't be done with with `lr_get_spec()` because
Expand Down

0 comments on commit f4f3682

Please sign in to comment.