Article View: comp.text
Article #128Re: Bug in LaTeX (???)
From: Jerry Leichter
Date: Thu, 22 Jun 1989 22:00
Date: Thu, 22 Jun 1989 22:00
46 lines
2286 bytes
2286 bytes
In article <879@cbnewsl.ATT.COM>, daved@cbnewsl.ATT.COM (david.dougherty) writes...
>
>Consider the following LaTeX input file:
>
> \documentstyle{article}
...
>
> \noindent produces the following:
>
>
>--> \noindent We note that \good{\em gnus\/}{x}{54} is fine,
> \stillgood{\em gnus\/}{x}{54},
> we see is fine, but \notgood{\em gnus\/}{x}{54} messes up any text that
> follows it.
> \end{document}
>
>My question is: Why doesn't LaTeX generate a new paragraph where the arrow is?
>
>Output:
> produces the following:
> We note...
>I though a blank line begins a new paragraph. Is this a bug, or am I doing
>something wrong? Thanks for the help.
One person has already given the wrong answer (that the \noindent says "don't
start a paragraph"). On the contrary, LaTeX IS starting a paragraph at the
indicated point. It's just not providing any paragraph INDENTATION, because
you've explictly told it not to. Since the article style provides no extra
spacing between paragraphs, there is nothing left, once you've suppressed the
indentation, to show you what happened. (Actually, that's not quite true.
The article style really inserts one point of extra "stretch" between para-
graphs, so that if you had set this page flushbottom, you would see just a bit
more space between paragraphs than within them.)
To prove to yourself that there really is a paragraph there, try adding the
following line just after \begin{document}:
\parskip 10pt
This will insert 10 points of vertical space between paragraphs.
(In many styles, paragraphs are not indented, but extra space is used above
them. In fact, all the standard LaTeX styles use that convention within
lists and, if I remember right, inside of miniboxes.)
-- Jerry
Technical Details
Message-ID:
<64450@yale-celray.yale.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!yale!leichterShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!yale!leichter From: leichter@CS.YALE.EDU (Jerry Leichter) Newsgroups: comp.text Subject: Re: Bug in LaTeX (???) Message-ID: <64450@yale-celray.yale.UUCP> Date: 22 Jun 89 22:00:09 GMT Sender: root@yale.UUCP Distribution: usa Organization: Yale Computer Science Department, New Haven, Connecticut, USA Lines: 46 X-from: leichter@CS.YALE.EDU (Jerry Leichter (LEICHTER-JERRY@CS.YALE.EDU))