\phantom is not calculated correctly for =

2011-05-25 Thread Patrick Li
Hello everyone,


I have found myself resorting to \phantom for some things, and am having
trouble getting it to calculate correctly for the = sign. Would anyone
please confirm this behaviour?


The following is a piece of Tex code that I copy and pasted from my Lyx
file.


\begin{align*}

\vec{w}  =a+b\\

 \phantom{=}a+b\end{align*}


It should display

w = a+b

  a+b

where the second a+b should line up perfectly with the first a+b. This
is not the case.


Thank you

  -Patrick


\phantom is not calculated correctly for =

2011-05-25 Thread Patrick Li
Hello everyone,


I have found myself resorting to \phantom for some things, and am having
trouble getting it to calculate correctly for the = sign. Would anyone
please confirm this behaviour?


The following is a piece of Tex code that I copy and pasted from my Lyx
file.


\begin{align*}

\vec{w}  =a+b\\

 \phantom{=}a+b\end{align*}


It should display

w = a+b

  a+b

where the second a+b should line up perfectly with the first a+b. This
is not the case.


Thank you

  -Patrick


\phantom is not calculated correctly for =

2011-05-25 Thread Patrick Li
Hello everyone,


I have found myself resorting to \phantom for some things, and am having
trouble getting it to calculate correctly for the = sign. Would anyone
please confirm this behaviour?


The following is a piece of Tex code that I copy and pasted from my Lyx
file.


\begin{align*}

\vec{w} & =a+b\\

& \phantom{=}a+b\end{align*}


It should display

w = a+b

  a+b

where the second "a+b" should line up perfectly with the first "a+b". This
is not the case.


Thank you

  -Patrick


My equation is flowing off the page. What can I do?

2011-03-21 Thread Patrick Li
Hello everyone,

I am a complete beginner to Lyx and am enjoying it immensely. I have
typesetted a page of math with it using the eqnarray environment, and now
the equations are too long and are flowing off the page. However, there is
still lots of space on the left hand side of the page. The reason the
equations run off the page is because Lyx insists on placing the = sign in
the center of the page. What can I do to get Lyx to move all my equations to
the left a bit?

Thanks a lot
  -Patrick


My equation is flowing off the page. What can I do?

2011-03-21 Thread Patrick Li
Hello everyone,

I am a complete beginner to Lyx and am enjoying it immensely. I have
typesetted a page of math with it using the eqnarray environment, and now
the equations are too long and are flowing off the page. However, there is
still lots of space on the left hand side of the page. The reason the
equations run off the page is because Lyx insists on placing the = sign in
the center of the page. What can I do to get Lyx to move all my equations to
the left a bit?

Thanks a lot
  -Patrick


My equation is flowing off the page. What can I do?

2011-03-21 Thread Patrick Li
Hello everyone,

I am a complete beginner to Lyx and am enjoying it immensely. I have
typesetted a page of math with it using the eqnarray environment, and now
the equations are too long and are flowing off the page. However, there is
still lots of space on the left hand side of the page. The reason the
equations run off the page is because Lyx insists on placing the = sign in
the center of the page. What can I do to get Lyx to move all my equations to
the left a bit?

Thanks a lot
  -Patrick