DEV Community

latexteada
latexteada

Posted on

1

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 :)

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay