I'm trying to add space to a line so that it lines up with the text above it which is bulletpointed. If I add \indent to the second line it indents the above line too so that it is all shifted over.


\indent $\bullet$ This is the first line 
\\ This is the second line


I want the "This"'s to line up. I've tried adding \ to the line but it doesn't work at the start of the line.

  • Please give us a complete (mock-up) document illustrating your intent. – Gonzalo Medina Jan 13 '13 at 18:15
  • Please see the amended question – LlamaD Jan 13 '13 at 18:22
  • 5
    Doesn't the {itemize} environment fulfil your needs? – cgnieder Jan 13 '13 at 18:23

Seems like you're trying to reinvent something.

    \item This is the first line \\ %line with dot
          This is the second line   %line without dot 
    \item Next line with dot

enter image description here

  • Just the first two lines would be closer to each other. I suggest \item One \item[] Two \item Three. – yo' Jan 13 '13 at 18:43

For those who would like to know how to achieve space at the beginning of any line:

Tex prevents that, it has to have breakable text in front of white space. \- is the key for breakable, therefore \-\ Text works.

  • 2
    How would this work for adding more than one space? – LlamaD Jan 14 '13 at 15:24
  • 20
    With \-\hspace{2cm} or any other spacing operator - including \-\pseudo{The space this would have used is left blank} – DennisH Jan 14 '13 at 17:14

You can create an invisible character:

\texttt{if (true)\\

enter image description here

But it doesn't work this way with an indented paragraph:

\indent $\bullet$ This is the first line \\
\hphantom{$\bullet$} This is the second line\\
This is the third line

enter image description here

see How do I create an invisible character?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.