Search found 1 match

by FrankCamilleBoscan
Sat Feb 25, 2023 5:20 pm
Forum: Text Formatting
Topic: Conflict between linenumbers and align
Replies: 1
Views: 6766

Conflict between linenumbers and align

It would appear that trying to use "linenumbers" within an "align" structure is not possible, and vice versa. Does anyone have a workaround ?

For example, I would like to be able to combine this structure

\begin{linenumbers}
\indent $limit = n*n$ \\
\indent $sum = 0$ \\
\indent $\mathbf{for ...