← All templates

Journal of Theoretical, Computational and Applied Mechanics (jtcam_preprint)

Preprint class of the diamond open-access mechanics journal JTCAM on Episciences; the sample explains the class options, nomenclature, theorem environments, TikZ/PGFPlots figures and biblatex with software citations.

Create an account to use this
Category
Journal
Document class
jtcam_preprint (jtcam_preprint.cls) — ships with TeX Live
Workflow
Journal manuscript — submissions and revision rounds
Author
Journal of Theoretical, Computational and Applied Mechanics (Episciences)
Source
Journal of Theoretical, Computational and Applied Mechanics (Episciences)
Licence
jtcam_preprint.cls: GNU General Public License. The sample text is Journal of Theoretical, Computational and Applied Mechanics (Episciences)'s, provided for authors preparing a submission.

These are the publisher’s own files. This project starts from Journal of Theoretical, Computational and Applied Mechanics (Episciences)’s package for this publication — their manuscript, their jtcam_preprint.cls, their bibliography style — so what compiles here is what they would have given you.

Journal of Theoretical, Computational and Applied Mechanics (Episciences) serves this exact file to Journal of Theoretical, Computational and Applied Mechanics. Check Journal of Theoretical, Computational and Applied Mechanics (Episciences)’s author pages for the current instructions.

Where this differs from the publisher’s download.

  • Note: The sample uses the OptSoft option (biber with biblatex-software). For BibTeX, remove the option and change \addbibresource to refsbibtex.bib, as the comment at the top says.

What you get

  • ORCIDlogo.pdf · 1 KB
  • figures/MatlabBad2.jpg · 29 KB
  • figures/MatlabGood.pdf · 95 KB
  • figures/MatlabGood.tex · 717 B
  • figures/MatlabOK.pdf · 22 KB
  • figures/fig1.pdf · 82 KB
  • figures/fig1.tex · 961 B
  • figures/fig2.pdf · 91 KB
  • figures/fig2.tex · 1 KB
  • figures/fig3.pdf · 91 KB
  • figures/fig3.tex · 940 B
  • jtcam_preprint.cls · 13 KB
  • main_preprint.tex — the file that is compiled · 42 KB
  • refs.bib · 6 KB
  • refsbibtex.bib · 4 KB

These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.

Journals using this template

Source

ORCIDlogo.pdf — binary, 1 KB

figures/MatlabBad2.jpg — binary, 29 KB

figures/MatlabGood.pdf — binary, 95 KB

figures/MatlabGood.tex · 717 B
\documentclass[10pt]{standalone}
\usepackage{pgfplots}
\usepackage[ttscale=.875]{libertine}
\usepackage[libertine]{newtxmath}
\makeatletter
%\renewcommand*\libertine@figurestyle{LF}
%\renewcommand*\libertine@figurestyle{OsF}
\makeatother
\input glyphtounicode
\pdfgentounicode=1

\begin{document}
\begin{tikzpicture}[font=\small]
\begin{axis}[
	scale=.9,
	enlargelimits=false,
	xlabel={Time (s)},
	ylabel={Voltage (V)},
	xlabel near ticks,
	ylabel near ticks,
	yticklabel style={rotate=90},
	]
\addplot [red,thick,domain=0:0.5,samples=200]{cos(10*2*pi*deg(x))};
\addplot [blue,thick,domain=0:0.5,samples=200]{exp(-0.5*x)*cos(9*2*pi*deg(x)+2/3*pi)};
\legend{Phase 1,Phase 2}
\end{axis}
\end{tikzpicture}
\end{document}

figures/MatlabOK.pdf — binary, 22 KB

figures/fig1.pdf — binary, 82 KB

figures/fig1.tex · 961 B
\documentclass[tikz,10pt]{standalone}
\usepackage{pgfplots}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{JTCAMcolor}{RGB}{10,40,80}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\usepackage[ttscale=.875,oldstyle]{libertine}
\renewcommand*\libertine@figurestyle{LF}
\usepackage[libertine]{newtxmath}
\renewcommand*\libertine@figurestyle{OsF}
\input glyphtounicode
\pdfgentounicode=1
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{tikzpicture}[font=\small]
\begin{axis}[
    ylabel near ticks,
	ymin=0,
	ymax=1,
	enlargelimits=false,
	ylabel={Age [year]},
	xlabel={Quantity [kg]},
	]
