2

This question already has an answer here:

I would like to have an align environment which is not automatically written in a new line. For example in the following code, the formulas should appear in the same line as the itemize-dot or the Proof. :

\documentclass[10pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsthm}
\begin{document}

\begin{itemize}
    \item
    \begin{align*}
    x & = 0 \\
    y & = 15
    \end{align*}
\end{itemize}

\begin{proof}
    \begin{align*}
    x & = 0 \\
    y & = 15
    \end{align*}
\end{proof}
\end{document}

I know that I could use $\displaystyle x=0$ for single lines but the align environment is clearly better when aligning more than one line of formulas. Does anybody have an idea?

marked as duplicate by cfr, Mensch, OSjerick, Werner, Fran Dec 6 '15 at 6:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 5
    You can take a look at these answers to a recent similar question or to these – Bernard Dec 5 '15 at 23:03
  • Welcome to TeX.SX! This question is very similar to tex.stackexchange.com/questions/9394/…. Please take a look at it as the information there might help you. If so, that's great, and we'll probably close this question as a duplicate just to keep the place tidy and to help people find answers quickly. If not, please edit your question here to explain why so that people can better focus their attention to help you. – cryingshadow Dec 5 '15 at 23:52
  • @cryingshadow ^^ I think the comment was intended for you, although hard to be sure. – cfr Dec 6 '15 at 1:30

Browse other questions tagged or ask your own question.