lua magic for runningtitle workx
This commit is contained in:
parent
ce2fd402c7
commit
948519f73c
|
@ -60,7 +60,7 @@
|
||||||
|
|
||||||
\rehead[]{\tikz[overlay]{\node[xshift=0.3mm,yshift=0.9mm]{\includegraphics[width=1cm]{Logo_CCC}};}}
|
\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}};}}
|
\rohead[]{\tikz[overlay]{\node[xshift=0.3mm,yshift=0.9mm]{\includegraphics[width=1cm]{Logo_CCC}};}}
|
||||||
\chead{\directlua{tex.print(ruhetmp or "nrn")}}
|
\chead{\directlua{tex.print(ruhetmp or "Bitte runninghead setzen")}}
|
||||||
\setheadsepline{0.5pt}
|
\setheadsepline{0.5pt}
|
||||||
|
|
||||||
\ifoot[]{Datenschleuder. \@volume / \@year}
|
\ifoot[]{Datenschleuder. \@volume / \@year}
|
||||||
|
@ -82,7 +82,6 @@
|
||||||
\twocolumn[
|
\twocolumn[
|
||||||
% \renewcommand{\@runninghead}{\@runningheadtmp}
|
% \renewcommand{\@runninghead}{\@runningheadtmp}
|
||||||
\textsf{\Huge\@title}
|
\textsf{\Huge\@title}
|
||||||
\directlua{ruhetmp=nil}
|
|
||||||
|
|
||||||
\begin{center}%
|
\begin{center}%
|
||||||
\textsf{von \@author}%FIXME: implement mail and array of authors
|
\textsf{von \@author}%FIXME: implement mail and array of authors
|
||||||
|
@ -91,7 +90,7 @@
|
||||||
{\bfseries\@DSabstract}
|
{\bfseries\@DSabstract}
|
||||||
\vspace*{3mm}
|
\vspace*{3mm}
|
||||||
]
|
]
|
||||||
|
\directlua{ruhetmp=nxruhetmp nxruhetmp=nil}
|
||||||
\normalsize
|
\normalsize
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -101,7 +100,8 @@
|
||||||
%\newcommand{\@runninghead}{}
|
%\newcommand{\@runninghead}{}
|
||||||
%\newcommand{\@runningheadtmp}{}
|
%\newcommand{\@runningheadtmp}{}
|
||||||
%\newcommand{\runninghead}[1]{\renewcommand{\@runningheadtmp}{#1}}
|
%\newcommand{\runninghead}[1]{\renewcommand{\@runningheadtmp}{#1}}
|
||||||
\newcommand{\runninghead}[1]{\directlua{ruhetmp = "\luatexluaescapestring{#1}"}}
|
\newcommand{\runninghead}[1]{\directlua{nxruhetmp = "\luatexluaescapestring{#1}"}}
|
||||||
|
\newcommand{\manrunninghead}[1]{\directlua{ruhetmp = "\luatexluaescapestring{#1}"}}
|
||||||
\define@key{DSarticleKeys}{runninghead}[\@title]{\runninghead{#1}}
|
\define@key{DSarticleKeys}{runninghead}[\@title]{\runninghead{#1}}
|
||||||
|
|
||||||
\newenvironment{DSarticle}[1][]{%
|
\newenvironment{DSarticle}[1][]{%
|
||||||
|
|
|
@ -7,8 +7,9 @@
|
||||||
\usepackage{lipsum}
|
\usepackage{lipsum}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
\manrunninghead{Leserbriefe}
|
||||||
|
|
||||||
|
|
||||||
\runninghead{Leserbriefe}
|
|
||||||
\begin{letter}
|
\begin{letter}
|
||||||
\begin{question}
|
\begin{question}
|
||||||
Liebe Redaktion, ich finde die neue Datenschleuder ganz toll! Macht weiter so!!!
|
Liebe Redaktion, ich finde die neue Datenschleuder ganz toll! Macht weiter so!!!
|
||||||
|
|
Loading…
Reference in New Issue