Say I have algorithm appear as followed
Is it possible to reference the line number using ~\ref or any other possiblities?
algorithm2e
Say I have algorithm appear as followed
Is it possible to reference the line number using ~\ref or any other possiblities?
Best Answer
Yes, it's possible.
:)
Use the normal\label
command in the line you want to refer (page 4 of thealgorithm2e
manual), then use\ref
to display the line number.The output: