[texhax] measurements using mathematical operations

Demyan Prokopchuk dprokopchuk at gmail.com
Fri Dec 16 19:47:14 CET 2011


Is there a way to define a measurement relative to another using simple mathematical operations? For example, if I wanted a horizontal line that was one inch shorter than \textwidth?

% something like this
 \rule{\textwidth-1in}{0.2mm}







More information about the texhax mailing list