Thanks
Arne
> How can I use the \frac command so that a fraction is displayed
> without the dividing line? Or are there other commands which do that?
Now why would you want to do that? Combinatorics? Vectors? Well, you can
achieve a similar effect by using a 1x2 array:
\begin{array}{c}
1\\2
\end{array}
Matthew Low
You can use the TeX primative \atop it is strongly discoraged because
of its bizare syntax ($a \atop b$). The best is the AMS \genfrac
command
\genfrac{Ldelim}{Rdelim}{rulethick}{style}{num}{denom}
with style:
Empty mathstyle arg: no change;
0 = displaystyle,
1 = textstyle,
2 = scriptstyle,
3 = scriptscriptstyle.
Usage: $\genfac{}{}{0pt}{}{a}{b}$
Danie Els
(dnjels at sun dot ac dot za)
You can use \stackrel{text on top}{text below}, or $text\ on\ top
\atop text\ below$ (without the backslash, no blanks are set in the
output).
Best regards
Burkhard
>How can I use the \frac command so that a fraction is displayed
>without the dividing line? Or are there other commands which do that?
This depends on what you want that to mean. The amsmath package supplies
\binom{a}{b} which does what you ask and surrounds it with parentheses.
(there are also variants \dbinom and \tbinom to force a displaystyle
version or a text style (inline math) version.
For other constructs of a similar nature, amsmath also has a
\genfrac command.
If you are making a two-by-one matrix, there is
\begin{matrix}a\\b \end{matrix} (amsmath) or the array environment in
basic LaTeX
If you are creating a relation (e.g., by putting some symbol on top of
an equal sign) there is \stackrel (basic LaTeX).
If you are wanting to place a couple of lines under \sum, there is
\sum_{\substack{a\\b}} (amsmath).
Etc.
Dan
--
Dan Luecking Department of Mathematical Sciences
University of Arkansas Fayetteville, Arkansas 72701
luecking at uark dot edu