[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [DOK] Fancy headers



Hanne Munkholm wrote:

Er der nogen der har et eksempel på sådan et dokument, der virker? Hvor
headeren får den rigtige bredde og sådan? Alternativt et link til en
forklaring på problemet.

TIA

For at give et eksempel på et dokument der virker vedhæfter jeg filen: test.tex.

Og så kan man læse http://www.ctan.org/tex-archive/macros/latex/contrib/supported/fancyhdr/fancyhdr.dvi

der i øvrigt burde ligge på 'local guide' (hvis man bruger teTeX)




-- Andrass Ziska Davidsen
\documentclass[12pt,a4paper,draft]{article}
\usepackage{ifthen}
\usepackage{fancyhdr}

\pagestyle{fancy}
\lhead{Venstre header}
\chead{Midterste header}
\rhead{\bf{Højre header, fed}}
\lfoot{\thepage (sidetal)}
\cfoot{midterste fod\\i flere linier}
\rfoot{højre fod}
\renewcommand{\headrulewidth}{2mm}
\renewcommand{\footrulewidth}{1pt}

\begin{document}

\section{Testing while-loops}

    \newcounter{i}
    \newcounter{j}
    \setcounter{i}{1}
    \setcounter{j}{1}
 
    \whiledo{\value{i} < 5}{
        \whiledo{\value{j} < 5} {
            række ''\thei'' kolonne \thej
            \stepcounter{j}}
	    \setcounter{j}{1}
        halløj\\
    \stepcounter{i}}

\end{document}


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 18:57 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *