[texhax] Equation numbering adjustment - minimal example

Dr A K Hannaby keith_hannaby at mathshelp.com
Tue Nov 18 19:51:10 CET 2014


Lars

Minimal example attached.

Hope it is clear what I mean.

Keith

 

 

 

From: Lars Madsen [mailto:daleif at math.au.dk] 
Sent: 18 November 2014 11:49
To: Dr A K Hannaby; texhax at tug.org
Subject: RE: [texhax] Equation numbering adjustment

 

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{8m
m}} % 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/8de6da02/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minimal.tex
Type: application/octet-stream
Size: 2441 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20141118/8de6da02/attachment-0001.obj>


More information about the texhax mailing list