To each variable in the primal space corresponds an inequality to satisfy in the dual space, both indexed by output type.
Since each inequality can be replaced by an equality and a slack variable, this means each primal variable corresponds to a dual slack variable, and each dual variable corresponds to a primal slack variable.