5

Using Styles and Pics

In the previous two chapters, we learned about styles and used them with nodes, edges, labels, and pins. Now, we will take a closer look at styles and how to use them efficiently. Furthermore, we will deal with mini TikZ pictures that can be used as building blocks within a drawing.

Our main topics are the following:

  • Understanding styles
  • Defining and using styles
  • Inheriting styles
  • Using styles globally and locally
  • Giving arguments to styles
  • Creating and using pics

By the end of this chapter, you will know how to draw pictures more efficiently without repetitive syntax.

Technical requirements

As with every chapter, you need to have a LaTeX installation, including TikZ, or you can work online with Overleaf or work with ...

Get LaTeX Graphics with TikZ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.