Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Math Help - Combinations in TeX

  1. #1
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4

    Combinations in TeX

    We seem to spend a lot of effort typing things like {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
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Global Moderator

    Joined
    Nov 2005
    From
    New York City
    Posts
    10,616
    Thanks
    10
    Quote Originally Posted by CaptainBlack
    We seem to spend a lot of effort typing things like {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.
    Maybe, if you looked at my code you saw me using
    Code:
    \left(\begin{array}{c}n\\m\end{array}\right)
    I asked my calculus teacher If I can give in a test answered in LaTeX. That would be fun.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by ThePerfectHacker
    That is a good tip for the combinations problem.
    Maybe, if you looked at my code you saw me using
    Code:
    \left(\begin{array}{c}n\\m\end{array}\right)
    I asked my calculus teacher If I can give in a test answered in LaTeX. That would be fun.
    I have been using the TeX quick reference card, where this comes from.
    It can be cound on refcards.com

    RonL
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Super Member
    earboth's Avatar
    Joined
    Jan 2006
    From
    Germany
    Posts
    5,830
    Thanks
    123
    Quote Originally Posted by CaptainBlack
    I have been using the TeX quick reference card, where this comes from.
    It can be cound on refcards.com

    RonL
    Hello,

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

    Greetings

    EB
    Follow Math Help Forum on Facebook and Google+

  5. #5
    MHF Contributor
    Joined
    Oct 2005
    From
    Earth
    Posts
    1,599
    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.
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Global Moderator

    Joined
    Nov 2005
    From
    New York City
    Posts
    10,616
    Thanks
    10
    Quote Originally Posted by Jameson
    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.
    I like the idea, I suggest CaptainBlack be its author, he seems to be the best expert in \mathbb{T} \mathcal{E} \mathbb{X}
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by ThePerfectHacker
    I like the idea, I suggest CaptainBlack be its author, he seems to be the best expert in \mathbb{T} \mathcal{E} \mathbb{X}
    If you let me know what you want in the list I will oblige, the
    difficult I will do at once; the impossible will take a little longer

    RonL
    Last edited by CaptainBlack; May 8th 2006 at 12:43 AM. Reason: Added Wit
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Super Member
    earboth's Avatar
    Joined
    Jan 2006
    From
    Germany
    Posts
    5,830
    Thanks
    123
    Quote Originally Posted by CaptainBlack
    I have been using the TeX quick reference card, where this comes from.
    It can be cound on refcards.com

    RonL
    Hello,

    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:

    \buildrel\longrightarrow\over{A_a B_b}

    Thanks in advance.

    Greetings

    EB
    Attached Thumbnails Attached Thumbnails Combinations in TeX-vect_schreiben.gif  
    Follow Math Help Forum on Facebook and Google+

  9. #9
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by earboth
    Hello,

    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:

    \buildrel\longrightarrow\over{A_a B_b}

    Thanks in advance.

    Greetings

    EB
    Your buildrel looks OK to me:

    <br />
\buildrel{\longrightarrow}\over{A_b B_c}<br />

    Do you want an even longer arrow?

    <br />
\overrightarrow{A_a B_b C_c D_d}<br />

    Interestingly this last command is not on the quick reference sheet

    RonL
    Last edited by CaptainBlack; May 8th 2006 at 12:41 AM.
    Follow Math Help Forum on Facebook and Google+

  10. #10
    Super Member
    earboth's Avatar
    Joined
    Jan 2006
    From
    Germany
    Posts
    5,830
    Thanks
    123
    Quote Originally Posted by CaptainBlack
    ...

    Do you want an even longer arrow?...
    RonL
    Hello

    <br />
\overrightarrow{T_h a^n k_s}<br />

    Greetings

    EB
    Follow Math Help Forum on Facebook and Google+

  11. #11
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by earboth
    Hello

    <br />
\overrightarrow{T_h a^n k_s}<br />

    Greetings

    EB
    <br />
\underrightarrow{\overleftarrow{Y_ou'_r\ W^e{}_{ll}c_o{}^{me}}}<br />

    RonL
    Last edited by CaptainBlack; May 8th 2006 at 08:56 AM.
    Follow Math Help Forum on Facebook and Google+

  12. #12
    Senior Member
    Joined
    Apr 2006
    Posts
    399
    Awards
    1
    Quote Originally Posted by Jameson
    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.
    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.
    Follow Math Help Forum on Facebook and Google+

  13. #13
    Global Moderator

    Joined
    Nov 2005
    From
    New York City
    Posts
    10,616
    Thanks
    10
    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
    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
    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.
    ----
    \left\{ \begin{array}{c} x\mbox{ if } x\geq 0\\ -x\mbox{ if } x<0
    Follow Math Help Forum on Facebook and Google+

  14. #14
    Junior Member
    Joined
    Feb 2006
    From
    United Kingdom
    Posts
    70
    how can i put a horizontal line through text i want to strike out? the \not doesn't look very good ie:
    \int \frac{dv}{\not{dt}} \not{dt}
    Follow Math Help Forum on Facebook and Google+

  15. #15
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by Aradesh
    how can i put a horizontal line through text i want to strike out? the \not doesn't look very good ie:
    \int \frac{dv}{\not{dt}} \not{dt}
    There appear to be several TeX packages which do this but none of them
    appear to work on the Math Help Forum.

    I can't find a method that works at present

    RonL
    Follow Math Help Forum on Facebook and Google+

Page 1 of 2 12 LastLast

Similar Math Help Forum Discussions

  1. Combinations in a set
    Posted in the Discrete Math Forum
    Replies: 3
    Last Post: September 9th 2010, 07:19 AM
  2. How many combinations are possible?
    Posted in the Discrete Math Forum
    Replies: 0
    Last Post: July 23rd 2009, 08:53 PM
  3. Combinations
    Posted in the Statistics Forum
    Replies: 2
    Last Post: May 5th 2008, 09:28 AM
  4. How many combinations..?
    Posted in the Algebra Forum
    Replies: 9
    Last Post: May 2nd 2008, 11:34 AM
  5. combinations
    Posted in the Discrete Math Forum
    Replies: 1
    Last Post: April 27th 2008, 10:00 AM

Search Tags


/mathhelpforum @mathhelpforum