Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

1 Answer 1

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.