🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #10758

when is whitespace ignored by LaTeX?

#10758
From: John R Ruckstuhl Jr
Date: Mon, 25 Jan 1993 21:36
48 lines
2132 bytes
Would someone give me a few rules of thumb w.r.t. ignorable whitespace?

In LaTeX, I wrote something like:

    \begin{picture}(850,1100)

    \multiput(12,0)(200,0){2}{                  % 2 columns
        \multiput(0,883)(0,-133){7}{            % 7 rows
            \framebox(200,133){\parbox[b]{1.75in}{yakyak}}
        }
    }

    \end{picture}

but the frameboxes were about a character space right of where I wanted
them (relative to edge of the picture box).  Inserting a \noindent,
like:

    \multiput(12,0)(200,0){2}{                  % 2 columns
        \multiput(0,883)(0,-133){7}{\noindent   % 7 rows
            \framebox(200,133){\parbox[b]{1.75in}{yakyak}}
        }
    }

solved the problem, but is \noindent really sensible in a picture
environment?  Also, the following will work:

    \multiput(12,0)(200,0){2}{                  % 2 columns
\multiput(0,883)(0,-133){7}{\framebox(200,133){\parbox[b]{1.75in}{yakyak}}}
    }

but really, what's the right way to be able to use indentation for
readability?
And what about the trailing whitespace in my indentation style, between 
the end of the framebox command and the "}" on the next line.  Is it
ignored as I expected, or is it likely to bite me.

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.

Thanks for your help.
Best regards,
ruck
-- 
John R. Ruckstuhl, Jr.                  ruck@alpha.ee.ufl.edu
Dept of Electrical Engineering          ruck@cis.ufl.edu, uflorida!ruck
University of Florida                   ruck%sphere@cis.ufl.edu, sphere!ruck
Technical Details
Message-ID: <1993Jan25.213654.29814@eng.ufl.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!eng.ufl.edu!alpha.ee.ufl.edu!ruck

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!eng.ufl.edu!alpha.ee.ufl.edu!ruck
From: ruck@alpha.ee.ufl.edu (John R Ruckstuhl Jr)
Subject: when is whitespace ignored by LaTeX?
Message-ID: <1993Jan25.213654.29814@eng.ufl.edu>
Sender: news@eng.ufl.edu (Usenet Diskhog System)
Organization: EE Dept at UF
Date: Mon, 25 Jan 93 21:36:54 GMT
Lines: 48