How many types of layouts are there in general courtyards?

General courtyard layouts can be roughly divided into two types. One is to place the main building on the vertical axis first, and then two smaller secondary buildings on the left and right sides of the yard along the horizontal axis. They face each other to form a π-shaped or H-shaped triple courtyard; or a secondary building is built opposite the main building to form a square or rectangular courtyard, which is called a quadrangle.