On Fri, 19 May 2006, Hans Hagen wrote:

> Aditya Mahajan wrote:
>> I encountered a very strange problem. The very presence of
>> \definetextbackground changed the meaning of \midaligned (and
>> \rightaligned). Attached are the minimal example that illustrate the
>> problem. The first file, nobackground.tex has no background and works
>> as expected. The second file background.tex has a textbackground and
>> \midaligned is no longer middle aligned.
>>
>> Any insight into this strange behaviour?
> \def\doalignline#1#2% \\ == newline
> {\begingroup
>  \setlocalhsize % new
>  \def\\{\egroup\par\doalignline{#1}{#2}\bgroup}%
>  \dowithnextbox
>    {\noindentation  % change this line in core-spa.tex
>     \hbox to \localhsize
>       {\ifcase\alignstrutmode\or\strut\fi
>         #1\unhbox\nextbox#2}\endgroup}
>    \hbox}

Thank you!
  This takes care of the problem.

Aditya
-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to