From e4948270cfc867e7b7feb86af36ab6c97f133563 Mon Sep 17 00:00:00 2001
From: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Date: Tue, 10 Jun 2025 21:17:35 +0200
Subject: Maneage'd A&A (Astronomy and Astrophysics) journal style

Until this commit, the LaTeX style and settings of the core Maneage branch
were very generic and customizing for each separate journal required some
time to prepare the LaTeX style.

With this commit, a first attempt at customization of Maneage for the LaTeX
styles of the A&A journal. Note that EDP Science (the publisher of A&A) has
only claimed copyright in their style files, but hasn't actually specified
a license. Given that they have no objection to arXiv or Overleaf freely
distributing their style files, there is no problem is releasing these
files within this branch of Maneage also (only for people who want to use
their style to publish in their journal).
---
 paper.tex | 82 +++++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 48 insertions(+), 34 deletions(-)

(limited to 'paper.tex')

diff --git a/paper.tex b/paper.tex
index 2c1a587..9bf037c 100644
--- a/paper.tex
+++ b/paper.tex
@@ -1,6 +1,6 @@
 %% Copyright (C) 2018-2025 Mohammad Akhlaghi <mohammad@akhlaghi.org>
 %% See the end of the file for license conditions.
-\documentclass[10pt, twocolumn]{article}
+\documentclass{tex/src/journal/aa}
 
 %% (OPTIONAL) CONVENIENCE VARIABLE: Only relevant when you use Maneage's
 %% '\includetikz' macro to build plots/figures within LaTeX using TikZ or
@@ -43,22 +43,10 @@
 %% title. If you later use a different LaTeX style, please use the same
 %% '\projectitle' in it (after importing 'tex/build/macros/project.tex'
 %% like above), don't type it by hand.
-\title{\large \uppercase{\projecttitle}}
+\title{\projecttitle}
+\subtitle{}
+
 
-%% AUTHOR INFORMATION: For a more fine-grained control of the headers
-%% including author name, or paper info, see
-%% 'tex/src/preamble-header.tex'. Note that if you plan to use a journal's
-%% LaTeX style file, you will probably set the authors in a different way,
-%% feel free to change them here, this is just basic style and varies from
-%% project to project.
-\author[1]{Your name}
-\author[2]{Coauthor one}
-\author[1,3]{Coauthor two}
-\affil[1]{The first affiliation in the list.; \url{your@email.address}}
-\affil[2]{Another affilation can be put here.}
-\affil[3]{And generally as many affiliations as you like.
-\par \emph{Received YYYY MM DD; accepted YYYY MM DD; published YYYY MM DD}}
-\date{}
 
 
 
@@ -72,26 +60,51 @@
 %% Start creating the paper.
 \begin{document}
 
-%% Project abstract and keywords.
-\includeabstract{
-  Welcome to Maneage (\emph{Man}aging data lin\emph{eage}) and reproducible papers/projects, for a review of the basics of this system, please see \citet{maneage}.
-  You are now ready to configure Maneage and implement your own research in this framework.
-  Maneage contains almost all the elements that you will need in a research project, and adding any missing parts is very easy once you become familiar with it.
-  For example it already has steps to downloading of raw data and necessary software (while verifying them with their checksums), building the software, and processing the data with the software in a highly-controlled environment.
-  But Maneage is not just for the analysis of your project, you will also write your paper in it (by replacing this text in \texttt{paper.tex}): including this abstract, figures and bibliography.
-  If you design your project with Maneage's infra-structure, don't forget to add a notice and clearly let the readers know that your work is reproducible, we should spread the word and show the world how useful reproducible research is for the sciences, also don't forget to cite and acknowledge it so we can continue developing it.
-  This PDF was made with Maneage, commit \projectversion{}.
+%% AUTHOR INFORMATION following the A&A journal style.
+\author{
+  Your name\inst{1}
+  \and Coauthor one\inst{2}
+  \and Coauthor two\inst{1,3}
+}
+
+\institute{
+  The first affiliation in the list.\\
+  \email{your@email.address}
+  \thanks{From A\&A: shows the usage of elements in the author field}
+  \and The next affilation can be put here.
+  \and This is the third affiliation in the list.
+}
+
+\date{Received September 30, 20XX}
+
+\abstract
+    { % Context heading (optional: leave it empty if necessary)
+      Welcome to Maneage (\emph{Man}aging data lin\emph{eage}) and reproducible papers/projects, for a review of the basics of this system, please see \citet{maneage}.
+      You are now ready to configure Maneage and implement your own research in this framework.
+    }
+    { % Aims heading (mandatory)
+      Maneage contains almost all the elements that you will need in a research project, and adding any missing parts is very easy once you become familiar with it.
+      For example it already has steps to downloading of raw data and necessary software (while verifying them with their checksums), building the software, and processing the data with the software in a highly-controlled environment.
+    }
+    { % Methods heading (mandatory)
+      But Maneage is not just for the analysis of your project, you will also write your paper in it (by replacing this text in \texttt{paper.tex}): including this abstract, figures and bibliography.
+    }
+    { % Results heading (mandatory)
+      If you design your project with Maneage's infra-structure, don't forget to add a notice and clearly let the readers know that your work is reproducible, we should spread the word and show the world how useful reproducible research is for the sciences, also don't forget to cite and acknowledge it so we can continue developing it.
+    }
+    { % Conclusions heading (optional: leave it empty if necessary
+      This PDF was made with Maneage, commit \projectversion{}.
+    }
 
-  \vspace{0.25cm}
 
-  \textsl{Keywords}: Add some keywords for your research here.
+\keywords{
+  Good --
+  Keywords --
+  For this project
+}
 
-  \textsl{Reproducible paper}: All quantitave results (numbers and plots)
-  in this paper are exactly reproducible with Maneage
-  (\url{https://maneage.org}).  }
+\maketitle
 
-%% To add the first page's headers.
-\thispagestyle{firststyle}
 
 
 
@@ -193,8 +206,9 @@ The European Union (EU) Horizon 2020 (H2020) research and innovation programmes
 The State Research Agency (AEI) of the Spanish Ministry of Science, Innovation and Universities (MCIU) and the European Regional Development Fund (ERDF) under the grant AYA2016-76219-P.
 The IAC project P/300724, financed by the MCIU, through the Canary Islands Department of Economy, Knowledge and Employment.
 
-%% Tell BibLaTeX to put the bibliography list here.
-\printbibliography
+%% Tell BibTeX to put the bibliography list here.
+\bibliographystyle{aa}
+\bibliography{references}
 
 %% Start appendix.
 \appendix
-- 
cgit v1.2.1

