I want to display multiple lines of centered equations. Each equation has multiple equalities and inequalities, so aligning is not called for. All I want is display them one line at a time, centered, with not too much space between them. Is the only way to use multiple \begin{equation}\end{equation} environments? Surely there must be a more efficient way, but I can't seem to find any way to do this online. Here is an example:

$$(a_1,\ldots,a_n)M\subset(a_1,\ldots,a_{n+m})M\subsetneq M,$$
  • Hint: You can replace \ldots by \dots and let TeX take care of the placement. – Svend Tveskæg Aug 21 '14 at 0:40

You are already using amssymb I hope. Why not look in to the amsmath manual (texdoc amsldoc from command prompt/line). It provides many environments for typing mathematics. For these two equations, you can use gather* (no number).

\usepackage{amsmath,amssymb,showframe}   %% showframe for demo only
(a_1,\ldots,a_n)M\subset(a_1,\ldots,a_{n+m})M\subsetneq M,\\

enter image description here

If you have long equations, then you may even prefer multline environment. If you use mathtools package instead, it will load amsmath by itself along with extended macros.

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.