LaTeX

Sunday 30 May 2004 at 1:18 pm | In Articles | Post Comment

\LaTeX is a very powerful language and allows one to type very nice mathematics in a way that would be difficult to do any other way. It is what provides the mathematics on this site. How else could one show

    \zeta(n)=\underbrace{\int_0^1 \cdots \int_0^1}_{n}\dfrac{\prod_{i=1}^n dx_i}{1-\prod_{i=1}^n x_i}

But \LaTeX will do more than that and also provide graphics. See the diagram in Monday 10 May or how about these:

    \setlength{\unitlength}{0.5cm}
\begin{picture}(5,2)
\put(5,0){\line(-1,0){5}}
\put(0,0){\line(1,1){2}}
\put(2,2){\line(3,-2){3}}
\put(-0.5,-0.1){\small A}
\put(1.9,2.1){\small B}
\put(5.1,-0.1){\small C}
\put(4,0.1){\tiny 30}
\qbezier(3.8,0)(3.9,0.55)(4.1,0.55)
\put(0.6,1){\footnotesize 2}
\put(3.6,1){\footnotesize 3}
\put(2.3,-0.6){\footnotesize 5}
\put(6,-0.2){\tiny \shortstack{t\r\i\a\n\g\l\e}}
\end{picture}

    go on – spot the deliberate error 😕

or

    \setlength{\unitlength}{1mm}
\begin{picture}(60,40)
\put(30,20){\vector(1,0){30}}
\put(30,20){\vector(4,1){20}}
\put(30,20){\vector(3,1){25}}
\put(30,20){\vector(2,1){30}}
\put(30,20){\vector(1,2){10}}
\thicklines
\put(30,20){\vector(-4,1){30}}
\put(30,20){\vector(-1,4){5}}
\thinlines
\put(30,20){\vector(-1,-1){5}}
\put(30,20){\vector(-1,-4){5}}
\end{picture}

See here for a good tutorial on \LaTeX graphics

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^