回忆录类文章首页上的版权文本作为表格

回忆录类文章首页上的版权文本作为表格

我尝试将版权文本和建议引用制作成表格,只出现在文章的第一页,必要时将摘要拆分到下一页。到目前为止,我并没有取得很大的成功。我尝试操纵第一页的页脚,但这不是一个非常可靠的解决方案。我想让它尽可能简单,因为我想将各种文章合并到期刊的年度版中(combine可能使用类)。

以下是一个代码示例:

% *****************************Document Class***************************************
\documentclass[12pt,twoside,a4paper,article]{memoir}
% **********************************************************************************
\usepackage[utf8]{inputenc}
\usepackage{graphics}
\usepackage{csquotes}
\setquotestyle{ngerman}
\usepackage[ngerman,english]{babel}

\usepackage{hyperref}

\usepackage{lipsum} % This package generates blind text. It's not part of the example per se...


\clubpenalty=10000
\widowpenalty=10000
\displaywidowpenalty=10000


% *******************Page Style: Page Margins*************************************


\usepackage[inner=3.5cm,outer=3cm]{geometry}

%********************************************************************************

\setcounter{secnumdepth}{-1}
% ********************************************************************************

% ****************************Abstract Keywords***********************************
\def\keywordsG#1{{\textbf{Schlagworte}:} \textit{{#1}}} %
\def\keywordsEN#1{{\textbf{Keywords}:} \textit{{#1}}} %
% ********************************************************************************



\makeoddhead{plain}{\textit{Journal of all Journals (9) 2014} }{}{}
\makeevenhead{plain}{}{}{\theauthor}
\makeoddfoot{plain}{\\ \thepage}{}{} 
\makeevenfoot{plain}{}{}{\\ \thepage} 
\setheadfoot{\onelineskip}{3\onelineskip}
%\setheaderspaces{*}{1.5\onelineskip}{*}

