3

How can I make a new line without it being indented? Here is what I have so far:

\documentclass[11pt, oneside, reqno]{article}
\usepackage{amssymb, amsthm, amsmath, amsfonts}
\usepackage{bardmacros}

\begin{document}

\demo

However, since $y \notin B$, we have $\mathbb{X\restriction_B} = 0$.  This is a contradiction, because $1 \neq 0$.  Therefore, $A=B$ must be true for $\mathbb{X\restriction_A} = \mathbb{X\restriction_B}$.\\\

$\Rightarrow$  Let $\mathbb{X\restriction_A} \neq \mathbb{X\restriction_B}$ and let $A=B$.
\edemo
\end{document}

And this is what the output looks like. The indent right before the => is what I'd like to eliminate:

And the output

I am very new the LaTeX, so thanks for your patience!

4
  • 2
    Welcome to TeX.SX! We are patient, but I have a small request :) Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – yo' Mar 30 '14 at 20:19
  • 3
    You can try adding \noindent before the line that you did not want indented. See Remove Paragraph Indentation. – Peter Grill Mar 30 '14 at 20:23
  • 1
    Or don't use an blank line, and write at the end of the preceding line: `\bigskip\\`. – Bernard Mar 30 '14 at 20:27
  • Thanks Bernard and @Peter Grill! Those both worked for me. – Maclafel7 Mar 30 '14 at 20:33
1

Why not use \\. This will initiate a new line without starting a new paragraph. If you are inside an environment you can also use \newline. To start a new paragraph you would use \par. \noindent should only be used when the paragraph does not directly follow another paragraph but something else such as a table or a section head (most styles do this automatically).

4
  • I think I tried \\ initially, and it was giving me the indent. But thank you, I won't use \noindent then. (How did you make your code highlighted grey, btw?) – Maclafel7 Mar 30 '14 at 20:55
  • @Maclafel7 By using the ` character. (The {} button on the editor) – Paul de Vrieze Mar 30 '14 at 21:02
  • Can you explain what's bad about using \noindent when a paragraph follows another paragraph? – cfr Mar 30 '14 at 21:53
  • 1
    You are then working against your documentclass. If you don't want indenting of paragraphs you can configure it such that you have vertical space instead (or neither). In regular texts there should be little reasons for exceptions. – Paul de Vrieze Mar 30 '14 at 21:57

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.