bxi@po.CWRU.Edu (Bruce Ikenaga) (03/06/91)
A colleague of mine would like to know how to do the
following things in LaTeX. I use Plain TeX myself, and
don't know anything about LaTeX. I've given the plain TeX
source which does the things he wants to do.
% ----------
\def\blank{\vskip 8pt}
Here is an attempt at a display:
${\int \int \cdots \int} \atop
{ {\scriptstyle x_1 + \ldots + x_n \le 1} \atop
{\scriptstyle x_1 \ge 0} } $
This should have come out in the middle of a sentence. Did it?
\blank
Next, we'll try to display it:
\blank
$$
{\displaystyle \int \int \cdots \int} \atop
{ {\scriptstyle x_1 + \ldots + x_n \le 1} \atop
{\scriptstyle x_1 \ge 0} }
$$
\blank
Here is something else: $\max_{ {1 \le i \le n} \atop
{1 \le j \le n} } f(i,j) = 4$. Did it work?
\blank
Now we'll display it:
$$
\max_{ {1 \le i \le n} \atop
{1 \le j \le n} } f(i,j) = 4
$$
What about binomial coefficients on top of sums?
$$\sum_{i=0}^{n \choose k} {{n + 2} \choose i}\ x^i y^{n-i}$$
\blank
% ----------
--
Bruce Ikenaga
---------------------------------------------------
US mail: Dept. of Math, CWRU, Cleveland, Ohio 44106
E-mail : bxi@po.CWRU.eduogawa@orion.arc.nasa.gov (Arthur Ogawa) (03/06/91)
In article <1991Mar5.201318.9776@usenet.ins.cwru.edu> bxi@po.CWRU.Edu (Bruce Ikenaga) writes: | | A colleague of mine would like to know how to do the |following things in LaTeX. I use Plain TeX myself, and |don't know anything about LaTeX. I've given the plain TeX |source which does the things he wants to do. | |% ---------- | |\def\blank{\vskip 8pt} | |Here is an attempt at a display: |${\int \int \cdots \int} \atop | { {\scriptstyle x_1 + \ldots + x_n \le 1} \atop | {\scriptstyle x_1 \ge 0} } $ |This should have come out in the middle of a sentence. Did it? |\blank | |Next, we'll try to display it: |\blank |$$ |{\displaystyle \int \int \cdots \int} \atop | { {\scriptstyle x_1 + \ldots + x_n \le 1} \atop | {\scriptstyle x_1 \ge 0} } |$$ |\blank | |Here is something else: $\max_{ {1 \le i \le n} \atop |{1 \le j \le n} } f(i,j) = 4$. Did it work? |\blank | |Now we'll display it: |$$ |\max_{ {1 \le i \le n} \atop |{1 \le j \le n} } f(i,j) = 4 |$$ | | |What about binomial coefficients on top of sums? |$$\sum_{i=0}^{n \choose k} {{n + 2} \choose i}\ x^i y^{n-i}$$ |\blank Simply prepend: \documentstyle{book} \begin{document} and append: \end{document} No other changes need be made, so far as I can see. However, there are a number of optional changes you could make if you prefer LaTeX's markup: $...$ -> \(...\) and $$...$$ -> \[...\]; don't use \blank, etc. Cheers, Art