piece-wise functions in Tex/HTML

Discussion in 'General Computer Support' started by lou, Oct 7, 2006.

  1. lou

    lou

    Joined:
    Oct 7, 2006
    Messages:
    1
    I am trying to display a piece-wise funciton using Tex in an html editor but cannot get it to display correctly. I tried the following:

    $$f(n) = \begin{cases} n/2, & \mbox{if }n\mbox{ is even} \\ 3n+1, & \mbox{if }n\mbox{ is odd} \end{cases}$$

    Is there any other way I can display a piece-wise function using an HTML editor?
     
    lou, Oct 7, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Champagne Charlie

    Help with tex-file

    Champagne Charlie, Jan 25, 2004, in forum: Computer Support
    Replies:
    7
    Views:
    783
    ┬░Mike┬░
    Jan 25, 2004
  2. Alex Vinokur

    Convert html, pdf, ps to TeX

    Alex Vinokur, Sep 26, 2004, in forum: Computer Support
    Replies:
    5
    Views:
    7,833
    Alex Vinokur
    Sep 28, 2004
  3. Alex Vinokur

    TeX viewer

    Alex Vinokur, Sep 26, 2004, in forum: Computer Support
    Replies:
    5
    Views:
    23,352
    Joel Rubin
    Sep 26, 2004
  4. Bernie Woodham

    Tex Avery DVDs

    Bernie Woodham, Jan 31, 2005, in forum: DVD Video
    Replies:
    7
    Views:
    1,969
    Large Farva
    Feb 19, 2005
  5. rgompa

    TeX source file clean up

    rgompa, Mar 27, 2008, in forum: Software
    Replies:
    0
    Views:
    694
    rgompa
    Mar 27, 2008
Loading...

Share This Page