[texhax] Equation numbering adjustment

Lars Madsen daleif at math.au.dk
Tue Nov 18 12:48:33 CET 2014


Just to make this easier to the rest of us, do you mind posting a minimal example (i.e small compilable document) that shows the use of that code plus what ever it is you do not like.

I would just have used mathtools to change the look of the equation number.


/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif@imf / More information: http://au.dk/en/daleif@imf

________________________________
From: texhax [texhax-bounces at tug.org] on behalf of Dr A K Hannaby [keith_hannaby at mathshelp.com]
Sent: 18 November 2014 12:31
To: texhax at tug.org
Subject: [texhax] Equation numbering adjustment

Dear Tug

I use the following to set the global positioning of equation numbers in a book using amsmath.

\makeatletter
\let\mytagform@=\tagform@
\def\tagform@#1{\maketag@@@{[\ignorespaces#1\unskip\@@italiccorr]}\hspace{8mm}} % was 8mm
\renewcommand{\eqref}[1]{\textup{[\ref{#1}]}}
\makeatother

For small length equations, the numbering looks odd – it is too far to the right.

Is there a statement I can use to locally adjust the position, please?

Keith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20141118/c53d82b4/attachment.html>


More information about the texhax mailing list