I have some text and after that I want to insert a figure. The text almost finishes on the second page, so I want to place the figure on the top of the third page (right after the text), but I cant. I've read the placement commands frome here: http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions and I tried all the different options (i.e. \begin{figure}[t!], \begin{figure}[t], \begin{figure}[b], \begin{figure}[h], ...) but the figure stays on the same place in the middle of the third page. I want it to go at the top. What I am missing? Here is the code:
\documentclass[11pt]{article}
\usepackage{amssymb,amsmath}
\usepackage{pgf}
\usepackage{tikz}
\usepackage{amsthm}
\usepackage{graphicx}
\graphicspath{ {img/} }
\usepackage{fullpage}
\usepackage{algorithm}
\usepackage{algorithmicx}
\usepackage{algpseudocode}
\newtheorem{thm}{Theorem}
\newtheorem{thm1}{Theorem}
\theoremstyle{definition}
\usepackage{float}
\newtheorem{defn}{Definition}[section]
\floatname{algorithm}{Algorithm}
\newcommand{\euler}{e}
\newenvironment{claim}[1]{\par\noindent\underline{Claim:}\space#1}{}
\newenvironment{claimproof}[1]{\par\noindent\underline{Proof:}\space#1}{\hfill $\blacksquare$}
\begin{document}
\title{some titlw}
\author{me}
\date{\today}
\maketitle
\section{Some section}
sdfsdfdsfsdfsdfsdfdfvdxffvdxvxdvcdFvSDFdxfvdxfvxfcvxdfvxcfvxcvxcVxCVxcVxcVxcvcvxxcVxcVvcx sdfsdfdsfsdfsdfsdfdfvdxffvdxvxdvcdFvSDFdxfvdxfvxfcvxdfvxcfvxcvxcVxCVxcVxcVxcvcvxxcVxcVvcx
sdfsdfdsfsdfsdfsdfdfvdxffvdxvxdvcdFvSDFdxfvdxfvxfcvxdfvxcfvxcvxcVxCVxcVxcVxcvcvxxcVxcVvcx sdfsdfdsfsdfsdfsdfdfvdxffvdxvxdvcdFvSDFdxfvdxfvxfcvxdfvxcfvxcvxcVxCVxcVxcVxcvcvxxcVxcVvcx
sdfsdfdsfsdfsdfsdfdfvdxffvdxvxdvcdFvSDFdxfvdxfvxfcvxdfvxcfvxcvxcVxCVxcVxcVxcvcvxxcVxcVvcx s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