\addplot
	[const plot,fill=black!30,draw=none] 
coordinates
{(0,0.1)    (0.1,0.15)  (0.2,0.5)   (0.3,0.62)
 (0.4,0.56) (0.5,0.58)  (0.6,0.65)  (0.7,0.6)
 (0.8,0.58) (0.9,0.55)  (1,0.52)} 
	\closedcycle;
\end{axis}
\end{tikzpicture}
\end{document}

figures/fig2.pdf — binary, 91 KB

figures/fig2.tex · 1 KB
\documentclass[tikz,10pt]{standalone}
\usepackage{pgfplots}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{JTCAMcolor}{RGB}{10,40,80}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\usepackage[ttscale=.875,oldstyle]{libertine}
\renewcommand*\libertine@figurestyle{LF}
\usepackage[libertine]{newtxmath}
\renewcommand*\libertine@figurestyle{OsF}
\input glyphtounicode
\pdfgentounicode=1
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{tikzpicture}[font=\small]
\begin{axis}[width=7cm,scatter/classes={
	a={mark=square*,JTCAMcolor!33},%
	b={mark=triangle*,JTCAMcolor!66},%
	c={mark=o,draw=JTCAMcolor}},
	xlabel={$x$-label [units]},
	ylabel={$y$-label [units]},
	%enlargelimits=false,
	ylabel near ticks
	]

	% \addplot[] is better than \addplot+[] here:
	% it avoids scalings of the cycle list
	\addplot[scatter,only marks,
		scatter src=explicit symbolic]
		coordinates {
			(0.1,0.15)  [a]
			(0.45,0.27) [c]
			(0.02,0.17) [a]
			(0.06,0.1)  [a]
			(0.9,0.5)   [b]
			(0.5,0.3)   [c]
			(0.85,0.52) [b]
			(0.12,0.05) [a]
			(0.73,0.45) [b]
			(0.53,0.25) [c]
			(0.76,0.5)  [b]
			(0.55,0.32) [c]
		};
\end{axis}
\end{tikzpicture}
\end{document}

figures/fig3.pdf — binary, 91 KB

figures/fig3.tex · 940 B
\documentclass[tikz,10pt]{standalone}
\usepackage{pgfplots}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{JTCAMcolor}{RGB}{10,40,80}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\usepackage[ttscale=.875,oldstyle]{libertine}
\renewcommand*\libertine@figurestyle{LF}
\usepackage[libertine]{newtxmath}
\renewcommand*\libertine@figurestyle{OsF}
\input glyphtounicode
\pdfgentounicode=1
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{tikzpicture}[font=\small]
\begin{axis}[width=7cm,
	%title=Discarding unbounded coords,
	unbounded coords=discard,
	xlabel={$x$-label [units]},
	ylabel={$y$-label [units]},
	enlargelimits=false,
	ylabel near ticks
	]

	\addplot[line width=1pt] coordinates {
		(0,0) (10,50) (20,100) (30,200) 
		(40,inf) (50,600) (60,800) (80,1000)
	};
\end{axis}
\end{tikzpicture}
\end{document}
jtcam_preprint.cls · 13 KB
%     This program is free software: you can redistribute it and/or modify
%     This program 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 program 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 program.  If not, see <https://www.gnu.org/licenses/>.

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{jtcam_preprint}[2020/04/16 JTCAM preprint template v1.0]

% Options for this jtcam_preprint class
\def\optbib{0}
\DeclareOption{OptBiber}{\xdef\optbib{1}}
\DeclareOption{OptSoft}{\xdef\optbib{2}}

