ich editiere einen Sammelband, mit einer eigenen Vorlage (siehe Code-Beispiel). In dieser Vorlage wird auch die Kopfzeile definiert (runningauthor, runningtitle, Seitenzahlen... alles in Zeile 200 circa). Auch wird angegeben, dass dann eine Trennlinie gezogen wird zwischen Kopfzeile und eigentlichem Textkörper. Das funktioniert auch alles wunderbar, solang pdfpages nicht eingebunden wird. Dann bleiben runningauthor und -title und Seitenzahl erhalten, aber die Trennlinie ist auf einmal weg. Warum bzw. was tue ich damit die da bleibt?
Hier zunächst der code aus dem sty file:
\NeedsTeXFormat{LaTeX2e}[1995/06/01] \ProvidesClass{goeproc}[2007/02/07 1.1 (HWH)] \LoadClass[twoside]{article} \paperheight=240mm \paperwidth=170mm \ifx\pdfoutput\undefined \ClassWarningNoLine{goeproc}{You're not using PDFLaTeX. Output may differ from final version.} \IfFileExists{graphicx.sty}{\RequirePackage[dvips]{graphicx}% LaTeX \DeclareGraphicsExtensions{.eps,.ps}}{% \ClassWarningNoLine{goeproc}{Cannot find graphicx.sty; proceeding without it}} \else \ifnum\pdfoutput=0 \ClassWarningNoLine{goeproc}{You're not using PDFLaTeX with PDF output. Output may differ from final version.} \IfFileExists{graphicx.sty}{\RequirePackage[dvips]{graphicx}% LaTeX \DeclareGraphicsExtensions{.eps,.ps}}{% \ClassWarningNoLine{goeproc}{Cannot find graphicx.sty; proceeding without it}} \else \IfFileExists{graphicx.sty}{\RequirePackage[pdftex]{graphicx}% pdfLaTeX \DeclareGraphicsExtensions{.pdf,.png,.jpg}}{% \ClassWarningNoLine{goeproc}{Cannot find graphicx.sty; proceeding without it}} \pdfinfo{/Creator (goeproc.cls)} \pdfpagewidth=170mm \pdfpageheight=240mm \fi \fi \IfFileExists{goeproc-series.sty}{\RequirePackage{goeproc-series}} \RequirePackage{authblk} \RequirePackage{natbib} \setlength{\bibsep}{0pt} \bibpunct{(}{)}{;}{a}{}{,} \def\bibfont{\small} \DeclareRobustCommand*{\vec}[1]{\ensuremath{% \mathchoice{\mbox{\boldmath$\displaystyle#1$}} {\mbox{\boldmath$\textstyle#1$}} {\mbox{\boldmath$\scriptstyle#1$}} {\mbox{\boldmath$\scriptscriptstyle#1$}}}} \def\testbx{bx} \DeclareRobustCommand*{\chem}[1]{\ensuremath{% \mathcode`-="0200\mathcode`\=="003D% no space around "-" and "=" \ifx\testbx\f@series\mathbf{#1}\else\mathrm{#1}\fi}} \DeclareRobustCommand*{\unit}[1]{\ensuremath{\def\mu{\mbox{\textmu}}\def~{\,}% \ifx\testbx\f@series\mathbf{#1}\else\mathrm{#1}\fi}} \def\acknowname{Acknowledgement} \def\acknowsname{Acknowledgements} \def\refname{References} \def\abstractname{Abstract} \def\appendixname{Appendix} \def\figurename{Figure} \def\tablename{Table} \def\fnum@figure{\captionfontfamily\figurename~\thefigure} \def\fnum@table{\captionfontfamily\tablename~\thetable} \def\@normalsize{\@setsize\normalsize{12pt}\xpt\@xpt \abovedisplayskip 10\p@ plus2\p@ minus5\p@ \belowdisplayskip \abovedisplayskip \abovedisplayshortskip \z@ plus3\p@ \belowdisplayshortskip 6\p@ plus3\p@ minus3\p@ \let\@listi\@listI} \def\small{% \@setsize\small{11pt}\ixpt\@ixpt \abovedisplayskip 8.5\p@ plus3\p@ minus4\p@ \belowdisplayskip \abovedisplayskip \abovedisplayshortskip \z@ plus2\p@ \belowdisplayshortskip 4\p@ plus2\p@ minus2\p@ \def\@listi{\leftmargin\leftmargini \topsep 4\p@ plus2\p@ minus2\p@\parsep 2\p@ plus\p@ minus\p@ \itemsep \parsep}} \let\footnotesize=\small \def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt} \def\tiny{\@setsize\tiny{6pt}\vpt\@vpt} \def\large{\@setsize\large{14pt}\xiipt\@xiipt} \def\Large{\@setsize\Large{18pt}\xivpt\@xivpt} \def\LARGE{\@setsize\LARGE{22pt}\xviipt\@xviipt} \def\huge{\@setsize\huge{25pt}\pt\@xxpt} \def\Huge{\@setsize\Huge{30pt}\xxvpt\@xxvpt} \normalsize \topmargin=-2.9cm \headheight=2cm \headsep=0.5cm \topskip=12pt \footskip=0pt \oddsidemargin=-3.5mm \evensidemargin=-6.5mm \textwidth=129mm \textheight=45\baselineskip \advance\textheight by \topskip \parindent=1em \parskip 0pt plus 1pt \setcounter{topnumber}{1} %\def\topfraction{1.} \setcounter{bottomnumber}{1} \setcounter{totalnumber}{2} %\def\textfraction{0} %\def\floatpagefraction{.7} \def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus -0.2ex}{2.3ex plus 0.2ex}{\reset@font\headingfontfamily\normalsize\bfseries}} \def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus -0.2ex}{1.5ex plus 0.2ex}{\reset@font\headingfontfamily\normalsize\mdseries}} \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus -1ex minus -0.2ex}{1.5ex plus 0.2ex}{\reset@font\headingfontfamily\normalsize\mdseries}} \let\paragraph=\subsubsection \let\subparagraph=\paragraph \@ifundefined{reset@font}{\let\reset@font=\relax}{} \setcounter{secnumdepth}{3} \def\desfont{\rmfamily\bfseries\small} \def\descriptionlabel#1{\hspace\labelsep \desfont #1.} \def\description{\list{}{\labelwidth\z@ \leftmargin\z@ \itemindent-\leftmargin \let\makelabel\descriptionlabel\reset@font\small}} \let\enddescription\endlist \long\def\@makecaption#1#2{\vskip 10\p@{\reset@font\small{\bf #1.} #2\par}} \let\@oxfloat=\@xfloat \def\@xfloat#1[#2]{\@oxfloat#1[#2]\small} \def\maketitle{% \setcounter{page}{\@fpage} \thispagestyle{titlepage} \setcounter{footnote}{0}% \noindent\begin{minipage}{\hsize} \raggedright \let\footnotesize\normalsize \let\footnoterule\relax \def\thefootnote{\fnsymbol{footnote}}% \def\@mpfn{footnote}% \let\thempfn=\thefootnote \renewcommand\@makefntext[1]{% \parindent 1em \noindent \@makefnmark##1} {\vspace{20mm}\titlefontfamily\flushleft\Large\bfseries\@title\par} \vspace{10pt} {\normalsize \renewcommand{\Authfont}{\rmfamily\bfseries}% \renewcommand{\Affilfont}{\reset@font}% \setlength{\affilsep}{4pt}% \baselineskip 15pt \let\and=\sw@and \begin{minipage}[t]{\hsize}\flushleft\baselineskip=12pt% \@author \end{minipage}\par}% \vspace{20pt} \end{minipage} } \renewcommand\and{\@centercr} \newcommand\sw@and{\end{minipage}\\[1em]\begin{minipage}[t]{\hsize}% \flushleft\baselineskip12pt} \def\pubyear#1{\def\@pyear{#1}} \def\@pyear{\number\year} \def\firstpage#1{\def\@fpage{#1}} \def\@fpage{1} \def\runningauthor#1{\def\@runauth{#1}} \def\@runauth{} \def\runningtitle#1{\def\@runtit{#1}} \def\@runtit{} \def\runningheade#1{\def\@runhde{#1}} \def\@runhde{\@runauth} \def\runningheado#1{\def\@runhdo{#1}} \def\@runhdo{\@runtit} \def\lastpage@putlabel{\addtocounter{page}{-1}% \immediate\write\@auxout{\string \newlabel{LastPage}{{}{\thepage}{}{}{}}}% \addtocounter{page}{1}} \AtEndDocument{\clearpage\lastpage@putlabel} \def\@lpage{\pageref{LastPage}} \renewenvironment{abstract}{\noindent\begin{minipage}{\hsize} \reset@font\small\par\noindent{\captionfontfamily\bfseries\abstractname.} \ignorespaces}{\vspace{2\baselineskip}\end{minipage}} \newenvironment{acknowledgements}{\begin{description}\item[\acknowsname]}{\end{description}} \newenvironment{acknowledgement}{\begin{description}\item[\acknowname]}{\end{description}} \def\ps@runninghead{% \def\@oddhead{\hfil\@runhdo\hfil\makebox[\z@][r]{\thepage}\null\vadjust{\vskip .7ex\hrule}} \def\@evenhead{\makebox[\z@][l]{\thepage}\hfil\@runhde\hfil\null\vadjust{\vskip .7ex\hrule}} \def\@oddfoot{} \def\@evenfoot{}} \def\ps@titlepage{% \def\@oddhead{\procheadbox} \let\@evenhead\@oddhead \def\@oddfoot{} \def\@evenfoot{}} \pagenumbering{arabic} \flushbottom \ps@runninghead
Dann mein Minimal Beispiel ohne pdfpackage:
\documentclass{goeproc} \usepackage[ngerman]{babel} \usepackage[applemac]{inputenc} \usepackage[T1]{fontenc} \usepackage{times} \begin{document} \title{Titel Buh} \author{Autor Bäh} \runningtitle{BUH} \runningauthor{BÄH} \label{jo} \maketitle \setcounter{figure}{0} \setcounter{section}{0} \section{Einleitung} Harf \newpage hier steht erstmals der running author. \newpage hier steht erstmals der running title. \end {document}
\documentclass{goeproc} \usepackage[ngerman]{babel} \usepackage[applemac]{inputenc} \usepackage[T1]{fontenc} \usepackage{times} \begin{document} \title{Titel Buh} \author{Autor Bäh} \runningtitle{BUH} \runningauthor{BÄH} \label{jo} \maketitle \setcounter{figure}{0} \setcounter{section}{0} \section{Einleitung} Harf \newpage hier steht erstmals der running author. aber ohne Linie. \newpage hier steht erstmals der running title. aber ohne Linie. \end {document}