# Thread: Subsection not showing up

1. ## Subsection not showing up

\documentclass[11pt,a4paper,oneside]{report}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{parskip}

\begin{document}
\title{Statistical and Mathematical Models of Sport}
\author{rttr}
\date{24/01/11}
\maketitle
\tableofcontents
\section{Introduction}
The emergence of innovative mathematical models have vastly redefined the statistics behind sport. The possibility of technqiues such as the winning fraction and upset probability is rapidly gaining appreciation. Such approaches draw several conclusions of the data such as the relationship across the four football leagues in England.
\\The first mathematical model that will be used is the winning fraction. We find that a familiar pattern occurs between the competitivness of the leagues. In recent years the winning fraction shows us that the Premiership is less competitive than the other three leagues, furthermore the other three football leagues tend be similar in competitivness.
\\In this investigation we are going to relate predictibility and parity using a recent theoretical in which the underdog wins with a fixed upset probability, this will be the other method of competitivness. We will observe that there are less upsets in the premiership than in the other football leagues which makes it less competitive.
\\In the final part of the project we introduce a network graph to compare the standard of the footballers in every league to present day. This will be created by representing the players as nodes and if two players have played for the same team a link will be connected between them. We will discover that the players in the premier league tend to be connected to oher players in the premier league. However the players in the other 3 leagues will be more linked to each league.
\section{Winning Fraction}
The winning fraction is calculated by comparing the ratio between the number of wins in a season against the total amount of games in a season. This provides us with the strength of team, if they provide a small winning fraction then it is classified as a weak team, whereas if it has a large winning fraction it is classified as a strong team. This was computed for every team in each league from 1991-2010. And an average was calculated across the four english leagues.
\subsection{Mathematical}
The winning fraction for one league in one year is calculated by the sum of the total wins divided by the sum of the total games, which is the following:.
\end{document}

Any help? Thanks.

2. Where exactly is it not showing up? I see subsection "0.2.1 Mathematical" both in the text and in the table of contents (you need to compile twice or three times for it to make its way to the table of contents).

I would also suggest leaving a blank line to separate paragraphs instead of using \\. This indents the paragraph's first line and inserts the proper vertical space between paragraphs. Also, it gives the source code a structure that can be recognized and used by text editors.

3. Originally Posted by emakarov
Where exactly is it not showing up? I see subsection "0.2.1 Mathematical" both in the text and in the table of contents (you need to compile twice or three times for it to make its way to the table of contents).

I would also suggest leaving a blank line to separate paragraphs instead of using \\. This indents the paragraph's first line and inserts the proper vertical space between paragraphs. Also, it gives the source code a structure that can be recognized and used by text editors.
Ok thanks for the paragraph suggestion.

I have builti it loads of times but its not coming up

4. Originally Posted by emakarov
Where exactly is it not showing up? I see subsection "0.2.1 Mathematical" both in the text and in the table of contents (you need to compile twice or three times for it to make its way to the table of contents).

Also if i do another section that doesnt appear.

5. This is strange. Maybe there is another error before the subsection and the compilation stops? Try looking at the LaTeX output or in the .log file towards the end. Or try to change the file to figure out exactly which line creates the problem. Does it output any text (not necessarily another section) after the first \subsection?

6. Originally Posted by emakarov
This is strange. Maybe there is another error before the subsection and the compilation stops? Try looking at the LaTeX output or in the .log file towards the end. Or try to change the file to figure out exactly which line creates the problem. Does it output any text (not necessarily another section) after the first \subsection?
Thanks.

It still doesn't work for me

I have tried writing other sections and words after my last setction before the subsection, and they dont appear.

It's like it ends at the section Winning Fraction at the end of the last sentence four english leagues. And you can't do anything after.

8. Also i just deleted the section Winning Fraction, saved it. But it still appears on my pdf :s

9. It is strange that LaTeX is looking for some index information when the input file does not mention index. Try deleting project.aux file. This is where information is saved from one compilation to the next. If it does not help, I would start with a minimal file, e.g., this.

\documentclass{report}
\begin{document}
\tableofcontents
\section{Introduction}
\section{Winning Fraction}
\subsection{Mathematical}
\end{document}