I have needed to type a simple mathematical equation into my PhD thesis, on overleaf.
target number = {(a x b)/(c x d)} x constant.
I don't quite know how to use the equation function as I'm new to coding… if someone could please tell me the code that produces the equation above, I would be most thankful.
It would be really good, if the format of the equation could be designed as follows;
- The content within the curly brackets be written out in two lines, as in (a x b) on top line and (c x d) on the bottom line with the x constant aligned in the middle which would also align with the "target number" on the left hand side.
- underneath the "target number" on the left hand side, within brackets, write its units (number/ul)
Thank you so much!
Best Answer
Mostly off-topic:
It seems that you in your thesis use quantities. For writing them on proper way in accordance with SI (Système International d’Unités) rules published in CGPM (Conférence Génrale des Poids et Mesures) you should consider to use package
siunitx
. In its documentation you will find thoroughly explained how to use packages in writing units, quantities and design tables with with collected values.An MWE (Minimal Working Example) in which consider of use of the
siunitx
package and mimic desired form of equation can be:Note: Usually (in technical texts at least) aren't used dots between units. Also
\times
are more or less reserved for denote vector product. Without them you will get: