Moja preambuła:
Kod: Zaznacz cały
\documentclass[12pt,leqno]{report}
\usepackage[cp1250]{inputenc}
\usepackage{amssymb,amsmath,theorem}
\usepackage{polski}
\usepackage[a4paper, left=3.25cm, right=2.25cm, top=3.5cm, bottom=3.75cm, headsep=1.2cm, footskip=1.5cm]{geometry}
\usepackage{indentfirst}
\usepackage{setspace}
\clubpenalty=1000
\widowpenalty=1000
\linespread{1.5}
\date{}
{\newtheorem{deffi}{Definicja}}
\renewcommand{\thedeffi}{\thesection\arabic{deffi}.}
{\newtheorem{przy}{Przykład}}
\renewcommand{\theprzy}{\thesection\arabic{przy}.}
{\newtheorem{lem}{Lemat}}
\renewcommand{\thelem}{\thesection\arabic{lem}.}
{\newtheorem{uwaga}{Uwaga}}
\renewcommand{\theuwaga}{\thesection\arabic{uwaga}.}
{\newtheorem{wla}{Własność}}
\renewcommand{\thewla}{\thesection\arabic{wla}.}
{\newtheorem{twr}{Twierdzenie}}
\renewcommand{\thetwr}{\thesection\arabic{twr}.}
\renewcommand{\thesection}{\arabic{section}.}
\renewcommand{\thesubsection}{\arabic{subsection}.}
\newtheorem{dow}{Dowód.}
\renewcommand{\thedow}