[OS X TeX] LaTeX question

Michael Sharpe msharpe at ucsd.edu
Fri Aug 10 05:05:12 CEST 2012


On Aug 9, 2012, at 7:11 PM, Gary L. Gray wrote:

> Hi All,
> 
> After trying everything I could think of and searching the web, I have been unable to solve a formatting problem.
> 
> I would like to create a list for which each entry is a displayed equation. As you can see in the following simple example (the last item is commented out -- more on that soon), LaTeX pushes the baseline of the equation well below the baseline of the bullet. If I wrap the displayed equation environment in a \raisebox and raise it zero length, the baselines align perfectly.
> 
> \documentclass[12pt,fleqn]{article}
> \usepackage{amsmath}
> 
> \begin{document}
> 
> \begin{itemize}
> \item
> \begin{equation*}
> y = \int \sin x \,dx + x^{2}
> \end{equation*}
> \item
> \raisebox{0pt}{
> \begin{equation*}
> y = \int \sin x \,dx + x^{2}
> \end{equation*}
> }
> %\item
> %\raisebox{0pt}{
> %\begin{align*}
> %y &= \int \sin x \,dx \\
> %&\qquad{} + x^{2}
> %\end{align*}
> %}
> \end{itemize}
> 
> \end{document}
> 
> If you now uncomment the content of the last item, it fails to typeset. This happens for every multiline displayed equation (e.g., align, multline, gather, etc.). Does anyone know how to raise multiline displayed equations in the same way I have done for the equation* equation?
> 

I don't know the answer to your question, but the following workaround may be close enough.

\documentclass[12pt,fleqn]{amsart}
%\usepackage{amsmath}
\makeatletter
\def\tagform@#1{\maketag@@@{\ignorespaces#1\unskip\@@italiccorr}}
\makeatother

\begin{document}


\[
y = \int \sin x \,dx + x^{2}\tag{$\bullet$}
\]

\begin{align*}
y &= \int \sin x \,dx \tag{$\bullet$}\\
&\qquad{} + x^{2}
\end{align*}


\end{document}


Michael





More information about the macostex-archives mailing list