Troop types defined in BL:
So, in summary:
Infantry -- no horse, no bow/crossbow
Mounted -- has a horse equipped.
Archer -- bow or crossbow equipped.
Ranged -- bow, crossbow, javelin, throwing axe, etc. equipped.
Only infantry is defined exclusively, so the rest overlap each other.