\documentclass[a4paper]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{lastpage}
\usepackage{pgf}
\usepackage{wrapfig}
\usepackage{fancyvrb}
\usepackage{fancyhdr}
\pagestyle{fancy}

% Create header and footer
\headheight 27pt
\pagestyle{fancyplain}
\lhead{\footnotesize{Internet Applications, ID1354}}
\chead{\footnotesize{Name of the Report}}
\rhead{}
\lfoot{}
\cfoot{\thepage\ (\pageref{LastPage})}
\rfoot{}

% Create title page
\title{Name of the Report}
\subtitle{Internet Applications, ID1354}
\author{Your Name and Email Address}
\date{Date}

\begin{document}

\maketitle

\section*{Tips for Report Writing}
\textbf{REMOVE THIS SECTION BEFORE SUBMITTING THE REPORT.}\\

\noindent \textit{The target audience has exactly the same skills as the author, except they do not know anything at all about the specific program described in the report.} \\

Consider the following:

\begin{itemize}
  \item \textbf{The report must be \textit{centered around the requirements}. Which are they (Introduction), how did you work to meet them (Method), what is the solution that meets them (Result), and how can you be sure they are met (Discussion). This is the IMRaD method.}

  \item \textbf{The report must show that you have done the work yourself and that you have understood what you have done. Both of these goals are met by carefully explaining the source code.}

  \item Is spelling and grammar correct? Is spoken language avoided?

  \item Does the report have a good structure with sections, subsections and paragraphs?

  \item Is the solution clearly explained? Will the reader understand the program? What would you yourself want to know if you read about the program, is that included in the report?

  \item Is the solution analyzed and evaluated? Are important properties of the program explained? Should there have been more extensive evaluation?

  \item Is the text clarified with code snippets, images or other figures? \textit{Avoid long code listings}, include only code that is relevant for the topic explained in the text. Remember that all figures (images, tables, graphs, code listings, etc) should be numbered and have a short explaining text.
\end{itemize}

\section{Introduction}

\textbf{This section tells \textit{what} are you going to do.} \\

\noindent Explain the task and the requirements on the solution. It is very important to \textit{clearly state the requirements}. If you wrote the program together with other students, list their names and email addresses here.

\section{Literature Study}

This section shall prove that you collected sufficient knowledge before starting development, instead of just hacking away without knowing how to complete the task. State what you have read and briefly summarize what you have learned.

\section{Method}

\textbf{This section tells \textit{how} you solved the task.} \\

\noindent Explain how you worked when solving the tasks and how you evaluated that your solution met the requirements. Mention development tools and IDEs you used. \textit{Do not explain your solution and do not include code listings}. That should be in the \textit{Result} section.

\section{Result}

\textbf{This section explains \textit{the result} of what you did.} \\

\noindent Present the solution. Explain your code and prove that it meets the requirements. It is very important to \textit{state each requirement that is met} and explain \textit{how you met it}. It is also important to include code snippets, see Figure \ref{fig:code}, user interface screen-shots, see Figure \ref{fig:ui}, and other figures to illustrate your reasoning. Also remember that these figures must be referenced in the text.

\begin{figure}[ht]
  \begin{center}
    \includegraphics[scale=0.7]{code.png}
    \caption{A sample code extract. You get syntax highlighting if you take a screen-shot of the code in your editor instead of writing it in the document.}
    \label{fig:code}
  \end{center}
\end{figure}

\begin{figure}[ht]
  \begin{center}
    \includegraphics[scale=0.3]{ui.jpg}
    \caption{A sample user interface screen-shot to illustrate caption (this text), numbering and reference in text.}
    \label{fig:ui}
  \end{center}
\end{figure}

\section{Discussion}

\textbf{This section \textit{analysis} the result presented in the previous section.} \\

\noindent Summarize the requirements and \textit{clearly state which of them you have met}. What lessons have you learnt and what problems did you face? How were the problems solved? Should you have done something differently?

\section{Comments About the Course}

Any comment(s) related to this course instance or to coming instances is appreciated. \textit{Please also tell approximately how much time you spent on the assignment}, including lectures and exercises. This is of great help for course evaluation.

\end{document}
