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.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Latex Horizontal spacing Date
LaTex and MathJax Feb 27, 2018
Putting Excel graph into LaTeX Feb 10, 2018
LaTeX \vec command Jan 31, 2018
Creating a horizontal space in LaTeX; Jun 10, 2006
LaTeX help: horizontal rules Jan 3, 2005