Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!jarthur!euler.claremont.edu!dhosek From: dhosek@euler.claremont.edu (Don Hosek) Newsgroups: comp.text.tex Subject: Re: \parindent rides again Message-ID: <1991May6.182229.1@euler.claremont.edu> Date: 7 May 91 01:22:29 GMT References: <1991May6.151933.9484@rice.edu> Sender: news@jarthur.Claremont.EDU Organization: Harvey Mudd College Lines: 53 In article <1991May6.151933.9484@rice.edu>, dorai@titan.rice.edu (Dorai Sitaram) writes: > I'd like for my paragraphs to undergo \parindentation only when they > have leading spaces -- or tabs -- in the source. (While I'm in broad > agreement with LaTeX's indentation policy -- I do want indented > paragraphs most of the time --, the constant use of \noindent to > suppress \parindentation at several crucial points drives me up the > wall -- in addition to probably being against Hosek's Never Do > Procedurally What You Can Do Structurally commandment.) TeX guru: someone who has principals named after him? ;-) > Thus, this paragraph is indented. > This isn't. > I've tried using \everypar to \futurelet the following character > (after making spaces temporarily active) and check for spaceness, but > it appears LaTeX's \sectioning commands -- and probably a host of > others -- mess with \everypar too, occasioning too much crossfire. > I'd be grateful for any ideas. Aside from the input, you're still being visual. Where and why are you placing \noindent commands? My money is after displayed text (equations, quotations, lists). If I'm right, your problem can be solved by leaving out the blank line after the \end{equation}, \end{itemize}, \], etc. commands. e.g., Einstein's formula \[ E=mc^{2} \] is a simplification of the general form rather than Einstein's formula \[ E=mc^{2} \] \noindent is a simplification of the general form -dh -- Don Hosek | To retrieve files from ymir via the mailserver, dhosek@ymir.claremont.edu | send a message to mailserv@ymir.claremont.edu Quixote Digital Typography | with a line saying send [DIRECTORY]FILENAME 714-625-0147 | where DIRECTORY is the FTP directory (sans ---------------------------+ "anonymous") and FILENAME is the filename, e.g. "send [tex]00readme.txt". There is a list of files in each directory under the name 00files.txt. Binary files are not available by this technique.