John R Ruckstuhl Jr (ruck@alpha.ee.ufl.edu) wrote: : Would someone give me a few rules of thumb w.r.t. ignorable whitespace?
: In LaTeX, I wrote something like:
:
: but the frameboxes were about a character space right of where I wanted : them (relative to edge of the picture box). Inserting a , : solved the problem, but is really sensible in a picture : environment?
The noindent had no effect - it just caused following spaces to be ignored
: The local guru says this is magic, and after awhile I'll get a feeling : for when whitespace counts and when it doesn't, but I'm hoping someone : here can make the rules simple and clear for me.
I think a simple outline is as follows (assuming you haven't done anything like changing cat-codes or doing etc):
1) whitespace at start of line is ignored 2) whitespace after a macro name is ignored 3) other whitespace is not ignored
You're problem has occured because you've introduced whitespace to align comments. You really need to insert the comment – try instead:
A rule of thumb is "if in doubt put a in each line".
– ————————————————————————– david shepherd: des@inmos.co.uk tel: 0454-616616 x 625 inmos ltd, 1000 aztec west, almondsbury, bristol, bs12 4sq Life doesn't imitate art, it imitates bad television - Husbands and Wives