[Tex/LaTex] how to place text on fraction for accounting formulas

fractionsmath-operators

Sorry for the bad grammar. English is not my native language.

I want to have text on a fraction type line to show up in an accounting formula, here's an example of what I want:

enter image description here

So, I've tried using the math way with \frac but I end up whit so many errors. Is there a specific way to put text on the \frac code ? Or is there a specific code to put text on a fraction?

Best Answer

If you \usepackage{amsmath} then in math mode (in particular, inside \frac) you can use \text{VP Beneficios} to get text. If you want white space you need to include it: \text{ VP Beneficios }

Related Question