I want to write a 'for' statement, but unsure how to do this with LaTeX. What I am trying to do is:
for k = 1, k++, while k < i
What is the proper (or at least a decent way) to write this in LaTeX?
Let me re-phrase:
I do not want to actually create a loop, I just want to print a line that will be the text of the beginning of a for-loop. I'm unsure how to do this.