[XeTeX] Unwanted Extra Par

Vafa Khalighi vafa at users.berlios.de
Mon Sep 14 03:40:51 CEST 2009


If I created a simple document as

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass{minimal}

\makeatletter

\TeXXeTstate=1

\def\equation{\beginL$$\refstepcounter{equation}}

\def\endequation{\eqno \hbox{\@eqnnum}$$\endL\@ignoretrue}

\makeatother

\begin{document}

\begin{equation}

1+1=2

\end{equation}

\begin{equation}

1+1=2

\end{equation}

\begin{equation}

1+1=2

\end{equation}

\begin{equation}

1+1=2

\end{equation}

\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Just the \beginL and \endL that I have put before and after $$ respectively
casuses a new par between these equations.  My question is, is there any way
that I could remove that extra par except by having \vskip -\baselineskip?
And I do not think that is a good idea for removing the extra par.

Thanks

-- 
Vafa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20090914/1ce83f7b/attachment.html>


More information about the XeTeX mailing list