diff options
| author | Manuel Traut <manut@linutronix.de> | 2010-08-09 10:56:08 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@linutronix.de> | 2010-08-09 10:56:08 +0200 |
| commit | d4d3db9299cd28938ff2e3bf76358ecfc40e6beb (patch) | |
| tree | 8bfa3907820bc5891f259f1df8ac086f7297cedb /latex/lxarticle/lxheaders.sty | |
| parent | 01461250751715269100d41a556e595bb313351a (diff) | |
moved latex templates to seperate lx-cd git repo
git clone ssh://tglx.de/home/linutronix/git/lx-cd
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'latex/lxarticle/lxheaders.sty')
| -rw-r--r-- | latex/lxarticle/lxheaders.sty | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/latex/lxarticle/lxheaders.sty b/latex/lxarticle/lxheaders.sty deleted file mode 100644 index 9526a9a..0000000 --- a/latex/lxarticle/lxheaders.sty +++ /dev/null @@ -1,81 +0,0 @@ -\ProvidesPackage{lxheaders} -\RequirePackage{graphicx} -\RequirePackage{color} -%% \NeedsTexFormat{LaTeX2e} - -\setlength{\parindent}{0mm} -\topmargin-5em -\textheight230mm -\textwidth140mm -\headsep5em -\oddsidemargin10mm - -\newdimen\fullwidth \fullwidth=\textwidth -\advance\fullwidth by\marginparwidth -\advance\fullwidth by\marginparsep - -%% Linutronix Header - -\if@twocolumn\advance\fullwidth by\marginparwidth - \advance\fullwidth by\marginparsep \fi -\def\chaptermark#1{} \def\subsectionmark#1{} - -\newdimen\emptyfoot \advance\headsep by 0.5\baselineskip -\emptyfoot=\topmargin \advance\emptyfoot by 1\baselineskip - -\newdimen\emptyhead \advance\footskip by 0.5\baselineskip -\emptyhead=\topmargin \advance\emptyhead by -1\baselineskip - -\if@twoside - \def\ps@headings{\let\@mkboth=\markboth \topmargin\emptyfoot - \def\@evenhead{\hss\vbox{\hsize\fullwidth - \hbox to \fullwidth{\includegraphics[width=10em]{linutronix-right.png}\quad - \textit{\leftmark}\hfil}% - \vskip 3pt \hrule}\hss}% - \def\@oddhead{\if@twocolumn\hss\fi\vbox{\hsize\fullwidth - \hbox to \fullwidth{\hfil\textit{\rightmark}\quad - \includegraphics[width=10em]{linutronix-right.png}}% - \vskip 3pt \hrule}\hss}% - \def\sectionmark##1{\markboth - {{\ifnum\c@secnumdepth>\z@ \thesection:\enspace\fi ##1}}% - {{\ifnum\c@secnumdepth>\z@ \thesection:\enspace\fi ##1}}} } -\else - \def\ps@headings{\let\@mkboth=\markboth \topmargin\emptyfoot - \def\@oddhead{\if@twocolumn\hss\fi\vbox{\hsize\fullwidth - \hbox to \fullwidth{\hfil\textit{\rightmark}\quad - \includegraphics[width=10em]{linutronix-right.png}}% - \vskip 3pt \hrule}\hss}% - \def\sectionmark##1{\markright - {{\ifnum\c@secnumdepth>\z@ \thesection:\enspace\fi ##1}}} } -\fi - -%% Linutronix Footer - -\if@twoside - \def\ps@footings{\let\@mkboth=\markboth \topmargin\emptyhead - \def\@evenfoot{\hss\vbox{\hsize\fullwidth - \vskip 3pt - \textbf{Hallo} \color{lxcolor} \hrule height 5pt% - }\hss}% - \def\@oddfoot{\if@twocolumn\hss\fi\vbox{\hsize\fullwidth - \vskip 3pt - \textbf{Hallo} \color{lxcolor} \hrule height 5pt% - }\hss}% - \def\sectionmark##1{\markboth - {{\ifnum\c@secnumdepth>\z@ \thesection:\enspace\fi ##1}}% - {{\ifnum\c@secnumdepth>\z@ \thesection:\enspace\fi ##1}}} } -\else - \def\ps@footings{\let\@mkboth=\markboth \topmargin\emptyfoot - \def\@oddfoot{\if@twocolumn\hss\fi\vbox{\hsize\fullwidth - \vskip 3pt - \color{lxcolor} \hrule height 5pt% - \vskip 3pt - \hbox to \fullwidth{\textsc{\rightmark}\hfil - \textbf{\thepage}}}\hss}% - \def\sectionmark##1{\markright - {{\ifnum\c@secnumdepth>\z@ \thesection:\enspace\fi ##1}}} } -\fi - - -\pagestyle{headings} -\pagestyle{footings} |
