Tagged Questions
2
votes
1answer
103 views
Line number error using “Require” and “Ensure” in package{algorithmicx}
I’m using the packages algorithmicx and algpseudocode to write algorithms in my paper. It’s more convenient and beautiful to specify comments than with the algorithmic.
But I encounter an error while ...
2
votes
1answer
116 views
Change line numbering in algorithmics package
I would like to start the line numbering of the following code not from 1 but from 12 (as it is cut out of a larger code). So it should be 12,13,14,15 instead of 1,2,3,4.
\documentclass{article}
...
2
votes
1answer
157 views
Remove line numbering from algorithmicx procedure/function
I would like the lines of "procedure" and "end procedure", "function", and "end function" etc to not be numbered.
For example, the default behavior produces this:
1 procedure hasNext(v,V,s)
2 ...
5
votes
1answer
269 views
Line numbering in algorithmic
I want to change the first number of the line numbering in my algorithm, but how is it done?
This is my example:
\documentclass[12pt]{beamer}
\usepackage{amsmath, amsfonts, amssymb, amsthm}
...
0
votes
1answer
124 views
How to get Roman line numbering in algorithmicx? What is the counter name?
I try to get Roman numbering but couldn't find how to change it in the package documentation. After some research, I figured out how to do it using the algorithm2e package. (Use algonl as optional ...