From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: textbackground and midaligned
Date: Fri, 19 May 2006 10:30:39 -0400 (EDT) [thread overview]
Message-ID: <Pine.WNT.4.63.0605191030150.3292@nqvgln> (raw)
In-Reply-To: <446DBD82.8040509@wxs.nl>
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
prev parent reply other threads:[~2006-05-19 14:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-18 22:13 Aditya Mahajan
2006-05-19 12:43 ` Hans Hagen
2006-05-19 14:30 ` Aditya Mahajan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.WNT.4.63.0605191030150.3292@nqvgln \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).