\documentclass[12pt, a4paper, final, oneside, titlepage, openany, openbib]{article}\usepackage{polski}
\usepackage[utf8]{inputenc}
\usepackage{amsthm}
\usepackage[intlimits]{amsmath}
\usepackage{fancyhdr}
\usepackage{geometry}
\usepackage{indentfirst}
\newif\ifpdf
\ifx\pdfoutput\undefined
\pdffalse
\else
\pdfoutput=1
\pdftrue
\fi
\ifpdf
\usepackage[pdftex]{graphicx}
\pdfcompresslevel=9
\else
\usepackage{graphicx}
\fi
\DeclareGraphicsExtensions{.pdf,.png,.eps}
\begin{titlepage}
\title{Tytuł.}
\author{Imię i nazwisko}
\date{Miejsce, data}
\end{titlepage}
\begin{document}
%zamiast \includegraphics[width=5cm]{kotek.eps}
%używać
%\ifpdf
%\includegraphics[width=5cm]{kotek}
%\else
%\includegraphics[width=5cm]{kotek.eps}
%\fi
\maketitle
\tableofcontents
\newpage
\setlength{\parindent}{12.5mm}
\setlength{\parskip}{4mm}
\section{Wstęp.}
\pagestyle{fancy}
%\rhead{\thepage}
\lhead{Wstęp.}
jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst jakiś tekst
\end{document}
Brak komentarzy:
Prześlij komentarz