LaTeX Holiday Fun!

Well, we all had so much fun the other day with the fairground ride that was the newly installed LaTeX capability of the blog -something electric about not knowing if it will work until you hit “submit”- that I thought I’d encourage some more fun, to help out on a quiet holiday weekend.

brennan_image.jpgSo here’s the mission/challenge. You must use LaTeX commands to create a Holiday-themed design. It can be an equation, or it can be a fully fledged diagram drawn with LaTeX-picture-drawing skills by those of you who are extremely clever and patient enough. Recall the impressive example from Carl Brannen that kept us on the edge of our seats? I reproduce it at the left (click for larger). You can see how he did it in the comment thread of the earlier post. (Also, mouse-hover over the image of any of the equations there and you will see the LaTeX code they used.)

So yes, if you can conjure up a Christmas tree or a Hanukkah menora, we’ll all be impressed, and you’ll probably win all our admiration… and as a prize I’ll probably single it out for special attention in a later post! So there’s some competition-style incentive, if you needed it.

Of course, equations will do too – the cleverer the better.

As long as it has a “Holiday Theme”, ok?


The Rules:-
You get two comment posts in the thread of this post per entry. Other comments are ok, of course, but your entries posts are limited. You can enter as many as, let say…… four separate ideas as entries. More than two attempts per entry idea invalidates it. Practice elsewhere (see below) and get it right when you post.

Here’s my spectacularly lame entry, just to set the standard. A Christmas tree bauble:
[tex]
\unitlength{.6} \picture(100) {
(50,50){\circle(99)}
(30,23){\circle(15,18)}
}[/tex]

Go on… beat that1!

I’ve cleared out one of my spare rooms here at Asymptotia to act as a sort of practice space for those of you who want to develop your ideas. It is here. Or, if you want to do it in secret, follow the links I gave there to the mimeTeX site -they have a space you can use there too. (More on drawing pictures here.)

Have fun2.

-cvj

2If nobody accepts the mission/challenge, I won’t be surprised. I was blown away by Carl’s picture like everyone else!

1I used:
\unitlength{.6}
\picture(100) {
(50,50){\circle(99)}
(30,23){\circle(15,18)}
}

Bookmark the permalink.

