%& --translate-file=cp1250pl
\documentclass[11pt]{article}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{latexsym}
\usepackage{epsfig,graphics, color}          %allows figures to be inserted in .eps format
\usepackage[polish]{babel}
\usepackage[T1]{fontenc}


%this is a comment

%use this as a template only... you may not need the subsections,
%or lists however they are placed in the document to show you how 
%do it if needed.


%THINGS TO REMEMBER
%to compile a latex document - latex filename.tex
%to view the document        - xdvi filename.dvi
%to create a ps document     - dvips filename.dvi
%to create a pdf document    - dvipdf filename.dvi
%{\bf TEXT}                  - bold font TEXT
%{\it TEXT}                  - italic TEXT
%$ ... $                     - places ... in math mode on same line
%$$ ... $$                   - places ... in math mode on new line
%more info at www.cs.wm.edu/~mliskov/cs423_fall04/tex.html


\setlength{\oddsidemargin}{.25in}
\setlength{\evensidemargin}{.25in}
\setlength{\textwidth}{6in}
\setlength{\topmargin}{-0.4in}
\setlength{\textheight}{8.5in}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\notes}[5]{
    \renewcommand{\thepage}{#1 - \arabic{page}}
    \noindent
    \begin{center}
    \framebox{
        \vbox{
        \hbox to 5.78in { { \bf RAP 412}
        \hfill #2}
        \vspace{4mm}
        \hbox to 5.78in { {\Large \hfill #5 \hfill} }
        \vspace{2mm}
        \hbox to 5.78in { {\it #3 \hfill #4} }
        }
    }
    \end{center}
    \vspace*{4mm}
}
\newtheorem{lm}{Lemat}
\newtheorem{df}{Definicja}
\newtheorem{wn}{Wniosek}
\newtheorem{zd}{Zadanie}
\newtheorem{tw}{Twierdzenie}
\newtheorem{zs}{Zasada}
\newtheorem{pb}{Problem}
\newtheorem{fk}{Fakt}
\newtheorem{np}{Przyk\l ad}
\newtheorem*{zdd}{Zadanie}%%% zadanie bez numeru

\newcommand{\ho}[5]{\notes{#1}{#2}{Wyk�adowca: #3}{Pisarz:#4}{Wyk�ad #1: #5}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%begins a LaTeX document
\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%insert the date
%insert your name
%insert the lecture title in place of the placeholders
\ho{1}{Data}{Andrzej Ruci�ski}{Name}{Tytu� wyk�adu}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%begin new section ... places Introduction in bold larger font
\section{Wst�p}

%makes section without a section number
\section*{Wst�p}

% Place the introduction to the lecture here!
% Good place to put what the main points of the lecture was

%if you wish to use subsections
\subsection{Pierwszy Podrozdzia�}

\subsection{Drugi Podrozdzia�}

\subsection*{Podrozdzia� bez numeru}


\section{Rozdzia� 2}

\begin{df}W ten spos�b wprowadzamy definicje
\end{df}  

\section{Rozdzia� 3}

\begin{itemize}
\item  bullets 1 and places it into italics
\item  bullets 2 and places it into italics
\end{itemize}

\section{Rozdzia� 4}

\begin{figure}[h]
\begin{center}
\includegraphics[scale=0.5]{cmm}
\caption{Rysunek w formacie *.eps wycentrowany i pomniejszny}
\end{center}
\end{figure}

%ends document
\end{document}



