14

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.

\documentclass[10pt]{article}
\begin{document}

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

\end{document}

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? – clemens Jan 13 '13 at 18:23
11

Seems like you're trying to reinvent something.

\begin{itemize}
    \item This is the first line \\ %line with dot
          This is the second line   %line without dot 
    \item Next line with dot
\end{itemize}

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
35

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
  • 16
    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

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.