Skip to main content

Style TikZ

TikZ supports colors, line forms, fills, node styles, scopes, and reusable style definitions.

Start with the general presentation settings. They control the canvas background, padding, and frame for every diagram.

Source controls

  • Put local drawing options in square brackets.
  • Define reusable styles with tikzset.
  • Use scopes to apply a style to a group.
  • Load only the libraries that the diagram needs.