We present details of the design, construction and testing of a single-beam optical tweezers apparatus capable of measuring and exerting torque, as well as force, on microfabricated, optically anisotropic particles (an 'optical torque wrench'). The control of angular orientation is achieved by rotating the linear polarization of a trapping laser with an electro-optic modulator (EOM), which affords improved performance over previous designs. The torque imparted to the trapped particle is assessed by measuring the difference between left-and right-circular components of the transmitted light, and constant torque is maintained by feeding this difference signal back into a custom-designed electronic servo loop. The limited angular range of the EOM (±180°) is extended by rapidly reversing the polarization once a threshold angle is reached, enabling the torque clamp to function over unlimited, continuous rotations at high bandwidth. In addition, we developed particles suitable for rotation in this apparatus using microfabrication techniques. Altogether, the system allows for the simultaneous application of forces (~0.1-100 pN) and torques (~1-10,000 pN nm) in the study of biomolecules. As a proof of principle, we demonstrate how our instrument can be used to study the supercoiling of single DNA molecules.