\copypagestyle{firstpage}{plain}
\makeoddhead{firstpage}{\textit{Journal of all Journals (9) 2014} }{}{}
\makeevenhead{firstpage}{}{}{\theauthor}
\makeoddfoot{firstpage}{



\begin{tabular}{r p{10cm}}
  \hline \\
  creative commons & This work is published under a Creative-Commons-License (Attribution-Share Alike 4.0). More information at  \url{http://creativecommons.org/licenses/by-sa/4.0/}.\\
\hline \\
Published by: & Journal of all Journals, 
ISSN 1111-2222 / 

URL: \url{http://journalofalljournals.net}, 
URN: urn:nbn:de:000-11111111-2\\
&\\
Suggested citation: & A. Author. 2014. \enquote{Title. Subtitle}. \textit{Journal of all Journals} 9(1), pp-pp. \\
\hline \\
\end{tabular}
\begin{center}
\thepage
\end{center}
}{}{} 
\makeevenfoot{firstpage}{}{\thepage}{}
\aliaspagestyle{title}{firstpage}

\setlength{\textheight}{450pt}



% ******************************Title & Author Info*********************************
\author{A. Author}
\date{}
\title{A Wonderful Title}
% *********************************************************************************



\pagestyle{plain}
\begin{document}
\maketitle
\rule{\textwidth}{0.4pt}
% ********************German Abstract & Keywords***********************************
\selectlanguage{ngerman}
\abstractrunin
\abslabeldelim{:}
\begin{abstract}
Vivamus eu tellus sed tellus consequat suscipit. Nam orci orci, malesuada id, gravida nec, ultricies vitae, erat. Donec risus turpis, luctus sit amet, interdum quis, porta sed, ipsum. Suspendisse condimentum, tortor at egestas posuere, neque metus tempor orci, et tincidunt urna nunc a purus. Sed facilisis blandit tellus. Nunc risus sem, suscipit nec, eleifend quis, cursus quis, libero. Curabitur et dolor. Sed vitae sem. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas ante. Duis ullamcorper enim. Donec tristique enim eu leo. Nullam molestie elit eu dolor. Nullam bibendum, turpis vitae tristique gravida, quam sapien tempor lectus, quis pretium tellus purus ac quam. Nulla facilisi.
\\

\keywordsG{Schlagwort1, Schlagwort 2, Schlagwort 3, Schlagwort 4}
\end{abstract}

% **********************************************************************************
\setlength{\textheight}{634pt}
%*********************English Abstract & Keywords***********************************
\selectlanguage{english}
\abstractrunin
\abslabeldelim{:}
\begin{abstract}
Vivamus eu tellus sed tellus consequat suscipit. Nam orci orci, malesuada id, gravida nec, ultricies vitae, erat. Donec risus turpis, luctus sit amet, interdum quis, porta sed, ipsum. Suspendisse condimentum, tortor at egestas posuere, neque metus tempor orci, et tincidunt urna nunc a purus. Sed facilisis blandit tellus. Nunc risus sem, suscipit nec, eleifend quis, cursus quis, libero. Curabitur et dolor. Sed vitae sem. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas ante. Duis ullamcorper enim. Donec tristique enim eu leo. Nullam molestie elit eu dolor. Nullam bibendum, turpis vitae tristique gravida, quam sapien tempor lectus, quis pretium tellus purus ac quam. Nulla facilisi.
\\

\keywordsEN{keyword1, keyword 2, keyword 3, keyword 4}
\end{abstract}

% **********************************************************************************

\pagestyle{plain}
\selectlanguage{ngerman}

% ***************************TABLE OF CONTENT***************************************
\renewcommand{\contentsname}{Content}
\tableofcontents*
% **********************************************************************************


\section{First section}
\lipsum
\section{Second Section}
\lipsum
\end{document}

我希望它看起来像(就像现在看起来的那样,但方法是个问题)是版权文本和其他内容应该出现在第一页,页码正上方,正文下方,并且此表格应强制正文在必要时分页到下一页。有更好的方法吗?我敢打赌,一定有。这对我来说似乎很笨拙……

我忘了提一下:问题不在于摘要的文本没有继续在下一页,而在于当它继续时,它会导致第二页保持\textheight与第一页相同的布局(即相同),尽管它应该是像第 3f 页这样的正常布局。

编辑 到目前为止,在我看来,最简洁的解决方案是定义一个新命令,将 放置在figure我希望它出现的每个页面的底部。这使定义标题和页脚的工作量最小化。以下是我为实现此目标所做的事情:

% *****************************Document Class***************************************
\documentclass[12pt,twoside,a4paper,openany]{memoir}
% **********************************************************************************
% ******************************Titel & Autor Info*********************************
\author{}
\date{Vol. 9 * 2014}
\title{Journal of all Journals}
% *********************************************************************************

\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage[german=guillemets]{csquotes}
\setquotestyle{ngerman}
\usepackage[ngerman,english]{babel}
\usepackage{tabularx}
\usepackage{hyperref}

\usepackage{lipsum} % This package generates blind text. It's not part of the example per se...

% *******************Page Style: Page Margins*************************************
\usepackage[inner=4cm,outer=3cm]{geometry}

% ******************************Chapter Style*************************************
\chapterstyle{dash}

% *******************Überschriften Nummerierung***********************************
%Nummerierung der Überschriften aus \setsecnumdepth{none} oder an bis Ebene # \setcounter{secnumdepth}{#}

%\setcounter{secnumdepth}{-1}
\setsecnumdepth{none}
% ********************************************************************************

% ****************************Abstract Keywords***********************************
\def\keywordsG#1{{\textbf{Schlagworte}:} \textit{{#1}}} %
\def\keywordsEN#1{{\textbf{Keywords}:} \textit{{#1}}} %
% ********************************************************************************

%***********************Header & Footer Article Normal Pages************************
\nouppercaseheads
\pagestyle{myheadings}
\makeoddhead{myheadings}{\textit{Journal of all Journals (9) 2014, S. ??--??} }{}{}
\makeevenhead{myheadings}{}{}{\thechapter}
\makeoddfoot{myheadings}{\\ \thepage}{}{} 
\makeevenfoot{myheadings}{}{}{\\ \thepage} 
\setheadfoot{\onelineskip}{3\onelineskip}
%\setheaderspaces{*}{1.5\onelineskip}{*}
\aliaspagestyle{plain}{myheadings}

%***************Copyright & Citation********************************
\usepackage{array}
    \newcolumntype{R}[1]{>{\raggedleft\arraybackslash}m{#1}}
    \newcolumntype{L}[1]{>{\raggedright\arraybackslash}m{#1}}   


\newcommand{\CCC}[1]{%
\begin{figure}[b]
\begin{tabular}[b]{R{7.5em} L{10.2cm}}
    \hline \\
    creative commons & Dieses Werk wird unter den Bedingungen einer Creative-Commons-Lizenz (Attribution-Share Alike 4.0) veröffentlicht. Weitere Informationen unter  \protect\url{http://creativecommons.org/licenses/by-sa/4.0/}.\\
    \hline \\
    Ver{\"o}ffentlicht von: & Journal of All Journals, 


    ISSN 1111-2222 / URL: \url{http://joaj.net},

URN: \href{http://nbn-resolving.de/urn:nbn:de:0267-18625886-9}{urn:nbn:de:0267-18625886-9}\\
&\\
Recommended citation: & {#1} \\
& \\
\hline \\

\end{tabular}
\end{figure}
}
%**********************************************************************************
% *********************************************************************************
\begin{document}

\mainmatter
\cleardoublepage

% *********************************************************************************
% *********************************************************************************
\chapter[Erster Artikel (A. Autor)]{Erster Artikel}
% *****************Deutsche Zusammenfassung & Schlagworte**************************
\selectlanguage{ngerman}

\begin{center}
\textit{von A. Autor}
\break
\end{center}
\CCC{B. Autor. 2014. \enquote{Title}. \textit{Journal of all Journals}. 9(1): pp-pp.}
\abstractrunin
\abslabeldelim{:}
\begin{abstract}
Vivamus eu tellus sed tellus consequat suscipit. Nam orci orci, malesuada id, gravida nec, ultricies vitae, erat. Donec risus turpis, luctus sit amet, interdum quis, porta sed, ipsum. Suspendisse condimentum, tortor at egestas posuere, neque metus tempor orci, et tincidunt urna nunc a purus. Sed facilisis blandit tellus. Nunc risus sem, suscipit nec, eleifend quis, cursus quis, libero. Curabitur et dolor. Sed vitae sem. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas ante. Duis ullamcorper enim. Donec tristique enim eu leo. Nullam molestie elit eu dolor. Nullam bibendum, turpis vitae tristique gravida, quam sapien tempor lectus, quis pretium tellus purus ac quam. Nulla facilisi.Vivamus eu tellus sed tellus consequat suscipit. Nam orci orci, malesuada id, gravida nec, ultricies vitae, erat. Donec risus turpis, luctus sit amet, interdum quis, porta sed, ipsum. Suspendisse condimentum, tortor at egestas posuere, neque metus tempor orci, et tincidunt urna nunc a purus. Sed facilisis blandit tellus. Nunc risus sem, suscipit nec, eleifend quis, cursus quis, libero. Curabitur et dolor. Sed vitae sem. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas ante. Duis ullamcorper enim. Donec tristique enim eu leo. Nullam molestie elit eu dolor. Nullam bibendum, turpis vitae tristique gravida, quam sapien tempor lectus, quis pretium tellus purus ac quam. Nulla facilisi.
\\

\keywordsG{Schlagwort1, Schlagwort2, Schlagwort3, Schlagwort4}
\end{abstract}

% **********************************************************************************

\lipsum
\cleardoublepage

% **********************************************************************************
% **********************************************************************************

\chapter[Zweiter Artikel (B. Autor)]{Zweiter Artikel}
\CCC{A. Autor. 2014. \enquote{Title}. \textit{Journal of all Journals} (9), pp-pp.}
\begin{center}
\emph{von B. Autor}
\end{center}

\lipsum
% **********************************************************************************
% **********************************************************************************

\end{document}

不幸的是,这仍然留下了标记的问题\thechapter(我认为它没有关系,或者是吗?我问了这个问题这里) 尚未解决,但似乎是一种干净且简单的方法。

优点是,我不必将文章与课程合并combine,而可以轻松地将文章收集为书中的章节。考虑到我必须为每个文档的页眉和页脚进行的所有定义,使用页眉和页脚以及随后合并的单个文档将是一团糟。然而,这一切都没有解决最初的问题(感谢@daleif以作提醒)。

答案1

我猜想还有更好的方法,我也想听听。

这是一种方法(我删除了很多内容以使示例更简单)

% *****************************Document Class***************************************
\documentclass[12pt,twoside,a4paper,article]{memoir}
% **********************************************************************************
\usepackage[utf8]{inputenc}
\usepackage{graphics}
\usepackage{csquotes}
\setquotestyle{ngerman}
\usepackage[ngerman,english]{babel}

\usepackage{hyperref}


\usepackage{lipsum} 
%\usepackage[inner=3.5cm,outer=3cm]{geometry}
\setlrmarginsandblock{3.5cm}{3cm}{*}
\checkandfixthelayout


%********************************************************************************

%\setcounter{secnumdepth}{-1}

\setsecnumdepth{none}


\usepackage{picture,calc}
\newsavebox\CopyRight
\newlength\makeway

\AtBeginDocument{
\begin{lrbox}{\CopyRight}
  \normalfont\normalsize
  \begin{tabular}[b]{r p{10cm}}
    \hline \\
    creative commons & This work is published under a Creative-Commons-License (Attribution-Share Alike 4.0). More information at  \protect\url{http://creativecommons.org/licenses/by-sa/4.0/}.\\
    \hline \\
    Published by: & Journal of all Journals, 
    ISSN 1111-2222 / 

URL: \url{http://journalofalljournals.net}, 
URN: urn:nbn:de:000-11111111-2\\
&\\
Suggested citation: & A. Author. 2014. {Title. Subtitle}. \textit{Journal of all Journals} 9(1), pp-pp. \\
\hline \\
\end{tabular}
\end{lrbox}
\setlength\makeway{\dimexpr\ht\CopyRight+\dp\CopyRight-0.5em}
\enlargethispage{-\makeway}
}

\setlength\parskip{0pt}


\copypagestyle{firstpage}{plain}
\makeoddhead{firstpage}{\textit{Journal of all Journals (9) 2014} }{}{}
\makeevenhead{firstpage}{}{}{\theauthor}
\makeoddfoot{firstpage}{%
  \begin{picture}(0,0)
    \put(0,\footskip-0.5em){\usebox{\CopyRight}}
  \end{picture}
}{\thepage}{} 
\makeevenfoot{firstpage}{}{\thepage}{}
\aliaspagestyle{title}{firstpage}



\pagestyle{plain}
\begin{document}

\thispagestyle{title}

\lipsum


\end{document}

相关内容