> Mohammad Hossein Bateni > 27. Oktober 2016 um 17:59 > How does one reset the counter then? Normally one would like it to > start from 1 within each algorithmic block. But definelabel seems to > have bytext and bysection options only. > You can use \resetcounter[algorithmicline] to reset the counter value. Wolfgang