Search found 3 matches

by chen
Sun Nov 21, 2010 11:31 pm
Forum: Math & Science
Topic: Vertical alignment in array environment
Replies: 3
Views: 16276

Re: Vertical alignment in array environment

Thanks - but also, how can I remove the left padding the nested array so that the 5y_1 on the second line and so on lines up with x_1 on the first line? And how can I reduce the gap between the <=s? Thanks.
by chen
Sun Nov 21, 2010 9:04 pm
Forum: Math & Science
Topic: Vertical alignment in array environment
Replies: 3
Views: 16276

Vertical alignment in array environment

Hi, I've got a nested array that outputs:
2me74o2.jpg
with code:
$$\begin{array}[t]{ll}
\min &x_1 - x_2 \\
\textup{s.t.} &\begin{array}{lclll}
5y_1 & \leq & x_1 & \leq & 12y_1+2\\
y_2 & \leq & x_2 & \leq & 9(1-y_2) + 1\\
3y_3 & \leq & x_2 & \leq & 7(1-y_3) + 3\\
5y_4 & \leq & x_2 & \leq & 5(1 ...
by chen
Sun Jan 24, 2010 3:40 pm
Forum: General
Topic: [Help] No .dvi output
Replies: 1
Views: 1479

[Help] No .dvi output

Hi, when I compile cv.tex (attached), I get no .dvi output. I'm using TeXnicCenter and the build seems very, very short for the length of the document. I've attached the log file generated. The problem seems to be in the header section somewhere as the body of the file will compile, albeit obviously ...