[texhax] strange behavior of \shoveleft or \shoveright

Barbara Beeton bnb at ams.org
Mon Feb 6 21:06:56 CET 2012


victor,

     \shoveleft applied to the first line in multline (or  multline*)
    shifts it to the right
    \shoveright applied to the first line in multiline (or multline*)
    shifts it to the left

i think you mean "last line" here ...

    while they should not have any effect (so nobody needs to apply them)
    ! This is in bot [reqno] and [leqno] modes and {mathtools}  do not
    change this behaviour.

clearly a bug in amsmath, but you're the
first to report it.  i've logged it into
our list.
thanks.
						-- bb

    Victor

    \documentclass[12pt]{article}
    \usepackage{amsmath}

    \begin{document}

    \begin{multline}
    \shoveleft{12345678912345678234567123456789123456782345671}\\
    \shoveright{12345678912345678234567123456789123456782345671}
    \end{multline}

    \begin{multline}
    {12345678912345678234567123456789123456782345671}\\
    \shoveright{12345678912345678234567123456789123456782345671}
    \end{multline}

    \begin{multline}
    \shoveleft{12345678912345678234567123456789123456782345671}\\
    {12345678912345678234567123456789123456782345671}
    \end{multline}

    \begin{multline}
    {12345678912345678234567123456789123456782345671}\\
    {12345678912345678234567123456789123456782345671}
    \end{multline}

    \end{document}


More information about the texhax mailing list