Math & ScienceBad math environment delimiter, please help

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
stephencrowley
Posts: 1
Joined: Wed Jul 04, 2012 10:31 pm

Bad math environment delimiter, please help

Post by stephencrowley »

Can someone please tell me what is wrong with the following snippet? It was generated by exporting latex from TeXmacs.

Code: Select all

$\begin{equation}
  \begin{array}{ll}
    \begin{array}{l}
      _p F_q \left( \begin{array}{l}
        a_1, \ldots, a_p\\
        b_1, \ldots, b_q
      \end{array} | t \right)
    \end{array} & = \sum_{k = 0}^{\infty} \frac{t^k}{k!} \frac{\prod_{i = 1}^p
    (a_i)_k}{\prod_{j = 1}^q (b_j)_k} \label{hypergeom}
  \end{array}
\end{equation}$
Thanks,
Stephen
Last edited by Stefan Kottwitz on Wed Jul 04, 2012 10:41 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

Bad math environment delimiter, please help

Post by Stefan Kottwitz »

Hi Stephen,

welcome to the board!

Nice to hear that TeXmacs still has users. I did not see progress there for some time.

Here, the problem is simply that the equation environment starts math mode itself, so you should not start (and end) inline math mode by $. Just remove the two $ symbols.

Stefan
LaTeX.org admin
Post Reply