4.6 Combining text and formulas

Course subject(s) 4. Reporting your findings

Combining text and formulas

You have now learned how to enter both text and mathematical formulas into LATEX. On this page, we’ll discuss how these two components should be combined in your report.

Formulas in sentences

First of all, remember that the main body of your report should consist of complete sentences. This also holds for the mathematics included in your text. Each formula, calculation or model should be part of a sentence.

So the inline formula dPdt=0.7P(t)−0.007P2(t)−0.04P(t)G(t) should be part of a sentence.

And likewise, we should use a full sentence to introduce the system of differential equations given by

Take note of the punctuation used in the system of differential equations. Both the inline formulas and those displayed on separate lines are embedded in a full sentence.

Explaining your formulas

While formulas are a convenient way to describe mathematics, they cannot stand on their own in a report. The text should explain what is expressed by the formulas.

First of all, each new variable or constant should be defined when it is first introduced. What does it measure, and what is its unit? Likewise, a balance equation or a model deserves a careful introduction. How did you come up with this? Even calculations are easier to follow if they are accompanied by text to explain the more complicated steps. A straightforward addition or multiplication is easy enough to understand, but it can be kind to remind your reader of the antiderivative of the arctangent if you use this in your calculations.

When discussing your variables, constants or functions in your text, bear in mind that LATEX uses special formatting in math mode. To keep the look of your variable P(t) consistent, you should use math mode whenever you mention this variable: type $P(t)$ instead of just P(t).

Formulas: inline or displayed on a separate line?

You have seen three separate ways to display your mathematical formulas:

  1. In the text as part of a sentence (inline formulas);
  2. Displayed as an unnumbered equation on a separate line;
  3. Displayed as a numbered equation on a separate line.

When formatting your text, take some time to think which of these options is most suitable for each formula. Displaying too many formulas in separate lines will give your page a very disjointed look. On the other hand, inline formulas can look rather cramped, and can be harder to read. As a rule of thumb, consider displaying a formula on a separate line in the following cases:

  • The formula takes up more than one third of a line.
  • The formula is a main result or model. Displaying it on a separate line will draw attention to it.
  • You will refer back to this formula later. In this case, the formula should become a numbered equation.

Next, a page for questions about LATEX.

Creative Commons License
Mathematical Modeling Basics by TU Delft OpenCourseWare is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Based on a work at https://online-learning.tudelft.nl/courses/mathematical-modeling-basics/.
Back to top