firstluatry stateless runningheader
This commit is contained in:
parent
3c8425739f
commit
ac6b0aa0ef
|
@ -60,7 +60,7 @@
|
|||
|
||||
\rehead[]{\tikz[overlay]{\node[xshift=0.3mm,yshift=0.9mm]{\includegraphics[width=1cm]{Logo_CCC}};}}
|
||||
\rohead[]{\tikz[overlay]{\node[xshift=0.3mm,yshift=0.9mm]{\includegraphics[width=1cm]{Logo_CCC}};}}
|
||||
\chead{\@runninghead}
|
||||
\chead{\directlua{tex.print(ruhetmp or "nrn")}}
|
||||
\setheadsepline{0.5pt}
|
||||
|
||||
\ifoot[]{Datenschleuder. \@volume / \@year}
|
||||
|
@ -80,8 +80,9 @@
|
|||
|
||||
\renewcommand{\maketitle}{%
|
||||
\twocolumn[
|
||||
\renewcommand{\@runninghead}{\@runningheadtmp}
|
||||
% \renewcommand{\@runninghead}{\@runningheadtmp}
|
||||
\textsf{\Huge\@title}
|
||||
\directlua{ruhetmp=nil}
|
||||
|
||||
\begin{center}%
|
||||
\textsf{von \@author}%FIXME: implement mail and array of authors
|
||||
|
@ -97,9 +98,10 @@
|
|||
\define@key{DSarticleKeys}{title}{\title{#1}}%
|
||||
\define@key{DSarticleKeys}{author}{\author{#1}}
|
||||
\define@key{DSarticleKeys}{DSabstract}{\renewcommand{\@DSabstract}{#1}}
|
||||
\newcommand{\@runninghead}{}
|
||||
\newcommand{\@runningheadtmp}{}
|
||||
\newcommand{\runninghead}[1]{\renewcommand{\@runningheadtmp}{#1}}
|
||||
%\newcommand{\@runninghead}{}
|
||||
%\newcommand{\@runningheadtmp}{}
|
||||
%\newcommand{\runninghead}[1]{\renewcommand{\@runningheadtmp}{#1}}
|
||||
\newcommand{\runninghead}[1]{\directlua{ruhetmp = "\luatexluaescapestring{#1}"}}
|
||||
\define@key{DSarticleKeys}{runninghead}[\@title]{\runninghead{#1}}
|
||||
|
||||
\newenvironment{DSarticle}[1][]{%
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
############################################################################
|
||||
|
||||
# the documents to be compiled by default
|
||||
DOC=$(foreach i,$(shell grep -l documentclass *.tex), $(basename $i))
|
||||
#DOC=$(foreach i,$(shell grep -l documentclass *.tex), $(basename $i))
|
||||
DOC=schleuderbeispiel
|
||||
# if svgs should be compiled as pdf or png
|
||||
SVG_TARGET_EXT=pdf
|
||||
|
|
Loading…
Reference in New Issue