From e2c8fed30774ad6c5e116a99041297ff6cf04043 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Wed, 13 Oct 2021 02:42:43 -0400 Subject: [PATCH] figured out new mathjax --- src/Faction/ui/Info.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Faction/ui/Info.tsx b/src/Faction/ui/Info.tsx index 5f09cebaf..f7c5617f8 100644 --- a/src/Faction/ui/Info.tsx +++ b/src/Faction/ui/Info.tsx @@ -58,10 +58,12 @@ export function Info(props: IProps): React.ReactElement { Augmentation. - {String.raw`\large{r = \text{total faction reputation}}`} + {"\\(\\huge{r = \\text{total faction reputation}}\\)"} - {String.raw`\large{favor=\left\lfloor\log_{1.02}\left(\frac{r+25000}{25500}\right)\right\rfloor}`} + + {"\\(\\huge{favor=\\left\\lfloor\\log_{1.02}\\left(\\frac{r+25000}{25500}\\right)\\right\\rfloor}\\)"} + } @@ -85,10 +87,10 @@ export function Info(props: IProps): React.ReactElement { - {"\\(\\frac{10}{4x} \\approx 2^{12}\\)"} + {"\\(\\huge{r = reputation}\\)"} - {String.raw`\large{\Delta r = \Delta r \times \frac{100+favor}{100}}`} + {"\\(\\huge{\\Delta r = \\Delta r \\times \\frac{100+favor}{100}}\\)"} }