10 Responses to LaTeX Holiday Fun!

  1. Pingback: Have a Good One! - Asymptotia

  2. Carl Brannen says:

    [tex]\begin{picture}(440,250)
    (000,000){\line(440,000)}
    (000,000){\line(000,250)}
    (439,000){\line(000,250)}
    (000,249){\line(440,000)}
    (150,195;3,2;3){\line(140,+7)}
    (150,196;4,2;1){\line(140,+7)}
    (150,195;4,0;10){\line(14,-38)}
    (190,197;4,0;10){\line(15,-37)}
    (230,199;4,0;15){\line(16,-36)}
    (150,199;4,0;10){\line(15,38)}
    (190,201;4,0;10){\line(16,37)}
    (230,203;4,0;15){\line(16,36)}
    (000,205;4,2;5){\line(150,-10)}
    (000,206;3,2;2){\line(150,-10)}
    (000,210;5,0;6){\line(8,40)}
    (030,208;5,0;6){\line(8,40)}
    (060,206;5,0;6){\line(10,40)}
    (090,204;5,0;6){\line(12,40)}
    (120,202;5,0;6){\line(12,40)}
    (000,205;5,0;6){\line(8,-40)}
    (030,203;5,0;6){\line(10,-40)}
    (060,201;5,0;6){\line(10,-40)}
    (090,199;5,0;6){\line(12,-40)}
    (120,197;5,0;6){\line(15,-40)}
    (290,202;4,2;3){\line(96,-3)}
    (290,203;2,2;1){\line(96,-3)}
    (290,201;4,0;8){\line(17,-35)}
    (322,200;4,0;8){\line(18,-34)}
    (354,199;4,0;8){\line(19,-32)}
    (290,205;4,0;8){\line(17,35)}
    (322,204;4,0;8){\line(18,34)}
    (354,203;4,0;8){\line(19,32)}
    (280,125;2,2;3){\line(125,-85)}
    (281,126;4,2;2){\line(125,-85)}
    (280,125;4,-2;8){\line(-6,-35)}
    (311,104;4,-2;8){\line(-6,-34)}
    (342,083;4,-2;8){\line(-4,-33)}
    (373,062;4,-2;10){\line(-2,-32)}
    (282,127;4,-2;9){\line(26,20)}
    (313,106;4,-2;9){\line(26,19)}
    (344,085;4,-2;9){\line(26,18)}
    (375,064;4,-2;10){\line(26,16)}
    (150,195;2,2;3){\line(130,-70)}
    (151,196;4,2;2){\line(130,-70)}
    (150,195;4,-2;10){\line(-12,-35)}
    (190,175;4,-2;10){\line(-10,-35)}
    (230,155;4,-2;13){\line( -8,-35)}
    (152,197;4,-2;10){\line(24,22)}
    (192,177;4,-2;10){\line(25,22)}
    (232,157;4,-2;13){\line(26,22)}
    (150,195;1,0;2){\line(0,-70)}
    (121,111;1,0;4){\line( 19,-79)}
    (121,111;0,1;5){\line( 79,-24)}
    (140,32;0,1;5){\line( 60,55)}
    (112,53;1,0;5){\line( 38,72)}
    (112,53;0,1;4){\line( 81,03)}
    (150,125;1,0;5){\line( 43,-69)}
    \end{picture}[/tex]

    A modified Star of David as an ornament hangs on a branch of a Christmas tree. The shape represents the extension of Koide’s mysteriously perfect formula for the masses of the charged leptons to the neutrinos. One of the triangles represents the charged leptons, the other the neutrinos.

    In the standard model, the masses of the leptons are arbitrary constants that come from vacuum expectation values. The theory that allows the masses to be calculated is obtained by geometrizing the density matrix formalism using the Clifford algebraic methods that Hestenes found for the spinors. In this theory, the creation and annihilation operators, and the vacuum is a mathematical convenience only, or as Schwinger writes, non physical, so there is no way to provide masses by a Higgs mechanism. Instead, mass comes from a preon model that is based on the Feynman checkerboard model of the 1+1 Dirac equation.

    Merry Christmas. And Happy Hanukkah. And a New Year full of tex.

  3. Count Iblis says:

    I guess we now need some PostScript capability 🙂

  4. Navneeth says:

    Well, that was a “success”! Darn those html tags…

  5. Navneeth says:

    [tex]IT’S SNOWING[tex]

    What? You say you don’t see anything? Well, it’s completely covered in snow!

  6. a cornellian says:

    firefox is doing something screwy when it scales it down to fit in the comment section, if you right click and say view image it looks better (well, except for that one side I forgot to change…..)

  7. a cornellian says:

    [tex]
    \begin{picture}(500,500)
    %base
    \put(125,0){\line(100,60)}
    \put(125,0){\line(250,0)}
    \put(375,0){\line(-100,60)}
    \put(225,60){\line(0,150)}
    \put(275,60){\line(0,150)}

    %cross
    \put(10,210){\line(480,0)}
    \put(10,240){\line(480,0)}
    \put(10,210){\line(0,30)}
    \put(490,210){\line(0,30)}

    %center
    \put(240,240){\line(0,150)}
    \put(260,240){\line(0,120)}
    \put(240,390){\line(20,0)}

    %rest of candles
    \put(170,240){\line(0,120)}
    \put(190,240){\line(0,120)}
    \put(170,360){\line(20,0)}

    \put(100,240){\line(0,120)}
    \put(120,240){\line(0,120)}
    \put(100,360){\line(20,0)}

    \put(30,240){\line(0,120)}
    \put(50,240){\line(0,120)}
    \put(30,360){\line(20,0)}

    \put(330,240){\line(0,120)}
    \put(310,240){\line(0,120)}
    \put(310,360){\line(20,0)}

    \put(400,240){\line(0,120)}
    \put(380,240){\line(0,120)}
    \put(380,360){\line(20,0)}

    \put(470,240){\line(0,120)}
    \put(450,240){\line(0,120)}
    \put(450,360){\line(20,0)}

    \end{picture}

    [/tex]

  8. a cornellian says:

    well, that failed
    now for something different

    [tex]
    \begin{picture}(500,500)

    %base
    \put(125,0){\line(100,60)}
    \put(375,0){\line(-100,60)}
    \put(225,60){\line(0,150)}
    \put(275,60){\line(0,150)}

    %cross
    \put(10,210){\line(0,480)}
    \put(10,240){\line(0,480)}
    \put(10,210){\line(30,0)}
    \put(490,210){\line(30,0)}

    %center candle
    \put(240,240){\line(0,150)}
    \put(260,240){\line(0,150)}
    \put(240,390){\line(20,0)}

    %rest of candles
    \put(170,240){\line(0,120)}
    \put(190,240){\line(0,120)}
    \put(170,360){\line(20,0)}

    \put(100,240){\line(0,120)}
    \put(120,240){\line(0,120)}
    \put(100,360){\line(20,0)}

    \put(30,240){\line(0,120)}
    \put(50,240){\line(0,120)}
    \put(30,360){\line(20,0)}

    \put(330,240){\line(0,120)}
    \put(310,240){\line(0,120)}
    \put(310,360){\line(20,0)}

    \put(400,240){\line(0,120)}
    \put(380,240){\line(0,120)}
    \put(380,360){\line(20,0)}

    \put(470,240){\line(0,120)}
    \put(450,240){\line(0,120)}
    \put(450,360){\line(20,0)}

    \end{picture}

    [/tex]

  9. a cornellian says:

    stupid slash….here goes try 2 (i’m going to petition that posting it wrong doesn’t count)

    [tex]\begin{picture}(325,500)
    %leftside
    \put(250,500){\line(-25,-25)}
    \put(225,475){\line(15,0)}
    \put(240,475){\line(-25,-25)}
    \put(215,450){\line(15,0)}
    \put(230,450){\line(-25,-25)}
    \put(205,425){\line(15,0)}
    \put(220,425){\line(-25,-25)}
    \put(195,400){\line(15,0)}
    \put(210,400){\line(-25,-25)}
    \put(185,375){\line(15,0)}
    \put(200,375){\line(-25,-25)}
    \put(175,350){\line(60,0)}
    %right side
    \put(250,500){\line(25,-25)}
    \put(275,475){\line(-15,0)}
    \put(260,475){\line(25,-25)}
    \put(285,450){\line(-15,0)}
    \put(270,450){\line(25,-25)}
    \put(295,425){\line(-15,0)}
    \put(280,425){\line(25,-25)}
    \put(305,400){\line(-15,0)}
    \put(290,400){\line(25,-25)}
    \put(315,375){\line(-15,0)}
    \put(300,375){\line(25,-25)}
    \put(325,350){\line(-60,0)}
    %stump
    \put(235,350){\line(0,-25)}
    \put(265,350){\line(0,-25)}
    \put(235,325){\line(30,0)}
    %ornaments
    \put(235,440){\circle(10)}
    \put(230,435){\circle(2)}
    \put(265,390){\circle(10)}
    \put(260,385){\circle(2)}
    \end{picture}[/tex]

  10. a cornellian says:

    [tex]
    \begin{picture}(500,500)
    %leftside
    \put(250,500){\line(-25,-25)}
    \put(225,475){\line(15,0)}
    \put(240,475){\line(-25,-25)}
    \put(215,450){\line(15,0)}
    \put(230,450){\line(-25,-25)}
    \put(205,425){\line(15,0)}
    \put(220,425){\line(-25,-25)}
    \put(195,400){\line(15,0)}
    \put(210,400){\line(-25,-25)}
    \put(185,375){\line(15,0)}
    \put(200,375){\line(-25,-25)}
    \put(175,350){\line(60,0)}

    %right side
    \put(250,500){\line(25,-25)}
    \put(275,475){\line(-15,0)}
    \put(260,475){\line(25,-25)}
    \put(285,450){\line(-15,0)}
    \put(270,450){\line(25,-25)}
    \put(295,425){\line(-15,0)}
    \put(280,425){\line(25,-25)}
    \put(305,400){\line(-15,0)}
    \put(290,400){\line(25,-25)}
    \put(315,375){\line(-15,0)}
    \put(300,375){\line(25,-25)}
    \put(325,350){\line(-60,0)}

    %stump
    \put(235,350){\line(0,-15)}
    \put(265,350){\line(0,-15)}
    \put(235,335){\line(30,0)}

    \end{picture}

    [/tex]