diff --git a/src/Corporation/ui/IndustryProductEquation.tsx b/src/Corporation/ui/IndustryProductEquation.tsx index 6aa366629..e641148c6 100644 --- a/src/Corporation/ui/IndustryProductEquation.tsx +++ b/src/Corporation/ui/IndustryProductEquation.tsx @@ -20,9 +20,7 @@ export function IndustryProductEquation(props: IProps): React.ReactElement { return ( - - {reqs.join("+") + String.raw`\Rightarrow` + prod.map((p) => String.raw`1\text{ }${p}`).join("+")} - + {"\\(" + reqs.join("+") + `\\Rightarrow` + prod.map((p) => `1\\text{ }${p}`).join("+") + "\\)"} ); } diff --git a/src/Faction/ui/DonateOption.tsx b/src/Faction/ui/DonateOption.tsx index 6c2bbf9a0..d05cda75f 100644 --- a/src/Faction/ui/DonateOption.tsx +++ b/src/Faction/ui/DonateOption.tsx @@ -99,7 +99,7 @@ export function DonateOption(props: IProps): React.ReactElement { /> - {String.raw`reputation = \frac{\text{donation amount} \times \text{reputation multiplier}}{10^{${digits}}}`} + {`\\(reputation = \\frac{\\text{donation amount} \\cdot \\text{reputation multiplier}}{10^{${digits}}}\\)`} diff --git a/src/Locations/ui/CoresButton.tsx b/src/Locations/ui/CoresButton.tsx index cd8b378d0..f9eeaebd4 100644 --- a/src/Locations/ui/CoresButton.tsx +++ b/src/Locations/ui/CoresButton.tsx @@ -33,7 +33,7 @@ export function CoresButton(props: IProps): React.ReactElement { - {String.raw`\large{cost = 10^9 \times 7.5 ^{\text{cores}}}`} + {`\\(\\large{cost = 10^9 \\cdot 7.5 ^{\\text{cores}}}\\)`} } > diff --git a/src/Locations/ui/RamButton.tsx b/src/Locations/ui/RamButton.tsx index c819a9785..37cd70cf8 100644 --- a/src/Locations/ui/RamButton.tsx +++ b/src/Locations/ui/RamButton.tsx @@ -32,7 +32,7 @@ export function RamButton(props: IProps): React.ReactElement { - {String.raw`\large{cost = 3.2 \times 10^3 \times 1.58^{log_2{(ram)}}}`} + {`\\(\\large{cost = 3.2 \\cdot 10^3 \\cdot 1.58^{log_2{(ram)}}}\\)`} } >