[linux] OT: Latex - zla kapitola v hlavicke strany
Pavol Lajciak
Pavol.Lajciak na fedu.ku.sk
Pondělí Březen 15 14:00:12 CET 2004
Ahojte potrebujem pomoc,
v diplomovej praci potrebujem necislovany uvod, to som
vyriesil
\chapter*{ÚVOD}
\addcontentsline{toc}{chapter}{ÚVOD}
No potom je tu problem, ze latex da do hlavicky strany, kde
je uz chapter _uvod_, este nazov predchadzajucej kapitoly,
co je v mojom pripade, este _Obsah_.
Viete niekto ako na to?
Paulus
\documentclass[a4paper,12pt,oneside,slovak]{report}
\usepackage[cp1250]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[slovak]{babel}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[dvips]{graphicx}
\usepackage{fancyhdr}
\linespread {1.3}
\newtheorem {priklad}{Príklad č.}
%\pagestyle{headings}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{\chaptername\
\thechapter.\ #1}}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{} \fancyhead[LE,RO]{\bfseries}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark} \fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt}
\fancypagestyle{plain}{\fancyhead{}
\renewcommand{\headrulewidth}{0pt}}
\addtolength{\hoffset}{0 cm} \addtolength{\textwidth}{1 cm}
\addtolength{\voffset}{-1.5 cm} \addtolength{\textheight}{2.0 cm}
\begin {document}
\tableofcontents
\chapter*{ÚVOD}
\addcontentsline{toc}{chapter}{ÚVOD}
Další informace o konferenci linux