\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions*\relax
\ExecuteOptions{}
\LoadClass[11pt,a4paper]{article}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Some of the needed packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\RequirePackage{adjustbox}
\RequirePackage{etoolbox,xpatch}
\RequirePackage[table]{xcolor}
\RequirePackage{graphicx}
\RequirePackage{titlesec}
\RequirePackage{fancyhdr}
\RequirePackage[style]{abstract}
\RequirePackage[marginal]{footmisc}
\RequirePackage{subcaption}
\RequirePackage{enumitem}
\setlist{nosep}
\RequirePackage{authblk}
\RequirePackage[english]{babel}
\RequirePackage[fleqn]{amsmath}
\RequirePackage{amsthm}
\RequirePackage{float}
\newfloat{Algorithm}{ht}{lop}
\RequirePackage{algpseudocode} 
\RequirePackage{multicol}
\RequirePackage[notocbasic]{nomencl}
\RequirePackage[expansion=alltext,shrink=50]{microtype}
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage{siunitx}
\RequirePackage{ifmtarg}
\RequirePackage{csquotes}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Nomenclature
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\xpatchcmd{\thenomenclature}
%  {\section*{\nomname}}
%  {}
%  {}{}
  
\xpatchcmd{\thenomenclature}{%
  \section*{\nomname}% Look for `\section*... etc.
}{% Replace it by 'nothing'
}{\typeout{Success}}{\typeout{Failure}}

\makenomenclature

\renewcommand{\nomgroup}[1]%
{%
    \ifthenelse{\equal{#1}{A}}%
    {\item[]\hspace*{-\leftmargin}%
    {\sffamily\textbf{Roman symbols}}\nolinebreak}%
    {%
        \ifthenelse{\equal{#1}{B}}%
        {\vspace{2\parsep}\item[]\hspace*{-\leftmargin}%
        {\sffamily\textbf{Greek symbols}}\nolinebreak}%
        {%
            \ifthenelse{\equal{#1}{C}}%
			{\vspace{2\parsep}\item[]\hspace*{-\leftmargin}%
			{\sffamily\textbf{Abbreviations}}\nolinebreak}%
			{%
				\ifthenelse{\equal{#1}{D}}%
				 {\vspace{2\parsep}\item[]\hspace*{-\leftmargin}%
				{\sffamily\textbf{Maths}}\nolinebreak}
				{}%
			}%
        }%
    }%
}%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Journal environments and definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\@keywordsname{Keywords}
\newcommand{\keywords}[1]{\def\@keywords{#1}}
\newcommand{\runningtitle}[1]{\def\@runningtitle{#1}}  
\newcommand{\runningauthor}[1]{\def\@runningauthor{#1}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Fonts
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\RequirePackage[ttscale=.875,oldstyle]{libertine}
\renewcommand*\libertine@figurestyle{LF}
\RequirePackage[libertine]{newtxmath}
\renewcommand*\libertine@figurestyle{OsF}
\input glyphtounicode
\pdfgentounicode=1

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Page set-up/margins
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\RequirePackage{geometry}%
\geometry{%
	left=32mm,
	top=17.5mm,
	bottom=17.5mm,
	right=32mm,
	footskip=10.5mm,
	footnotesep=\baselineskip,
	headheight=1cm,
	headsep=5.5mm,
	a4paper,
	}% Jan 10, 2022	
	

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Maths content and theorem environments
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%	
			
% Math indent
\setlength{\mathindent}{\parindent}

% After list indents: https://tex.stackexchange.com/q/5526
\def\@endtheorem{\endtrivlist}%

% Alignment problem in align env
\patchcmd{\start@aligned}{\null\,}{\null}{}{}%

\newtheoremstyle{exampstyle}
  {1.25\topsep} 	% Space above
  {1.25\topsep} 	% Space below
  {} 			% Body font
  {} 			% Indent amount
  {\bfseries} 	% Theorem head font
  {} 			% Punctuation after theorem head
  {.5em} 		% Space after theorem head
  {\bfseries\thmname{#1}\thmnumber{ #2}\@ifmtarg{#3}{\relax}{\space---\space\thmnote{#3}}}			% Theorem head spec (can be left empty, meaning `normal')

\newtheoremstyle{proofstyle}
  {1.25\topsep} 	% Space above
  {1.25\topsep} 	% Space below
  {} 			% Body font
  {} 			% Indent amount
  {\bfseries} 	% Theorem head font
  {} 			% Punctuation after theorem head
  {.5em} 		% Space after theorem head
  {\bfseries\thmname{#1}\thmnumber{ #2}\@ifmtarg{#3}{\relax}{\space---\space\thmnote{#3}}}			% Theorem head spec (can be left empty, meaning `normal')

\theoremstyle{exampstyle}
\newtheorem{theorem}{Theorem}
\newtheorem{corollary}{Corollary}
\newtheorem{lemma}{Lemma}
\newtheorem*{Sremark}{Remark}
\newtheorem{remark}{Remark}
\newtheorem{example}{Example}
\newtheorem{proposition}{Proposition}
\newtheorem{definition}{Definition}
\theoremstyle{proofstyle}
\newtheorem*{myproof}{Proof}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% List of authors and affiliations
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\renewcommand{\Authfont}{\bfseries}
\renewcommand{\Affilfont}{\footnotesize\normalfont}
\renewcommand\AB@authnote[1]{\textsuperscript{#1}}
\renewcommand\AB@affilnote[1]{\textsuperscript{#1}\,}
\setlength{\affilsep}{.75\baselineskip}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ORCID Icon
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newbox{\myorcidaffilbox}
\sbox{\myorcidaffilbox}{\includegraphics[height=1.7ex]{ORCIDlogo}}
\newcommand{\orcid}[1]{\kern1pt\href{https://orcid.org/#1}{\usebox{\myorcidaffilbox}}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title page
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\renewcommand{\@maketitle}{%%
  \mbox{}%\vskip-2.25cm%
  \noindent%\hskip-5.25cm%
  {\setlength\parskip{\z@}\noindent}
  \hbox{}\vskip\dimexpr.3cm%
  \raggedright%
  \bookmark[named=FirstPage]{\@title}%
  {\LARGE\raggedright\bfseries\sffamily\@title\par}%
  \vskip1.5\baselineskip%
  \@author\par%
  \vskip-\baselineskip%
  \normalfont\normalsize%
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Abstract
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\renewcommand{\abstitlestyle}[1]{\relax}
\setlength{\absparsep}{\z@}
\setlength{\abstitleskip}{25pt}
\setlength{\absleftindent}{\z@}
\setlength{\absrightindent}{\absleftindent}

\appto{\abstract}{%
\pdfbookmark[section]{Abstract}{abstract}%
  \setlength{\parindent}{\z@}%
  \noindent\ignorespaces%
}
\appto{\endabstract}{%
  \noindent\footnotesize\@keywordsname\quad\@keywords\\[10pt]%
  {\rule{\textwidth}{1\p@}}\par%
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Sectioning
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\setcounter{secnumdepth}{3}
\titlespacing*{\section}{\z@}{\baselineskip}{.3em}
\titlespacing*{\subsection}{\z@}{.7\baselineskip}{.1em}
\titlespacing*{\subsubsection}{\z@}{.5\baselineskip}{\z@}
\titlespacing*{\paragraph}{\z@}{.4\baselineskip}{1em}
	
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Colored tables and algorithms
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\renewcommand{\arraystretch}{1.25}
\BeforeBeginEnvironment{tabular}{%
	\centering\small\begin{adjustbox}{bgcolor=black!6}%
	}%
\AfterEndEnvironment{tabular}{%
	\end{adjustbox}%
	}%
\BeforeBeginEnvironment{tabular*}{%
	\centering\small\begin{adjustbox}{bgcolor=black!6}%
	}%
\AfterEndEnvironment{tabular*}{%
	\end{adjustbox}%
	}%
\BeforeBeginEnvironment{algorithmic}{%
	\centering\small%
	\begin{adjustbox}{cfbox=black!6 .5pt 5pt,bgcolor=black!6}%%
	\begin{minipage}[t]{\dimexpr\linewidth-11pt}%
	}%
\AfterEndEnvironment{algorithmic}{%
	\end{minipage}%
	\end{adjustbox}%
	}%	

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Page headers and footers
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\fancyhf{}
\renewcommand{\footrulewidth}{.5\p@}
\renewcommand{\headrulewidth}{.5\p@}

\fancyhead[L]{%
	\footnotesize\@runningauthor\hfill\@runningtitle%
	}%
	
% all other pages
\def\version{}
\pagestyle{plain}%
\fancyfoot[L]{%
	\footnotesize\version\hfill\thepage%
}%

% first page
\pagestyle{fancy}%
\fancypagestyle{plain}{%
	\fancyhf{}
	\renewcommand{\headrule}{}
	\renewcommand{\footrulewidth}{.5\p@}
	\fancyfoot[L]{%
		\footnotesize\version\hfill\thepage}%
	}%
	
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Captions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\captionsetup*{%
	format=plain,%
	singlelinecheck=false,%
	font={small},%
	labelfont={small,normalfont,bf,sf},%
	%labelsep=none,%
	}
	
\captionsetup*[sub]{%
    justification=centering,
	labelfont={footnotesize,bf,sf},
	%format=plain,%
	labelformat=simple
	}
	
\renewcommand\thesubfigure{(\alph{subfigure})}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
% Bibliography
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifnum\optbib=0
\RequirePackage[%
	backend=bibtex,
	firstinits=true,
	isbn=false,%
	url=false,%
	dashed=false,			  
	style=authoryear,
	maxcitenames=1,
	maxbibnames=99,
	]{biblatex}
\fi

\ifnum\optbib=1
\RequirePackage[%
	backend=biber,
	firstinits=true,
	isbn=false,%
	url=false,%
	dashed=false,			  
	style=authoryear,
	maxcitenames=1,
	maxbibnames=99,
	]{biblatex}
\fi

\ifnum\optbib=2
\RequirePackage[%
	backend=biber,
	firstinits=true,
	isbn=false,%
    datamodel=software,
	dashed=false,			  
	style=authoryear,
	maxcitenames=1,
	maxbibnames=99,
	]{biblatex}
\usepackage{software-biblatex}

% software-biblatex specific bibliography options
\ExecuteBibliographyOptions{
	halid=true,
	swhid=true,
	swlabels=true,
	vcs=true,
	license=false}
\fi

% oai/HAL eprint type
\DeclareFieldFormat{eprint:oai}{%
\textsc{hal}:~\href{https://hal.archives-ouvertes.fr/#1}%
	{\(\langle\)\nolinkurl{#1}\(\rangle\)}
}

% other biblatex options
\DeclareFieldFormat{postnote}{\printtext[bibhyperref]{#1}}	

\renewbibmacro{in:}{}
\renewcommand{\finentrypunct}{}

\DeclareCiteCommand{\cite}
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \printtext[bibhyperref]{\usebibmacro{cite}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\DeclareCiteCommand*{\cite}
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \printtext[bibhyperref]{\usebibmacro{citeyear}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\DeclareCiteCommand{\parencite}[\mkbibparens]
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
    \printtext[bibhyperref]{\usebibmacro{cite}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\DeclareCiteCommand*{\parencite}[\mkbibparens]
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
    \printtext[bibhyperref]{\usebibmacro{citeyear}}}
  {\multicitedelim}
  {\printtext[bibhyperref]{\usebibmacro{postnote}}}

\DeclareCiteCommand{\footcite}[\mkbibfootnote]
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
  \printtext[bibhyperref]{ \usebibmacro{cite}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext]
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \printtext[bibhyperref]{\usebibmacro{cite}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\DeclareCiteCommand{\textcite}
  {\boolfalse{cbx:parens}}
  {\usebibmacro{citeindex}%
   \printtext[bibhyperref]{\usebibmacro{textcite}}}
  {\ifbool{cbx:parens}
     {\bibcloseparen\global\boolfalse{cbx:parens}}
     {}%
   \multicitedelim}
  {\usebibmacro{textcite:postnote}}
  

% https://tex.stackexchange.com/a/25972/371
\DeclareCiteCommand{\textcite}
 {\boolfalse{cbx:parens}}
  {\usebibmacro{citeindex}%
    \printtext[bibhyperref]{\printnames{labelname}%
      \printtext{ (\printfield{year}\printtext{)}}}}
 {\ifbool{cbx:parens}
  {\bibcloseparen\global\boolfalse{cbx:parens}}
  {}%
 \multicitedelim}
{\usebibmacro{textcite:postnote}}

\DeclareFieldFormat{biblabeldate}{#1}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Hyperlinks and bookmarks
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\RequirePackage{hyperref}
\hypersetup{colorlinks=true,allcolors=blue!50!black}
\RequirePackage[numbered,open,openlevel=1]{bookmark}
\urlstyle{same}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Labels and referencing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\RequirePackage[nameinlink,noabbrev]{cleveref}
\crefname{Algorithm}{Algorithm}{Algorithms}
\crefname{proposition}{Proposition}{Propositions}
\Crefname{proposition}{Proposition}{Propositions}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% At BeginDocument
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\AtBeginDocument{
\flushbottom\maketitle	% automatically add maketitle contents
}
main_preprint.tex — the file that is compiled · 42 KB

42 KB — too long to show here. It arrives with the project.

refs.bib · 6 KB
@inproceedings{salam,
  author       = {Salam, Abdus},
  editor       = {Svartholm, Nils},
  title        = {Weak and Electromagnetic Interactions},
  date         = {1968},
  booktitle    = {Elementary particle theory},
  booksubtitle = {Relativistic groups and analyticity},
  booktitleaddon= {Proceedings of the Eighth Nobel Symposium},
  eventdate    = {1968-05-19/1968-05-25},
  venue        = {Aspen{\"a}sgarden, Lerum},
  publisher    = {Almquist \& Wiksell},
  location     = {Stockholm},
  pages        = {367-377},
  doi			= {10.1142/9789812795915_0034}
}

@software{2013ascl.soft05002P,
  author = {{Pontzen}, A. and {Ro{\v s}kar}, R. and {Stinson}, G. and {Woods}, R.},
  title = "{pynbody: N-Body/SPH analysis for python}",
  editor = {{Astrophysics Source Code Library}},
  year = 2013,
  month = may,
  eprint = {1305.002},
  eprinttype = "ascl",
  note = {Provided by the SAO/NASA Astrophysics Data System}
}

@article{kutz:hal-02932080,
  TITLE = {{Impact of the reaction pathway on the final product in on-surface synthesis}},
  AUTHOR = {Kutz, Antje and Rahman, Md Taibur and Haapasilta, Ville and Venturini, Chiara and Bechstein, Ralf and Gourdon, Andr{\'e} and Foster, Adam S and K{\"u}hnle, Angelika},
  JOURNAL = {{Physical Chemistry Chemical Physics}},
  PUBLISHER = {{Royal Society of Chemistry}},
  VOLUME = {22},
  NUMBER = {11},
  PAGES = {6109-6114},
  YEAR = {2020},
  DOI = {10.1039/C9CP06044H},
  eprinttype = {oai},
  eprint = {hal-02932080},
}

@article{lees2010theoretical,
  title={Theoretical maximum capacity as benchmark for empty vehicle redistribution in personal rapid transit},
  author={Lees-Miller, John and Hammersley, John and Wilson, R},
  journal={Transportation Research Record: Journal of the Transportation Research Board},
  issue={2146},
  pages={76-83},
  year={2010},
  publisher={Transportation Research Board of the National Academies},
  volume = {3},
  doi = {10.3141/2146-10},
}

@inproceedings{geiger2012we,
  title={Are we ready for autonomous driving?},
  author={Geiger, Andreas and Lenz, Philip and Urtasun, Raquel},
  booktitle={{IEEE} Conference on Computer Vision and Pattern Recognition (CVPR) 2012},
  pages={3354-3361},
  year={2012},
  doi = {10.1109/CVPR.2012.6248074},
  organization={IEEE}
}

@proceedings{proc-disc-2009,
  title = {Proceedings of the 23rd International Symposium on Distributed Computing (DISC, Elche, Spain, September 2009)},
  booktitle = {Proceedings of the 23rd International Symposium on Distributed Computing},
  volume = 5805,
  series = {Lecture Notes in Computer Science},
  publisher = {Springer},
  address = {Address of the publisher of the proceedings (and not of the conference)},
  venue = {Location of the conference: Elche, Spain},
  eventtitle = {Name of the conference},
  eventdate = {2009-09},
  year = {2009}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%https://tex.stackexchange.com/questions/123252/how-to-manage-conference-proceedings-in-bibtex

@inproceedings{singaravelu:06:eurosys,
  author =       {Singaravelu, Lenin and Pu, Calton and Härtig, Hermann and Helmuth, Christian},
  title =        {Reducing TCB complexity for security-sensitive applications: three case studies},
  crossref =     {eurosys:06},
  pages =        {161-174},
  doi =          {10.1145/1217935.1217951},
}

@inproceedings{padioleau:06:eurosys,
  author =       {Yoann Padioleau and Julia Lawall and Gilles Muller},
  title =        {Understanding Collateral Evolution in {Linux} Device Drivers},
  crossref =     {eurosys:06},
  pages =        {59-71},
  doi =          {10.1145/1218063.1217942},
}

@proceedings{eurosys:06,
  editor =       {Yolande Berbers and Willy Zwaenepoel},
  title =        "Proceedings of the 6th European Conference on Computer Systems",
  booktitle =    "Proceedings of the 6th European Conference on Computer Systems",
  publisher =    {ACM},
  venue =        {Leuven, Belgium},
  month =        apr,
  year =         {2006},
  isbn =         {1-59593-322-0},
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

@inproceedings{basirat,
  title      = {Title of the contribution},
  author     = {Firstname Lastname},
  date       = {2018-09},
  venue      = {Location of conference: city, country},
  booktitle  = {Title of the proceedings},
  eventtitle = {Name of the conference},
  eventdate  = {2017-10},
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% some software solutions

@misc{popinet00,
author =   {Stephane Popinet},
title =    {{GTS}: {GNU} {Triangulated} {Surface} library},
howpublished = {\url{http://gts.sourceforge.net/}},
year = {2000-2004}
}

@software{hadoop,
  author = {{Apache Software Foundation}},
  title = {Hadoop},
  url = {https://hadoop.apache.org},
  version = {0.20.2},
  date = {2010-02-19},
}

@softwareversion{delebecque:hal-02090402-condensed,
  title = {Scilab},
  author = {Delebecque, Fran{\c c}ois and Gomez, Claude and Goursat, Maurice 
    and Nikoukhah, Ramine and Steer, Serge and Chancelier, Jean-Philippe},
  url = {https://www.scilab.org/},
  date = {1994-01},
  file = {https://hal.inria.fr/hal-02090402/file/scilab-1.1.tar.gz},
  institution = {Inria},
  license = {Scilab license},
  hal_id = {hal-02090402},
  hal_version = {v1},
  swhid = {swh:1:dir:1ba0b67b5d0c8f10961d878d91ae9d6e499d746a;
	   origin=https://hal.archives-ouvertes.fr/hal-02090402},
  version = {1.1},
  note = {First Scilab version. It was distributed by anonymous ftp.},
  repository= {https://github.com/scilab/scilab},
  abstract = {Software for Numerical Computation freely distributed.}
}

@software {delebecque:hal-02090402,
  title = {Scilab},
  author = {Delebecque, Fran{\c c}ois and Gomez, Claude and Goursat, Maurice 
    and Nikoukhah, Ramine and Steer, Serge and Chancelier, Jean-Philippe},
  date = {1994},
  institution = {Inria},
  license = {Scilab license},
  hal_id = {hal-02090402},
  hal_version = {v1},
  url = {https://www.scilab.org/},
  abstract = {Software for Numerical Computation freely distributed.},
  repository= {https://github.com/scilab/scilab},
}

@softwareversion{delebecque:hal-02090402v1,
  version = {1.1},
  date = {1994-01},
  file = {https://hal.inria.fr/hal-02090402/file/scilab-1.1.tar.gz},
  swhid = {swh:1:dir:1ba0b67b5d0c8f10961d878d91ae9d6e499d746a;
	   origin=https://hal.archives-ouvertes.fr/hal-02090402},
  note = {First Scilab version. It was distributed by anonymous ftp.},
  crossref = {delebecque:hal-02090402}
}
refsbibtex.bib · 4 KB
@inproceedings{salam,
  author       = {Salam, Abdus},
  editor       = {Svartholm, Nils},
  title        = {Weak and Electromagnetic Interactions},
  date         = {1968},
  booktitle    = {Elementary particle theory},
  booksubtitle = {Relativistic groups and analyticity},
  booktitleaddon= {Proceedings of the Eighth Nobel Symposium},
  eventdate    = {1968-05-19/1968-05-25},
  venue        = {Aspen{\"a}sgarden, Lerum},
  publisher    = {Almquist \& Wiksell},
  location     = {Stockholm},
  pages        = {367-377},
  doi			= {10.1142/9789812795915_0034}
}

@article{kutz:hal-02932080,
  TITLE = {{Impact of the reaction pathway on the final product in on-surface synthesis}},
  AUTHOR = {Kutz, Antje and Rahman, Md Taibur and Haapasilta, Ville and Venturini, Chiara and Bechstein, Ralf and Gourdon, Andr{\'e} and Foster, Adam S and K{\"u}hnle, Angelika},
  JOURNAL = {{Physical Chemistry Chemical Physics}},
  PUBLISHER = {{Royal Society of Chemistry}},
  VOLUME = {22},
  NUMBER = {11},
  PAGES = {6109-6114},
  YEAR = {2020},
  DOI = {10.1039/C9CP06044H},
  eprinttype = {oai},
  eprint = {hal-02932080},
}

@article{lees2010theoretical,
  title={Theoretical maximum capacity as benchmark for empty vehicle redistribution in personal rapid transit},
  author={Lees-Miller, John and Hammersley, John and Wilson, R},
  journal={Transportation Research Record: Journal of the Transportation Research Board},
  issue={2146},
  pages={76-83},
  year={2010},
  publisher={Transportation Research Board of the National Academies},
  volume = {3},
  doi = {10.3141/2146-10},
}

@inproceedings{geiger2012we,
  title={Are we ready for autonomous driving?},
  author={Geiger, Andreas and Lenz, Philip and Urtasun, Raquel},
  booktitle={{IEEE} Conference on Computer Vision and Pattern Recognition (CVPR) 2012},
  pages={3354-3361},
  year={2012},
  doi = {10.1109/CVPR.2012.6248074},
  organization={IEEE}
}

@proceedings{proc-disc-2009,
  title = {Proceedings of the 23rd International Symposium on Distributed Computing (DISC, Elche, Spain, September 2009)},
  booktitle = {Proceedings of the 23rd International Symposium on Distributed Computing},
  volume = 5805,
  series = {Lecture Notes in Computer Science},
  publisher = {Springer},
  address = {Address of the publisher of the proceedings (and not of the conference)},
  venue = {Location of the conference: Elche, Spain},
  eventtitle = {Name of the conference},
  eventdate = {2009-09},
  year = {2009}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%https://tex.stackexchange.com/questions/123252/how-to-manage-conference-proceedings-in-bibtex

@inproceedings{singaravelu:06:eurosys,
  author =       {Singaravelu, Lenin and Pu, Calton and Härtig, Hermann and Helmuth, Christian},
  title =        {Reducing TCB complexity for security-sensitive applications: three case studies},
  crossref =     {eurosys:06},
  pages =        {161-174},
  doi =          {10.1145/1217935.1217951},
}

@inproceedings{padioleau:06:eurosys,
  author =       {Yoann Padioleau and Julia Lawall and Gilles Muller},
  title =        {Understanding Collateral Evolution in {Linux} Device Drivers},
  crossref =     {eurosys:06},
  pages =        {59-71},
  doi =          {10.1145/1218063.1217942},
}

@proceedings{eurosys:06,
  editor =       {Yolande Berbers and Willy Zwaenepoel},
  title =        "Proceedings of the 6th European Conference on Computer Systems",
  booktitle =    "Proceedings of the 6th European Conference on Computer Systems",
  publisher =    {ACM},
  venue =        {Leuven, Belgium},
  month =        apr,
  year =         {2006},
  isbn =         {1-59593-322-0},
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@inproceedings{basirat,
  title      = {Title of the contribution},
  author     = {Firstname Lastname},
  date       = {2018-09},
  venue      = {Location of conference: city, country},
  booktitle  = {Title of the proceedings},
  eventtitle = {Name of the conference},
  eventdate  = {2017-10},
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% some software solutions

@misc{popinet00,
author =   {Stephane Popinet},
title =    {{GTS}: {GNU} {Triangulated} {Surface} library},
howpublished = {\url{http://gts.sourceforge.net/}},
year = {2000-2004}
}

The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