[texhax] too much space

Randy Schilling RChilling at comcast.net
Tue May 8 09:02:00 CEST 2007


 



 

 

                    I'm having a problem with macros that contain a lot of
code, conditionals, loops, some recursion,

                    

                    manipulation  of count registers and so on.  The product
of such macros,  that which is to be typeset,

 

                    often contains unexpected space to the left and / or
right.  Eliminating this space is my problem.  

 

                    I can see no pattern to the amount of such space, if I
could I probably wouldn't need to be writing.

 

                    The amount of this space is usually reduced by
tightening up on the code, 

 

                    by that I mean  removing gaps in the code  (gaps that
most macros I would 

 

                    to leave just to maintain readability, something
important for my failing memory).

 

                    This reduces code to one long line, gaps only at points
where, well, without them there

 

                    is no output or the output is incorrect.  One example of
such a necessary gap is between

 

                    the definition of a count register and an \if.  Like I
said, this helps but it does not eliminate the

 

                    unexpected space.

 

                    I wonder if anyone out there has had experience with
this problem; if so I would be very grateful

 

                    for a hint on how to deal with it.  In any case, thanks
very much and have a great day.

 

                    Randy

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20070508/bd2dff2a/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5048 bytes
Desc: not available
Url : http://tug.org/pipermail/texhax/attachments/20070508/bd2dff2a/attachment-0001.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1325 bytes
Desc: not available
Url : http://tug.org/pipermail/texhax/attachments/20070508/bd2dff2a/attachment-0001.gif 


More information about the texhax mailing list