0

Goal: re-create this TPS equation in my Python project's README.md.

I want to pass the string, based on this post's example.


Attempts

\Huge \frac{{\textstring}{PD-L1 Positive Tumour Cells}}{{\textstring}{Viable Tumour Cells}}\cdot100
[\Huge \frac{{\textstring}{PD-L1 Positive Tumour Cells}}{{\textstring}{Viable Tumour Cells}}\cdot100\]
$$\Huge \frac{{\textstring}{PD-L1 Positive Tumour Cells}}{{\textstring}{Viable Tumour Cells}}\cdot100$$
math :
  <p align="center">
  <img src="https://render.githubusercontent.com/render/math?math=\Huge \frac{{\textstring}{PD-L1 Positive Tumour Cells}}{{\textstring}{Viable Tumour Cells}}\cdot100">
  </p>

I've also tried \amsmath:

[\Huge \frac{{\amsmath}{PD-L1 Positive Tumour Cells}}{{\amsmath}{Viable Tumour Cells}}\cdot100\]

Nothing loads yet, since I've somehow got it wrong ;(

DanielBell99
  • 896
  • 5
  • 25
  • 57

1 Answers1

0

Based on this SO Solution.

<img src="https://latex.codecogs.com/gif.latex?TPS = \frac{\text {PD-L1 Positive Tumour Cells}}{\text {Viable Tumour Cells}}\cdot100" />
DanielBell99
  • 896
  • 5
  • 25
  • 57