Text FormattingFormatting text next to equations

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
bxl508
Posts: 1
Joined: Wed Mar 30, 2022 4:54 am

Formatting text next to equations

Post by bxl508 »

\begin{equation}
X_{ij} =
\begin{cases}
1 & \text{nucleotide i and j are paired} \\
0 & \text{otherwise} \\
\end{cases}
\end{equation}

$\forall$ $1\le i < j \le n$


I currently have an equation with two cases in latex. I want to add a line of text to the right of this equation, centered. Does anyone know how to achieve this? It should look somethign like:

THIS ---
IS THE Want to Add a Line Here
EQUATION

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Post Reply