I actually tried that, but it resulted in getting a bunch of errors from
LaTeX.  It look goot in LyX, but I don't understand how it's breaking
LaTeX in this instance.


%% LyX 1.4.3-5 created this file.  For more info, see
http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

\usepackage{babel}
\makeatother
\begin{document}
\begin{tabular}{|c|c|}
\hline 
\begin{align*}
7x+10y & =50\textrm{ for }y=4\\
7x+10(4) & =50\\
7x+40 & =50\\
7x+40-40 & =50-40\\
7x & =10\\
x & =\frac{10}{7}\end{align*}
&
\begin{align*}
 & \textrm{Check:}\\
7x+10y & =50\textrm{ for }y=4\\
7(\frac{10}{7})+10(4) & =50\\
10+40 & =50\\
50 & =50\end{align*}
\tabularnewline
\hline
\end{tabular}
\end{document} 

--

Steven


-----Original Message-----
From: John Hughes [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 31, 2007 11:32 AM
To: [EMAIL PROTECTED]
Subject: RE: [Totally New] Trying to format mathematical equations in
two columns

Hi,

How about using a table? You can set the column widths so that the
equations are as far apart or close together as possible and the rows
will always line up.

Regards

John


>From: "Steven Harms (stharms)" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: [Totally New]  Trying to format mathematical equations in two 
>columns
>Date: Wed, 31 Jan 2007 08:27:34 -0800
>
>Hello All,
>
>LyX is great!  It's helped me so much already!  Regrettably, as you 
>learn the power of LyX, the more you can be obsessive about tiny little

>details, so here's mine.
>
>I'm doing some math homework and I've been laying out my homework 
>brilliantly with the Insert->Math->align.  The two cool blue 'type-in'
>areas pop up and I enter "x+y" in the first and "=z" in the 2nd.  With
>CTRL+M I can add more blue pairs and that's how I lay out my equations 
>CTRL+(
>is that the LyX Way (tm) ? ).
>
>But on some homework we're obligated to do a "check".  What I would 
>like to do is have:
>(it's painful to re-lay this out after having the power of LyX ;) )
>
>
>14.
>
>   Problem      Check {titles should be centered over coulmn}
>__________________________________
>|x+5=11      | x+5=11{underline} |
>|  x=11-5    | 6+5=              |
>|  x=6       |  11 {underline}   |
>----------------------------------
>
>I looked at the \multicolumn{} directive but that seems only to 'flow'
>text from one col into another.
>
>I also looked at the \{tabbing} environment, but that doesn't seem to 
>play nice with my math equations.
>
>Does anyone have an example of this that I could take a look at, or is 
>there a Better Way?
>
>Thanks!
>
>Steven

_________________________________________________________________
MSN Hotmail is evolving - check out the new Windows Live Mail
http://ideas.live.com

Reply via email to