12.06.2013 Views

Using TIKZ - College of the Redwoods

Using TIKZ - College of the Redwoods

Using TIKZ - College of the Redwoods

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Drawing Diagrams<br />

Open <strong>the</strong> file WorkshopFiles/workshop11.tex and compile. A rectangle<br />

is drawn.<br />

\ d o c u m e n t c l a s s { a r t i c l e }<br />

\ usepackage { t i k z }<br />

\ b e g i n { document }<br />

\ b e g i n { c e n t e r }<br />

\ b e g i n { t i k z p i c t u r e }<br />

\ draw ( 0 , 0 ) −−(6,0) −−(6,4) −−(0,4) −−(0,0) ;<br />

\ end { t i k z p i c t u r e }<br />

\ end { c e n t e r }<br />

\ end { document }<br />

In tikz one unit equals one centimeter. This default can be changed.<br />

David Arnold (CR) <strong>Using</strong> <strong>TIKZ</strong> November 20, 2010 20 / 24

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!