Results 1 to 10 of 10

Math Help - Subsection not showing up

  1. #1
    Senior Member
    Joined
    Oct 2008
    Posts
    393

    Unhappy 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.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Oct 2009
    Posts
    5,537
    Thanks
    778
    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.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Senior Member
    Joined
    Oct 2008
    Posts
    393
    Quote Originally Posted by emakarov View Post
    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
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Senior Member
    Joined
    Oct 2008
    Posts
    393
    Quote Originally Posted by emakarov View Post
    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).
    It just ends at 0.2 Winning Fraction and it doesn't appear in my table of contents.

    Also if i do another section that doesnt appear.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    MHF Contributor
    Joined
    Oct 2009
    Posts
    5,537
    Thanks
    778
    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?
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Senior Member
    Joined
    Oct 2008
    Posts
    393
    Quote Originally Posted by emakarov View Post
    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.
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Senior Member
    Joined
    Oct 2008
    Posts
    393
    Couldn't find input index files C:\Users\Adam\Documents\project nor C:\Users\Adam\Documents\project.idx
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Senior Member
    Joined
    Oct 2008
    Posts
    393
    Also i just deleted the section Winning Fraction, saved it. But it still appears on my pdf :s
    Follow Math Help Forum on Facebook and Google+

  9. #9
    MHF Contributor
    Joined
    Oct 2009
    Posts
    5,537
    Thanks
    778
    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}

    Then I would add things gradually.

    Also i just deleted the section Winning Fraction, saved it. But it still appears on my pdf :s
    With me it happens sometimes when I compile with latex instead of pdflatex.
    Follow Math Help Forum on Facebook and Google+

  10. #10
    Senior Member
    Joined
    Oct 2008
    Posts
    393
    Thanks very much for your help, i worked out what i was doing wrong.

    I had put this \usepackage{amsmath}
    and the other maths package

    So i got rid of 1
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Showing being even
    Posted in the Geometry Forum
    Replies: 2
    Last Post: September 7th 2011, 10:06 AM
  2. Replies: 1
    Last Post: July 12th 2011, 09:53 PM
  3. Showing LHS = RHS
    Posted in the Calculus Forum
    Replies: 2
    Last Post: February 26th 2010, 09:16 AM
  4. Showing that Z<x,y> is not a UFD
    Posted in the Advanced Algebra Forum
    Replies: 0
    Last Post: January 27th 2010, 09:37 AM
  5. Showing That it is onto?
    Posted in the Advanced Algebra Forum
    Replies: 2
    Last Post: October 9th 2008, 08:00 AM

Search Tags


/mathhelpforum @mathhelpforum