Horizontal spacing in LaTeX pseudocode indentation

2 replies · 3K views · last reply
Amok
Messages
254
Reaction score
1
Hello guys, I'm trying to get some horizontal spacing into my text. I want to do this because I basically want to write a pseudo-code in my text, so I need every loop to start a bit further away from the beginning of the page than the previous one. I've tried \hspace, but it does not seem to work. And in case you're wondering, I don't to use the algorithm environment (it does not suit my purpose).

Thanks in advance.
 
Only one that worked was \mbox{quad} or \mbox{qquad}. Thank you very much sir.