Re: using command '\llap' in alignat

2007-12-07 Thread Enrico Forestieri
bigblop writes:

 is there no way to get:
 
 \llap{$x_1,x_2x_3$}
 
 in an alignat block?

Try

\llap{\ensuremath{x_1,x_2x_3}}

-- 
Enrico



Re: using command '\llap' in alignat

2007-12-07 Thread Enrico Forestieri
bigblop writes:

 is there no way to get:
 
 \llap{$x_1,x_2x_3$}
 
 in an alignat block?

Try

\llap{\ensuremath{x_1,x_2x_3}}

-- 
Enrico



Re: using command '\llap' in alignat

2007-12-07 Thread Enrico Forestieri
bigblop writes:

> is there no way to get:
> 
> \llap{$x_1,x_2x_3$}
> 
> in an alignat block?

Try

\llap{\ensuremath{x_1,x_2x_3}}

-- 
Enrico



using command '\llap' in alignat

2007-12-06 Thread bigblop

I have made the following in an alignat environment:

\begin{alignat}{6}
 \text{maximize z } =  2 x_1  {}+{}3x_2{}+{}4x_3  
 
\\  
 \text{subject to} 44 x_1  {}+{}50x_3 
 
 \geq  900  \\  
   104 x_1
 
 \geq  2\\  
   x_1{}+{}x_2 {}+{}x_3   
 
 \geq  50   \\  
x_3   
 
 \geq  1000 \\  
   
\llap{$x_1,x_2x_3$}  \geq  0 
\end{alignat} 

Its possible to make the same in LyX (without typing latex code directly).
But I have a problem with the last line. I use:

\llap{$x_1,x_2x_3$}

so the result in LyX is:

\llap{\$x_{1},x_{2},x_{3}\$}

is there no way to get:

\llap{$x_1,x_2x_3$}

in an alignat block?
-- 
View this message in context: 
http://www.nabble.com/using-command-%27%5Cllap%27-in-alignat-tf4958974.html#a14202402
Sent from the LyX - Users mailing list archive at Nabble.com.



using command '\llap' in alignat

2007-12-06 Thread bigblop

I have made the following in an alignat environment:

\begin{alignat}{6}
 \text{maximize z } =  2 x_1  {}+{}3x_2{}+{}4x_3  
 
\\  
 \text{subject to} 44 x_1  {}+{}50x_3 
 
 \geq  900  \\  
   104 x_1
 
 \geq  2\\  
   x_1{}+{}x_2 {}+{}x_3   
 
 \geq  50   \\  
x_3   
 
 \geq  1000 \\  
   
\llap{$x_1,x_2x_3$}  \geq  0 
\end{alignat} 

Its possible to make the same in LyX (without typing latex code directly).
But I have a problem with the last line. I use:

\llap{$x_1,x_2x_3$}

so the result in LyX is:

\llap{\$x_{1},x_{2},x_{3}\$}

is there no way to get:

\llap{$x_1,x_2x_3$}

in an alignat block?
-- 
View this message in context: 
http://www.nabble.com/using-command-%27%5Cllap%27-in-alignat-tf4958974.html#a14202402
Sent from the LyX - Users mailing list archive at Nabble.com.



using command '\llap' in alignat

2007-12-06 Thread bigblop

I have made the following in an alignat environment:

\begin{alignat}{6}
& \text{maximize z } = & 2 x_1   &  & {}+{} &  & 3x_2 &  & {}+{} &  & 4x_3  
 
&\\  
& \text{subject to}& 44 x_1  &  &   &  &  &  & {}+{} &  & 50x_3 
 
& \geq  900  \\  
&  & 104 x_1 &  &   &  &  &  &   &  &   
 
& \geq  2\\  
&  & x_1 &  & {}+{} &  & x_2  &  & {}+{} &  & x_3   
 
& \geq  50   \\  
&  & &  &   &  &  &  &   &  & x_3   
 
& \geq  1000 \\  
&  & &  &   &  &  &  &   &  &
\llap{$x_1,x_2x_3$} & \geq  0 
\end{alignat} 

Its possible to make the same in LyX (without typing latex code directly).
But I have a problem with the last line. I use:

\llap{$x_1,x_2x_3$}

so the result in LyX is:

\llap{\$x_{1},x_{2},x_{3}\$}

is there no way to get:

\llap{$x_1,x_2x_3$}

in an alignat block?
-- 
View this message in context: 
http://www.nabble.com/using-command-%27%5Cllap%27-in-alignat-tf4958974.html#a14202402
Sent from the LyX - Users mailing list archive at Nabble.com.