Page LayoutPage got cut off!

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
buttnana
Posts: 13
Joined: Mon Sep 28, 2009 10:36 pm

Page got cut off!

Post by buttnana »

my document is suppose to be 2 pages long, but its only 1 page and the text is getting cut off at the bottom of the page.

please help!
Thanks,
Leon

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: Page got cut off!

Post by gmedina »

Hi Leon,

perhaps you are using an environment that causes the undesired behaviour; to detect the problem and provide effective help, we will need to see the actual code that you are using.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
buttnana
Posts: 13
Joined: Mon Sep 28, 2009 10:36 pm

Page got cut off!

Post by buttnana »

Code: Select all

\documentclass{article}
\makeatletter
\renewcommand\@biblabel[1]{}
\renewenvironment{thebibliography}[1]
     {\section*{\refname}%
      \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
      \list{\@biblabel{\@arabic\c@enumiv}}%
           {\settowidth\labelwidth{\@biblabel{#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            \itemindent-\labelsep
            \@openbib@code
            \usecounter{enumiv}%
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
      \sloppy
      \clubpenalty4000
      \@clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\@m}
     {\def\@noitemerr
       {\@latex@warning{Empty `thebibliography' environment}}%
      \endlist}
\makeatother\renewcommand{\refname}{}

\title{XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}
\author{Leon He}
\date{\today}
\maketitle

\begin{document}
\nocite{*}

\section{Topic of Interest}

\textbf{Keywords:} Disability, disable, consumption, work-limited, earning, income, employment, long-run shock, earning shock, health, health shock, longitudinal study, marriage, limitation, labour supply, poverty. \\


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXX

\section{Important Researches}
\subsection{The Longitudinal Structure of Earnings Losses among Work-Limited Dissabled Workers}

\emph{Paper by Charles, Kerwin K.}

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

\subsection{Disability, Earnings, Income, and Consumption}

\emph{Paper by Meyer, Bruce D. and Mok, Wallace K.C.

\section{List of References}
\bibliographystyle{chicago}
\bibliography{mybib}

\end{document}
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Page got cut off!

Post by gmedina »

Hi,

your code contains two errors:

1) \maketitle should appear after \begin{document}
2) A closing brace is missing here:

Code: Select all

\emph{Paper by Meyer, Bruce D. and Mok, Wallace K.C.
Use

Code: Select all

\emph{Paper by Meyer, Bruce D. and Mok, Wallace K.C.}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply