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

  • b411401
  • /
  • tex
  • /
  • src
  • /
  • preamble-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.

  • content
  • directory
content badge
swh:1:cnt:b2426f170908bd8658bed99c76e3172b8971e9ab
directory badge
swh:1:dir:9f90b1ca6590e6016d1fe8468c2ff064c760461d

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.

  • content
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
preamble-style.tex
%% style aspects that may be missing from the journal class and style file(s)

%% maths symbols
\usepackage{amsmath}

% generic quoting style, so that \enquote*{} can be selected by the journal style
\usepackage{csquotes}

%%% use the 1st/2nd line for boldface for POSTREFEREE changes;
%%% use the 3rd line  for normal font for those changes.
%%
\newcommand\postrefereechanges[1]{{\bf \color{myred} \large #1}} \newcommand\postrefereestart{ \bf \color{myred} }  \newcommand\postrefereestop{ \rm \color{black} }  \usepackage{color}  \definecolor{myred}{rgb}{0.7,0.0,0.2}

% red for electronic
%\newcommand\postrefereechanges[1]{{\bf #1}} \newcommand\postrefereestart{ \bf  }  \newcommand\postrefereestop{ \rm }   % black for printing
%%
%\newcommand\postrefereechanges[1]{#1}  \newcommand\postrefereestart{  }  \newcommand\postrefereestop{ }


%% To have links.
\usepackage{hyperref}
\renewcommand\UrlFont{\rmfamily}

%% To include figures.
\usepackage{graphicx}

%% To manage captions.
\usepackage[font={footnotesize}]{caption}

%% To use colors.
\usepackage{xcolor}

%% For creating color boxes
\usepackage[many]{tcolorbox}

%% Custom macros
\newcommand{\inlinecode}[1]{\textcolor{blue!35!black}{\texttt{#1}}}

%% To use International Phonetic Alphabet (IPA)
\usepackage{tipa}

%% Example Makefile macros
\newcommand{\mkcomment}[1]{\textcolor{red!70!white}{\# #1}}
\newcommand{\mkvar}[1]{\textcolor{orange!40!black}{#1}}
\newcommand{\mktarget}[1]{\textcolor{blue!40!black}{#1}}
\newcommand{\mkprog}[1]{\textcolor{green!30!black}{#1}}
\newcommand{\mktab}[1]{\textcolor{black!30!white}{\_\_\_TAB\_\_\_}}
\newcommand{\recipecomment}[1]{{ }{ }{ }{ }{ }{ }{ }{ }{ }\mkcomment{#1}}

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