Writing the Rules of Reason: Notations in Mathematical Logic, 1847–1937