Posted on

Latex

so typing latex is always cool , after the great community of mathlinks it’s time to remeber some of good-old type Latex here at wordpress .

There are many tutorials for learing latex but an easy way is also using mathurl.com , exporting your desirable math expression , exporting and a png and having the code too .
For more latex info see this nice document :

Click to access LaTeX_Manual_8_6.pdf

For linux users install it with the following commands :
$ sudo apt-get install texlive
(a basic subset of TeX Live’s functionality)
$ sudo apt-get install texlive-full
(all the packages in the LaTeX distribution )
$ sudo apt-get install gedit-latex-plugin
(usefull plugin to convert Gedit into a LaTeX editor )

LATEX ART

type this :
$ \setlength{\unitlength}{2mm}\begin{picture}(30, 20)\linethickness{0.075mm}\multiput(0, 0)(1, 0){31}{\line(0, 1){20}}\multiput(0, 0)(0, 1){21}{\line(1, 0){30}}\linethickness{0.15mm}\multiput(0, 0)(5, 0){7}{\line(0, 1){20}}\multiput(0, 0)(0, 5){5}{\line(1, 0){30}}\linethickness{0.3mm}\multiput(5, 0)(10, 0){3}{\line(0, 1){20}}\multiput(0, 5)(0, 10){2}{\line(1, 0){30}}\end{picture} $

and we get :

\setlength{\unitlength}{2mm}\begin{picture}(30, 20)\linethickness{0.075mm}\multiput(0, 0)(1, 0){31}{\line(0, 1){20}}\multiput(0, 0)(0, 1){21}{\line(1, 0){30}}\linethickness{0.15mm}\multiput(0, 0)(5, 0){7}{\line(0, 1){20}}\multiput(0, 0)(0, 5){5}{\line(1, 0){30}}\linethickness{0.3mm}\multiput(5, 0)(10, 0){3}{\line(0, 1){20}}\multiput(0, 5)(0, 10){2}{\line(1, 0){30}}\end{picture}

or draw a circle :

\setlength{\unitlength}{.5cm}\begin{picture}(2,2)\qbezier(2,1)(2,2)(1,2)\qbezier(1,2)(0,2)(0,1)\qbezier(0,1)(0,0)(1,0)\qbezier(1,0)(2,0)(2,1)\end{picture}

Unknown's avatar

About zeracuse

let it be !

Leave a comment