I'm a newbie with Latex and on these forums so please be patient. I have tried Latex just recently because it seems really great for writing reports. Everything is great but I have a problem I can't seem to figure out.
Maybe I don't understand something, but 95% of my document is abiding by the margins I specified with the geometry package. I have attached a sample tex code with a page that has out of margin/border text and also a screenshot of the resulting document.
Please tell me what I am doing wrong.
Code: Select all
\documentclass[12pt,a4paper,openany]{book}
\usepackage{fancyhdr}
\usepackage{graphicx,epsfig}
\usepackage[slovene]{babel}
\usepackage[cp1250]{inputenc}
\usepackage{graphics}
\usepackage{float}
\usepackage{listings}
\lstset{numbers=none,breaklines=true}
\catcode`\"=13
\def"#1{\v #1}
\usepackage[top=2cm, bottom=3cm, left=2cm, right=2cm]{geometry}
\pagestyle{fancy}
\fancyfoot{}
\fancyhead{}
\fancyhead[LE, OR]{\thepage}
\renewcommand{\headrulewidth}{0.0pt}
\renewcommand{\footrulewidth}{0.0pt}
%********************************************
\thispagestyle{empty}
\begin{document}
\setlength{\parindent}{0in}
\chapter{LITERATURA IN VIRI}
\thispagestyle{fancy}
[1] (2011) Dokumentacija knjižnice IT Hit WebDAV .Net Server Engine. Dostopno na: http://www.webdavsystem.com/server.
[2] (2011) Splošno o protokolu WebDAV. Dostopno na: http://en.wikipedia.org/wiki/WebDAV.
[3] (2011) Protokol WebDav. Dostopno na: http://www.webdav.org/.
[4] (2011) RFC 2518 (HTTP Extensions for Distributed Authoring -- WEBDAV). Dostopno na: http://www.ietf.org/rfc/rfc2518.txt.
[5] (2011) RFC 3253 (Versioning Extensions to WebDAV). Dostopno na: http://www.ietf.org/rfc/rfc3253.txt.
[6] (2011) Microsoft .NET Framework 3.5 System.Net.HttpListener dokumentacija. Dostopno na: http://msdn.microsoft.com/en-us/library/system.net.httplistener.aspx.
\end{document}
