GeneralSubsection not showing up

LaTeX specific issues not fitting into one of the other forums of this category.
Adam_LUFC
Posts: 19
Joined: Mon Jan 24, 2011 6:22 pm

Subsection not showing up

Post by Adam_LUFC »

:cry:

\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}

Whats wrong?

Recommended reading 2024:

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

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

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Subsection not showing up

Post by frabjous »

Without a complete minimal working example (that is, a complete document, including a preamble, and \documentclass{article} (or whatever), \begin{document}) it is impossible to tell. Scraps of code are useless. See the Post on Avoidable Mistakes.

This is probably unrelated, but the correct way to generate paragraph breaks in LaTeX is to use a blank line, and not \\ followed by another \\. If you want there to be a blank line between them, and for paragraphs not to be indented, I recommend putting:

Code: Select all

\usepackage{parskip}
in the preamble. Using two \\'s in a row instead could generate a lot of problems given how LaTeX's layout algorithm works.

As a beginner, take a look at the resources for beginners page.
Adam_LUFC
Posts: 19
Joined: Mon Jan 24, 2011 6:22 pm

Re: Subsection not showing up

Post by Adam_LUFC »

Ok thanks that is very useful :)

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


\begin{document}

\title{Statistical and Mathematical Models of Sport}
\author{Joe Bloggs}
\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}
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Subsection not showing up

Post by frabjous »

Some thoughts:
  • Source code needs to be put inside code boxes. See the Board Rules.
  • You are still not generating the paragraph breaks correctly. Use blank lines between paragraphs. There is no need for manual line breaks \\ at all.
  • The report class expects the major divisions to be chapters not sections. Are you sure you don't want the article class instead? (You'll then need to use a titlepage environment to get the title on its own page.)
  • The \title, \author and \date fields should be in the preamble, not the body.
  • I assume you're aware of the mispelled words? (competitivness, technqies, english, etc.)
  • Aside from that, I don't see the issue. The subsection appears just fine in the output.
If it were me, I'd change to:

Code: Select all

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

\title{Statistical and Mathematical Models of Sport}
\author{Joe Bloggs}
\date{24/01/11}

\begin{document}

\begin{titlepage}
\maketitle
\end{titlepage}
\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}
Adam_LUFC
Posts: 19
Joined: Mon Jan 24, 2011 6:22 pm

Re: Subsection not showing up

Post by Adam_LUFC »

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.

:(
Adam_LUFC
Posts: 19
Joined: Mon Jan 24, 2011 6:22 pm

Re: Subsection not showing up

Post by Adam_LUFC »

Couldn't find input index files C:\Users\Adam\Documents\project nor C:\Users\Adam\Documents\project.idx
Adam_LUFC
Posts: 19
Joined: Mon Jan 24, 2011 6:22 pm

Re: Subsection not showing up

Post by Adam_LUFC »

Also i just deleted the section Winning Fraction, saved it. But it still appears on my pdf :s
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Subsection not showing up

Post by frabjous »

I suspect the problem has to do with the configuration, or way that you're trying to use, your editor.

You are recompiling your documents after changing them, right? The preview is not live-updating; you need re-run LaTeX on the files whenever you make changes, and quite possibly close your PDF viewer and reopen it depending on settings. What button are you pressing and what are you doing, exactly?

Are any errors reported when you run them? Could you post the .log file here?
Adam_LUFC
Posts: 19
Joined: Mon Jan 24, 2011 6:22 pm

Re: Subsection not showing up

Post by Adam_LUFC »

Update

I saved what i did to usb and took it to uni. I loaded this on uni added the subsection and it was working.
I have brought it back home and it loads fine, and views everything i have updated.
But i can't do any changes whatsoever on home, it doesn't update.
Adam_LUFC
Posts: 19
Joined: Mon Jan 24, 2011 6:22 pm

Subsection not showing up

Post by Adam_LUFC »

Image
Post Reply