DEV Community

latexteada
latexteada

Posted on

LaTeX & Maths: more on Aligned Equations

Hello, how are you? :)

Today I tell you how to put text next to the equations instead of numbers and also how to put text between the aligned equations. Let's start!!!

Text and equations

Do you remember that in this post I told you about the different ways we can use the & signs, well we can mix this and the \text{} command

code

Produces

Screenshot from 2021-09-15 22-51-23

Text Between Equations

align is a good environment to align the equations, but once you left the environment it aligns the new equation in a new position

code

Produces

Screenshot from 2021-09-15 23-01-56

It does not look good, right? How we can fix it?

We can use the intertext instruction to put text inside the align equation and keep aligning the text on the same level

code

Produces

Screenshot from 2021-09-15 23-08-12

This is all for today.

Do not forget to follow me on Twitter @latexteada

Greetings :)

Discussion (0)