With TikZ, you draw directly in LaTeX: lines, shapes, axes, curves. It is powerful… and a little verbose — which is why a visual editor is handy to get started.
The basics: lines and shapes
Everything happens inside \begin{tikzpicture} … \end{tikzpicture}. \draw draws; you give coordinates (x,y).
Compile Compile: a triangle and a circle.
-- connects points, cycle closes the shape, circle draws a disc.Modify Your turn: change the fill colour of the circle and increase its radius. Compile.
Show the solution
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[fill=orange!40] (0,0) circle (1.5);
\end{tikzpicture}
\end{document}Axes and a curve
Compile Compile: two axes and the parabola y = x².
plot draws the curve point by point. Without coding every line: build your figures and graphs visually, then grab the TikZ code. Discover the visual editors →
Key point: everything is drawn inside
tikzpicture with \draw and coordinates; -- connects, circle draws a disc, plot traces a curve.You have covered the essentials! From your first document to TikZ figures, you now know how to produce a real LaTeX document. The next step happens in the full editor.
Open the full editor