Article View: comp.text
Article #228Re: LaTeX prints off the bottom of the first page
From: Jerry Leichter LEICHTER-JERRY
Date: Wed, 05 Jul 1989 20:10
Date: Wed, 05 Jul 1989 20:10
48 lines
2460 bytes
2460 bytes
In article <767@luna.mmsac.UUCP>, bob@mmsac.UUCP (Bob Brown) writes...
>
>Hi, I hope someone can help me figure out what's wrong with the
>following LaTeX file.
>
>When I print, there is no pagebreak at the end of the first page
>unless I force it....
>
>\documentstyle{article} % Specifies the document style.
>
>\begin{tabbing}
>...
>\end{tabbing}
>
>\begin{center}
>...
>\end{center}
>
>\begin{document}
>\large
>...
>\end{document}
You cannot have ANY text-generating stuff before the \begin{document}, or
random things will go wrong.
In most cases, LaTeX will diagnose this problem. For complex reasons that
aren't work going into, this particular example manages to evade LaTeX's
tests; so it SEEMS to work - at least for a while.
The solution to your problem is simple: Move the \begin{document} to just
after the \documentstyle, and it will work normally. (The EXPLANATION of
why LaTeX fails to diagnose the problem in this case is not simple, and in
fact would require some staring at the LaTeX sources to understand in detail.)
BTW, you might want to look at the actual text being used in this memo and
compare it what the LaTeX book says about various typographical conventions.
For example, read the LaTeX book's discussion of where to use n-dashes (--)
and where to use m-dashes (---). You might also consider defining your own
list environment for your inner lettered lists, rather than writing them out
in terms of \begin{list} each time. Even better, since you seem to want ALL
your lists to follow this format, you should think of your definitions as
creating a new style - a style very similar to "article", but distinct none-
theless. Hence, you might want to create a private variation of "article"
with \enumerate modified to follow your conventions. The kind of change you
would need to make is quite simple, and some time spent looking at the defi-
-- Jerry
Technical Details
Message-ID:
<65479@yale-celray.yale.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!yale!leichterShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!yale!leichter From: leichter@CS.YALE.EDU (Jerry Leichter (LEICHTER-JERRY@CS.YALE.EDU)) Newsgroups: comp.text Subject: Re: LaTeX prints off the bottom of the first page Message-ID: <65479@yale-celray.yale.UUCP> Date: 5 Jul 89 20:10:31 GMT Sender: root@yale.UUCP Organization: Yale Computer Science Department, New Haven, Connecticut, USA Lines: 48 X-from: leichter@CS.YALE.EDU (Jerry Leichter (LEICHTER-JERRY@CS.YALE.EDU))