TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I have a indented new line in math mode? The line after \newindentedline should be indented and start in a new line.

\[
    X \subset Y \Rightarrow \forall x \in X: x \in Y \newindentedline
        \Rightwarrow X \subset Y
\]
share|improve this question

You should read the mathmode document.

To allow linebreaks inside mathmode you need an environment like align (provided by amsmath):

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
    X \subset Y &\Rightarrow \forall x \in X: x \in Y \\
        &\Rightarrow X \subset Y
\end{align}
\end{document}

For manual (or more accurate) positioning of the alignment (rather than having it line up with some content in the row above), using the following instead:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
    &X \subset Y \Rightarrow \forall x \in X: x \in Y \\
    & \hspace{4em} \Rightarrow X \subset Y
\end{align}
\end{document}

where you specify the indent as the argument to \hspace{...}.

To get a unnumbered equation you can use the align* (see the comment of egreg)

share|improve this answer
    
@Werner: Feel free to edit the post ;-) – Marco Daniel Oct 9 '11 at 18:36
1  
I'd suggest split or align*, to be consistent with Sebastian's question. – egreg Oct 9 '11 at 19:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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