We seem to spend a lot of effort typing things like $\displaystyle {52 \choose 5}$ in TeX.
If you examine the TeX I used for this "{52 \choose 5}", I think some of us
will save ourselves a lot of effort
RonL
That is a good tip for the combinations problem.Originally Posted by CaptainBlack
Maybe, if you looked at my code you saw me using
I asked my calculus teacher If I can give in a test answered in LaTeX. That would be fun.Code:\left(\begin{array}{c}n\\m\end{array}\right)
I have been using the TeX quick reference card, where this comes from.Originally Posted by ThePerfectHacker
It can be cound on refcards.com
RonL
Hello,Originally Posted by CaptainBlack
I've got a minor problem and as you are the best expert in TEX (as ThePerfectHacker stated) I'm sure you can help me:
I would like to write vectors with an arrow over several letters. I've attached an image to demonstrate how to do. This was made with OpenOffice where you have the command widevec{}, which doesn't work with TEX.
And the \buildrel macro doesn't work too:
$\displaystyle \buildrel\longrightarrow\over{A_a B_b}$
Thanks in advance.
Greetings
EB
Your buildrel looks OK to me:Originally Posted by earboth
$\displaystyle
\buildrel{\longrightarrow}\over{A_b B_c}
$
Do you want an even longer arrow?
$\displaystyle
\overrightarrow{A_a B_b C_c D_d}
$
Interestingly this last command is not on the quick reference sheet
RonL
CaptainBlack asked for a list of tags to include. So as not to completely reinvent the wheel here, I suggest looking at this set of stickies from another math help site for ideas on that. It's a good start, but of course it doesn't have all your favorite tags.Originally Posted by Jameson
Here is something I discovered.
If you want to define a piecewise function say the absolute value function what you do is:
If that is your whole code, then you can igonore the last part.Code:|x|= \left\{ \begin{array}{c} x \mbox{ if } x\geq 0\\ -x \mbox{ if } x<0 \end{array} \right
The reason is because there is nothing following this. You cannot do this if there would be something following the code, but other here this trick works and saves me time.Code:|x|= \left\{ \begin{array}{c} x \mbox{ if } x\geq 0\\ -x \mbox{ if } x<0
----
$\displaystyle \left\{ \begin{array}{c} x\mbox{ if } x\geq 0\\ -x\mbox{ if } x<0 $