12.3.20. Layout

When drawing in 2D, there are

A layout looks like:

layout l {
<<
      .1                 .2

                                   .5


      .3                 .4
>>
.1.shift 2,3mm
.2.fixH
}

Parameters for a layout:

  • .<name>: selects one of the created points, to move it or set a distance to others
    • .<name>.shift <vector> shifts the point
    • .<name>.distance(<other>)_<measure> ensures that this distance is kept
    • .<name>.fixHorizontal: fixes the point horizontally
    • .<name>.fixVertical: fixes the point vertically