I try to make a copyright text and suggested citation as table, appearing only on the first page of an article, breaking the abstract to the next page if necessary. So far, I had no great success. I tried to manipulate the footer on the first page, but this is not a very solid solution. I want to keep it as simple as possible, since I want to combine various articles into a annual edition of a journal (using the combine class, probably).
Here is a code example:
% *****************************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://ift.tt/18BcYvD}.\\
\hline \\
Published by: & Journal of all Journals,
ISSN 1111-2222 /
URL: \url{http://ift.tt/12z6Oul},
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}
}{\\ \thepage}{}
\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}
What I want it to look like (as it looks right now, but the way is the problem) is that the copyright text and stuff should appear on the first page, right above the page number, below the main text, and this table should force the main text to break to the next page, if necessary. Is there a better way? There must be, I bet. This seems very clumsy to me...
Aucun commentaire:
Enregistrer un commentaire