In this episode of Unlocking LaTeX Graphics, applied mathematician Tammy Kolda delves into advanced techniques for computing coordinates. This includes positioning nodes and coordinates in TikZ without explicit coordinates, using linear combinations of coordinates, using anchors and shifting, and performing inline calculations. The tutorial demonstrates positioning nodes relative to one another, including aligning tops, centering nodes, and creating frames with added space using the TikZ calc library. This episode serves as a precursor to arranging more complex diagrams in future tutorials. Check the show notes for relevant links and resources, and explore the tools available in Kolda's book, Unlocking LaTeX Graphics.
00:00 Welcome & Introduction
00:58 Document Preamble
01:15 Relative Node Placement (Positioning Library)
03:21 Summing Coordinates (Calc Library)
04:26 Using Anchors and Shifts
05:46 Mixing X- and Y-values from 2 Coordinates
06:48 Advanced Inline Calculations (Calc Library)
08:45 Midpoint Calculation (Calc Library)
10:00 Thanks for Watching
Key terms: tikz, node, anchor, positioning, calc, midpoint, node distance, inline
Other Episodes
Coordinate Calculations: • Coordinate Calculations in TikZ (Unlocking...
Named Coordinates: • Naming Coordinates in TikZ LaTeX Graphics ...
Shifting: • Shift, Rotate, and Scale in TikZ LaTeX Gra...
Bounding Box: • Exploring Bounding Boxes in TikZ (Unlockin...
Relative Node Placement: • Creating Graphs in TikZ: Nodes and Edges T...
Today's Document on Overleaf: https://www.overleaf.com/read/nxysbnr...
Unlocking LaTeX Graphics Book: https://latex-graphics.com
Purchase Book on Amazon: https://amzn.to/3z76nwb