General ⇒ Pseudocode line numbering
Pseudocode line numbering
How can it be done? If not possible what other 'automatic' approaches are there?
Tks
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Pseudocode line numbering
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Pseudocode line numbering
Will the listings package work for your needs? I haven't used it for pseudocode, only real code.devito wrote:Does anyone know if it is possible to put before each line in pseudocode (using the pseudocode package) the line number?
How can it be done? If not possible what other 'automatic' approaches are there?
Tks