I think I may have confused a few.


sorry.
Here is a better diagram of what's going on, attached pdf file.
The main aim is to choose a door width to clear the jamb.
The opening is set, the door/gate thickness is chosen and the final clearance is also chosen.
Thanks to all especially Pythagoras
Richard
Ps How embarrassing.