Looks like the first one only states the batter be inside the box before the pitch, second one says HBP in the box is dead ball, advance to first. Don't think either addresses batter in front of the box:
f
.
The batter must have both feet completely within the lines of the batter’s box prior to the start of the pitch. She may touch the
lines, but no part of her foot may be outside of the lines prior to the pitch.
NOTE: The umpire should hold up the pitch until the
batter is within the lines.
9-2-f
.
(FP ONLY) When a pitched ball, not struck at or not called a strike, touches any part of the batter’s person or clothing while she is in the batter’s box. It does not matter if the ball strikes the ground before hitting her. The batter’s hands are not part of the bat.
EFFECT:
Sec. 2f: The ball is dead and the batter is entitled to one base without liability to be put out unless she made no effort to avoid being hit. In this case, the plate umpire calls either a ball or a strike
f
.
The batter must have both feet completely within the lines of the batter’s box prior to the start of the pitch. She may touch the
lines, but no part of her foot may be outside of the lines prior to the pitch.
NOTE: The umpire should hold up the pitch until the
batter is within the lines.
9-2-f
.
(FP ONLY) When a pitched ball, not struck at or not called a strike, touches any part of the batter’s person or clothing while she is in the batter’s box. It does not matter if the ball strikes the ground before hitting her. The batter’s hands are not part of the bat.
EFFECT:
Sec. 2f: The ball is dead and the batter is entitled to one base without liability to be put out unless she made no effort to avoid being hit. In this case, the plate umpire calls either a ball or a strike