1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

LaTeX won't let me create a macro to \begin{split}

  1. Sep 10, 2009 #1
    So I'm trying to do this:

    \newcommand{\bq}{\begin{equation*}}
    \newcommand{\eq}{\end{equation*}}

    \newcommand{\bsp}{\begin{split}}
    \newcommand{\esp}{\end{split}}

    \bq
    \bsp
    1 & = 1 \\
    2 & = 1 + 1
    \esp
    \eq

    but then LaTeX gives me this error

    Runaway argument?
    1 & = 1 \\ 2 & = 1 + 1 \esp \eq
    ! Paragraph ended before \split was complete.

    What I really want is just one command to do
    \begin{equation*}
    \begin{split}
    and one command to do the corresponding ends.

    Is there any way to do this?

    Note: I've tried using \begin{align*} instead, and I get a similar type of weird error.
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted



Similar Discussions: LaTeX won't let me create a macro to \begin{split}
  1. Let ur mind work (Replies: 2)

Loading...