Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision be18976f002fb02e27615196c05467b963b3e94c authored by Mohammad Akhlaghi on 24 October 2023, 11:54:13 UTC, committed by Mohammad Akhlaghi on 24 October 2023, 11:54:13 UTC
Minor typo corrected in paper.tex and extra Gnuastro citation removed
Until now, a "very" was mistakenly written as "ver", and an extra Gnuastro
citation 'akhlaghi19', caused an '?' within the text.

With this commit, both these problems have been solved.
1 parent 4176d29
  • Files
  • Changes
  • 5d285e9
  • /
  • tex
  • /
  • src
  • /
  • preamble-maneage-default-style.tex
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
revision badge
swh:1:rev:be18976f002fb02e27615196c05467b963b3e94c
directory badge
swh:1:dir:f1ce39d245483799804366ee60745825e2d85873
content badge
swh:1:cnt:f811743671d8df5e758b6640fda28b44caf67842

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
preamble-maneage-default-style.tex
%% General paper's style settings.
%
%% This preamble can be completely ignored when including this TeX file in
%% another style. This is done because this LaTeX build is meant to be an
%% initial/internal phase or part of a larger effort, so it has a basic
%% style defined here as a preamble. To ignore it, uncomment or delete the
%% respective line in 'paper.tex'.
%
%% Copyright (C) 2019-2023 Mohammad Akhlaghi <mohammad@akhlaghi.org>
%
%% This file is free software: you can redistribute it and/or modify it
%% under the terms of the GNU General Public License as published by the
%% Free Software Foundation, either version 3 of the License, or (at your
%% option) any later version.
%
%% This file is distributed in the hope that it will be useful, but WITHOUT
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
%% FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
%% for more details.
%
%% You should have received a copy of the GNU General Public License along
%% with this file.  If not, see <http://www.gnu.org/licenses/>.





%% Font.
\usepackage[T1]{fontenc}
\usepackage{newtxtext}
\usepackage{newtxmath}





%% Print size
\usepackage[a4paper, includeheadfoot, body={18.7cm, 24.5cm}]{geometry}





%% Set the distance between the columns if two columns:
\setlength{\columnsep}{0.75cm}





% To allow figures to take up more space on the top of the page:
\renewcommand{\topfraction}{.99}
\renewcommand{\bottomfraction}{.7}
\renewcommand{\textfraction}{.05}
\renewcommand{\floatpagefraction}{.99}
\renewcommand{\dbltopfraction}{.99}
\renewcommand{\dblfloatpagefraction}{.99}
\setcounter{topnumber}{1}
\setcounter{bottomnumber}{0}
\setcounter{totalnumber}{2}
\setcounter{dbltopnumber}{1}





%% To make the footnotes align:
\usepackage[hang]{footmisc}
\setlength\footnotemargin{10pt}





%For including time in the title:
\usepackage{datetime}





%% Define the abstract environment
\renewenvironment{abstract}
 {\vspace{-0.5cm}\small%
  \list{}{%
    \setlength{\leftmargin}{2cm}%
    \setlength{\rightmargin}{\leftmargin}%
  }%
  \item\relax}
 {\endlist}





%% To keep the main page's code clean.
\newcommand{\includeabstract}[1]{%
\twocolumn[%
  \begin{@twocolumnfalse}%
    \maketitle%
    \begin{abstract}%
    #1%
    \end{abstract}%
    \vspace{1cm}%
  \end{@twocolumnfalse}%
  ]%
}





%% Basic header style
%% ------------------
%
%% The steps below are to use the necessary LaTeX packages to get the demo
%% Maneage paper running with a reasonably looking, custom paper style. If
%% you are using a custom journal style, feel free to delete these.

%% General page header settings.
\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{\footnotesize{\scshape Draft paper}, {\footnotesize nnn:i (pp), Year Month day}}
\rhead{\scshape\footnotesize YOUR-NAME et al.}
\cfoot{\thepage}
\setlength{\voffset}{0.75cm}
\setlength{\headsep}{0.2cm}
\setlength{\footskip}{0.75cm}
\renewcommand{\headrulewidth}{0pt}

%% Specific style for first page.
\fancypagestyle{firststyle}
{
  \lhead{\footnotesize{\scshape Draft paper}, nnn:i (pp), YYYY Month day\\
  \scriptsize \textcopyright YYYY, Your name. All rights reserved.}
  \rhead{\footnotesize \footnotesize \today, \currenttime\\}
}

%To set the style of the titles:
\usepackage{titlesec}
\titleformat{\section}
  {\centering\normalfont\uppercase}
  {\thesection.}
  {0em}
  { }
\titleformat{\subsection}
  {\centering\normalsize\slshape}
  {\thesubsection.}
  {0em}
  { }
\titleformat{\subsubsection}
  {\centering\small\slshape}
  {\thesubsubsection.}
  {0em}
  { }

%% Title and author information
\usepackage{authblk}
\renewcommand\Authfont{\small\scshape}
\renewcommand\Affilfont{\footnotesize\normalfont}
\setlength{\affilsep}{0.2cm}
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API