Podtrzeni v Myheadings

Kodlson kodlson at cmail.cz
Thu Mar 8 09:29:18 CET 2001


Snad uz vyreseno :). Pouzil jsem Fancyhdr styl. 




\documentclass[A4paper,oneside]{book}
\usepackage[czech]{babel}
\usepackage[cp1250]{inputenc}
\usepackage{fancyhdr}

\newif\ifpdf          %rozhodovani o prelozeni dokumentu
%\pdffalse% nechci vystup do pdf
\pdftrue % chci vystup do pdf
\ifpdf
   \usepackage{hyperref}
\fi
\usepackage{graphicx}
% nastaveni okraju

\hoffset=-1in   %vynulování OK
\voffset=-1in
\oddsidemargin=35mm  %levý okraj textu OK
\textheight=220mm  %výška textu OK
\textwidth=150mm   %šířka textu  OK
\topmargin=5mm   %
\headheight=35mm
\renewcommand{\baselinestretch}{1.2}  %nastavení řádkování

\pagestyle{fancy}

\fancyhead{}

\fancyhead[LE,RO]{\thepage}

\fancyhead[LO,RE]{\slshape \leftmark}

\fancyfoot{}


\begin{document}
%\maketitle  %úvodní stránka
\chapter{Teorie}
%\thispagestyle{}
\include{fddi}   %vstup externiho tex souboru (FDDI část)
\include{ethernet}
\tableofcontents   %generování obsahu
\end{document}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.felk.cvut.cz/pipermail/cstex/attachments/20010308/47c82ed4/attachment-0002.html>


More information about the csTeX mailing list