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 :cool:

RonL

Printable View

- May 6th 2006, 10:55 PMCaptainBlackCombinations in TeX
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 :cool:

RonL - May 7th 2006, 08:40 AMThePerfectHackerQuote:

Originally Posted by**CaptainBlack**

Maybe, if you looked at my code you saw me using

Code:`\left(\begin{array}{c}n\\m\end{array}\right)`

- May 7th 2006, 10:50 AMCaptainBlackQuote:

Originally Posted by**ThePerfectHacker**

It can be cound on refcards.com

RonL - May 7th 2006, 11:17 AMearbothQuote:

Originally Posted by**CaptainBlack**

thanks a lot for this link. That's what I needed badly.

Greetings

EB - May 7th 2006, 12:26 PMJameson
I suggest that there be a sticky of common tex tags, such as the limit definition of a derivative made here to save time for all. I get sick of typing in that limit all the time. :mad:

- May 7th 2006, 01:28 PMThePerfectHackerQuote:

Originally Posted by**Jameson**

- May 7th 2006, 08:21 PMCaptainBlackQuote:

Originally Posted by**ThePerfectHacker**

difficult I will do at once; the impossible will take a little longer :cool:

RonL - May 7th 2006, 08:36 PMearbothQuote:

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 - May 7th 2006, 11:30 PMCaptainBlackQuote:

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}

$ :cool:

Interestingly this last command is not on the quick reference sheet :eek:

RonL - May 8th 2006, 07:34 AMearbothQuote:

Originally Posted by**CaptainBlack**

$\displaystyle

\overrightarrow{T_h a^n k_s}

$

Greetings

EB - May 8th 2006, 07:54 AMCaptainBlackQuote:

Originally Posted by**earboth**

\underrightarrow{\overleftarrow{Y_ou'_r\ W^e{}_{ll}c_o{}^{me}}}

$

RonL - May 8th 2006, 09:39 AMJakeDQuote:

Originally Posted by**Jameson**

*your*favorite tags. :) - May 8th 2006, 02:26 PMThePerfectHacker
Here is something I discovered.

If you want to define a piecewise function say the absolute value function what you do is:

Code:`|x|=`

\left\{

\begin{array}{c}

x \mbox{ if } x\geq 0\\

-x \mbox{ if } x<0

\end{array}

\right

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 $ - May 11th 2006, 03:13 AMAradesh
how can i put a horizontal line through text i want to strike out? the \not doesn't look very good ie:

$\displaystyle \int \frac{dv}{\not{dt}} \not{dt}$ - May 12th 2006, 09:05 AMCaptainBlackQuote:

Originally Posted by**Aradesh**

appear to work on the Math Help Forum.

I can't find a method that works at present :mad:

RonL