summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/przechlewski-book/p44.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/przechlewski-book/p44.tex')
-rw-r--r--Master/texmf-dist/doc/latex/przechlewski-book/p44.tex46
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/przechlewski-book/p44.tex b/Master/texmf-dist/doc/latex/przechlewski-book/p44.tex
new file mode 100644
index 00000000000..8819448e5b6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/przechlewski-book/p44.tex
@@ -0,0 +1,46 @@
+\documentclass[a4paper,twoside]{report}
+\usepackage{polski}
+\usepackage[utf8]{inputenc}
+\usepackage{fancyhdr}
+
+\pagestyle{fancy} %% deklarujemy styl "fancy"
+\fancyhead{} \fancyfoot{} %% "zresetuj" zawarto¶æ pagin
+\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
+\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
+
+\fancyhead[LE,RO]{\normalfont \small \thepage}
+\fancyhead[LO]{\normalfont \small \itshape \rightmark}
+\fancyhead[RE]{\normalfont \small \itshape \leftmark}
+
+\fancypagestyle{plain}{\fancyhead{}\renewcommand{\headrulewidth}{0pt}}
+
+\begin{document}
+
+
+\chapter{RozdziaƂ pierwszy}
+
+\section{Punkt jeden-jeden}
+a\newpage
+b\newpage
+\section{Punkt jeden-dwa}
+x\newpage
+y\newpage
+z\newpage
+p\newpage
+
+%% %% %% %% %% %% %% %%
+\chapter{RozdziaƂ drugi}
+\section{Punkt dwa-jeden}
+q\newpage
+r\newpage
+s\newpage
+t\newpage
+\section{Punkt dwa-dwa}
+
+\chapter{RozdziaƂ trzeci}
+\section{Punkt 3-jeden}
+w\newpage
+
+\section{Punkt 3-2}
+
+\end{document}