Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

[Latex] Horizontal spacing

  1. May 21, 2012 #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.
  2. jcsd
  3. May 22, 2012 #2


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

  4. May 22, 2012 #3
    Only one that worked was \mbox{quad} or \mbox{qquad}. Thank you very much sir.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook