Skip to content · ⁨Saltar al contenido⁩

Drawing with TikZ · ⁨Dibujar con TikZ⁩

English

Drawing inside LaTeX

  • You can draw diagrams with code using the TikZ package — no image files needed.
  • Load it once, then draw inside a tikzpicture:
  • \draw (0,0) -- (2,1); draws a line from one point to another. Every command ends with ;.

Español

Dibujar dentro de LaTeX

  • Puedes crear diagramas con código utilizando el paquete TikZ — no se necesitan archivos de imagen.
  • Cárgalo una sola vez, luego dibuja dentro de un entorno tikzpicture:
\usepackage{tikz}
...
\begin{tikzpicture}
  \draw (0,0) -- (2,1);
\end{tikzpicture}
  • \draw (0,0) -- (2,1); traza una línea desde un punto hasta otro. Cada comando termina con ;.

Tres comandos TikZ y la línea, círculo y rectángulo que trazan

Log in or create account · ⁨Iniciar sesión o crear cuenta⁩

IGCSE, A-Level & AP