Add \convertto command
This commit is contained in:
@@ -209,6 +209,10 @@
|
||||
%% Other
|
||||
\newcommand{\horizontalrule}{\par\noindent\rule{\textwidth}{0.4pt}} % Horizontal line
|
||||
|
||||
\makeatletter
|
||||
\def\convertto#1#2{\strip@pt\dimexpr #2*65536/\number\dimexpr 1#1} % Convert units. Usage: \convertto{cm}{1pt}. From: https://tex.stackexchange.com/a/8337
|
||||
\makeatother
|
||||
|
||||
|
||||
%% User studies
|
||||
\newcommand{\factor}[1]{\textsc{#1}}
|
||||
|
||||
Reference in New Issue
Block a user