Page LayoutPage layout messed up

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
xly
Posts: 7
Joined: Fri Mar 06, 2009 4:00 am

Page layout messed up

Post by xly »

Hi,
I am new to Latex, so please forgive me if my question is stupid. I keep on getting a messed up page layout formatting and I cannot find out why - Could anybody help? I am using the following Code:

Code: Select all

\documentclass[pdftex,12pt,a4paper]{article}
\usepackage[textwidth=16cm]{geometry}
\usepackage[usenames,dvipsnames]{color}
\usepackage{xcolor}
\usepackage{fancyhdr}
\usepackage{enumerate}
\usepackage[pdftex]{graphicx}
\pagestyle{fancy}
\fancyhead{}
\cfoot{\sffamily{\textcolor{blue}{Venezuela Profile}}}
\rfoot{\thepage}
\renewcommand{\footrulewidth}{0.4 pt}
\setlength{\headheight}{16pt}
 

% Personal control sequences
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}



\begin{document}
 
\input{./title}


\pagenumbering{roman} 
\tableofcontents 

%\thispagestyle{empty} 


\newpage
\pagenumbering{arabic}
 \setcounter{page}{1}  

\part{Introduction}

 

\part{Historical Setting}
The following chapter presents a brief history of Venezuela, with an emphasis on the modern history of Democratic Venezuela.

\section{Colonization}
\label{sec:col}


\section{Independence}
\label{sec:ind}


\section{Pre-Democratic Venezuela}
\label{sec:pre}


\section{Democratic Venezuela}
\label{sec:dem}


\part{The Society and its Environment}


	\section{Geography}

		\subsection{Topography}

		\subsection{Climate}

		\subsection{Hydrography}
		
		
	\section{Population Dynamics}
	
                \subsection{Population Profile}
                
                \subsection{Migration}
                
                \subsection{Settlement Patterns} 
                
	\section{Social Stratification}
	
                \subsection{The Elite}
                
                \subsection{The Middle Class}
                
                \subsection{Peasants}
                
                \subsection{Workers and the Urban Lower Class}
                
	\section{Ethnic Groups}
	
	\section{Modernization, Social Values, and Religion}
	
	 \section{Social Welfare}
	 
	 	\subsection{Education}
		
		\subsection{Social Welfare}


      
\part{The Economy}
         \section{Growth and Structure of the Economy}
          \section{Economic Policy}
                \subsection{Fiscal Policy}
                \subsection{Monetary and Exchange Rate Policies} 
          \section{Labor}
                \subsection{Formal Sector}
                \subsection{Informal Sector} 
          \section{Agriculture}
                \subsection{Land Policies}
                \subsection{Land Use}
                \subsection{Crops}
                      \subsubsection{Food Crops}
                      \subsubsection{Cash Crops} 
                \subsection{Livestock}
                \subsection{Farming Technology}
                \subsection{Fishing and Forestry} 
          \section{Energy and Industry}
                \subsection{Petroleum}
                \subsection{Natural Gas and Petrochemicals}
                \subsection{Electricity}
                \subsection{Mining}
                \subsection{Manufacturing}
                \subsection{Construction} 
          \section{Services}
                \subsection{Banking and Financial Services}
                \subsection{Transportation}
                \subsection{Telecommunications}
                \subsection{Tourism} 
          \subsection{Foreign Economic Relations}
                \subsection{Foreign Trade}
                \subsection{Balance of Payments}
                \subsection{Foreign Debt}
                \subsection{Foreign Assistance} 


\part{Government and Politics}
          \section{The Governmental System}
                \subsection{Constitutional Development}
                \subsection{The Executive}
                \subsection{The Legislature}
                \subsection{The Judiciary}
                \subsection{Public Administration}
                \subsection{Local Government}
                \subsection{The Electoral System} 
          \section{Political Dynamics}
                \subsection{Political Developments since 1958}
                \subsection{Interest Groups and Major Political Actors}
                \subsection{Political Parties}
                \subsection{Formal and Informal Dynamics of Public Policy}
                \subsection{The Mass Media} 
          \subsection{Foreign Relations} 


\part{National Security}
          \section{History of the Armed Forces}
          \section{Strategic Setting}
                \subsection{Venezuela and the United States}
                \subsection{Venezuela and Colombia}
                \subsection{Venezuela and Guyana}
                \subsection{Venezuela and Brazil} 
          \subsection{Role of the Military in National Life}
                \subsection{Missions}
                \subsection{Manpower}
                \subsection{Defense Spending} 
          \section{Armed Forces Organization, Training, and Equipment}
                \subsection{The Army}
                \subsection{The Navy}
                \subsection{The Air Force}
                \subsection{The Armed Forces of Cooperation (National Guard)}
                \subsection{Uniforms, Ranks, and Insignia} 
          \subsection{Internal Security and Public Order}
                \subsection{Threats to Internal Security}
                \subsection{Law Enforcement Agencies}
                \subsection{The Criminal Justice System}
                \subsection{The Prison System}
                

\part{Human Development}


\part{Investment Indicators}

\part{Conclusion}
                
                		  
\bibliographystyle{unsrt}
\bibliography{References}
  

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Page layout messed up

Post by localghost »

You should not only insert headings but fill the document with some text. If the problem persists, it is essential to reduce the problem to a self-contained and minimal example. Otherwise I'm pessimistic about specific help.


Thorsten
Post Reply