There should be 5/18em horizontal gaps around the middle rectangles:

p(p

p(p

p(p

p(p

p=p

There should be no horizontal gap around the middle rectangles:

p(p

p(p

p(p

There should be 4/18em horizontal gaps around the middle rectangles:

p&&p

p&p