From: David Arnold <dwarnold45@cox.net>
Subject: Re: Align a compound inequality
Date: Fri, 20 Jan 2006 22:27:58 -0800 [thread overview]
Message-ID: <906F53FA-4F31-4B82-884F-17B01E9A312F@cox.net> (raw)
In-Reply-To: <Pine.WNT.4.63.0601210102590.4092@nqvgln>
Aditya,
Thanks, and I am getting this to work, which is similar to the way
the align macros from the AMS work:
\placeformula[eq:twosolve]
\startformula
\startalign[m=3]
3-2x&>-1 &&\qor& 3-2x&<1\\
-2x&>-4 &&& -2x&<-2\\
x&<2 &&& x&>1
\stopalign
\stopformula
On Jan 20, 2006, at 10:07 PM, Aditya Mahajan wrote:
> <--- On Jan 20, David Arnold wrote --->
>
>> All,
>>
>> I have:
>>
>> \placeformula[-]
>> \startformula
>> \startalign[m=2]
>> 3-2x&<-1 & 3-2x&>1\\
>> -2x&<-4 & -2x&>-2\\
>> x&>2 & x&<1
>> \stopalign
>> \stopformula
>>
>> And it works. However, I want to sqeeze the word "or" between the
>> inequalities on the first row so that it reads:
>>
>> 3 - 2x < -1 or 3 - 2x > 1
>>
>> How can I do this?
>
> This is how I would do this,
>
> \startformula \startalign[n=5,align={right,left,middle,right,left}]
> 3 - 2x & < -1 & \quad \text{or} \quad & 3-2x & > 1 \\
> -2x < & -4 & \text{or} & -2x &> -2 \\
> \stopalign \stopformula
>
>
> --
> 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
next prev parent reply other threads:[~2006-01-21 6:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-21 3:23 David Arnold
2006-01-21 6:07 ` Aditya Mahajan
2006-01-21 6:27 ` David Arnold [this message]
2006-01-21 7:05 ` Aditya Mahajan
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=906F53FA-4F31-4B82-884F-17B01E9A312F@cox.net \
--to=dwarnold45@cox.net \
--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).