From c318568cef429df71e699eaaa024feb85715b3d0 Mon Sep 17 00:00:00 2001
From: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Date: Wed, 28 Feb 2018 16:30:01 +0100
Subject: Header for pages, new font and author management

The computer modern font that was designed by Donald Knuth and is the
default of LaTeX is indeed a very good, elegant and nice font in
print. However, most journals choose the roman fonts and thus the computer
modern font doesn't (subjectively) fit into the journal format nicely. So
the default font of this pipeline's paper now uses LaTeX's `newtx' package
for a roman style font.

Also, a set of preamble settings were added to allow headers in the pages
of the paper to make the result resemble more like a journal paper
(familiar to the eye), while also adding important information. A new
header was made for this job. This new header now also contains the title
and author settings (after all, these are also a type of header).

Finally, the LaTeX `authblk' package was used to organize authors and their
affiliations.
---
 paper.tex | 30 +++++++++++++++++++++++++-----
 1 file changed, 25 insertions(+), 5 deletions(-)

(limited to 'paper.tex')

diff --git a/paper.tex b/paper.tex
index 4dd644a..a423e33 100644
--- a/paper.tex
+++ b/paper.tex
@@ -21,6 +21,7 @@
 %% paper, while keeping modularity in the preambles.
 \input{tex/pipeline.tex}
 \input{tex/preamble-style.tex}
+\input{tex/preamble-header.tex}
 \input{tex/preamble-biblatex.tex}
 \input{tex/preamble-pgfplots.tex}
 \input{tex/preamble-necessary.tex}
@@ -37,9 +38,8 @@
 %% Start writing.
 \begin{document}
 
-%% Write the title, authors and date.
+%% Abstract, keywords and reproduction pipeline notice.
 \includeabstract{
-  %% -------- Delete this ---------
 
   You have completed the reproduction pipeline and are ready to configure
   and implement it for your own research. This template reproduction
@@ -51,10 +51,23 @@
   reproducible. If this pipeline proves useful in your research, please
   cite \citet{ai15}.
 
-  %% ------------------------------
+  \vspace{0.25cm}
+
+  \textsl{Keywords}: Add some keywords for your research here.
+
+  \textsl{Reproducible paper}: Generated from reproduction pipeline
+  \pipelineversion{} and Gnuastro \gnuastroversion. Pipeline available at:
+  \url{https://link-to.the/git/repo-of-your-pipeline}.
 }
 
-%% -------- Delete this ---------
+%% To add the first page's headers.
+\thispagestyle{firststyle}
+
+
+
+
+
+%% Start of the main body of text.
 \section{Congratulations!}
 Congratulations on running the reproduction pipeline! You can now follow
 the checklist in the \texttt{README.md} file to customize this pipeline to
@@ -124,6 +137,9 @@ new co-authors (who don't want to be distracted by these issues in their
 first time reading).
 
 
+
+
+
 \section{Notice and citations}
 To encourage other scientists to publish similarly reproducible papers,
 please add a notice close to the start of your paper or in the end of the
@@ -137,9 +153,13 @@ cite the first paper that used the first version of this pipeline:
 After publication, don't forget to upload all the necessary data, software
 source code and the reproduction pipeline to a long-lasting host like
 Zenodo (\url{https://zenodo.org}).
-%% ------------------------------
 
 
 
+
+
+%% Tell BibLaTeX to put the bibliography list here.
 \printbibliography
+
+%% Finish LaTeX
 \end{document}
-- 
cgit v1.2.1

