-
Notifications
You must be signed in to change notification settings - Fork 0
/
biblatex.tex
30 lines (21 loc) · 1001 Bytes
/
biblatex.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
\documentclass{article}
\usepackage{fancyvrb}
\usepackage{verbatim}
\usepackage{csquotes}
%%% N.B. VERY VERY SLOW COMPILATION TIME !!!
% Bibliography
\usepackage[backend=biber, minbibnames=1, maxbibnames=20, bibstyle=ieee, citestyle=numeric-comp, mincitenames=1, maxcitenames=2, giveninits=true, uniquename=false]{biblatex}
% N.B. Add babel AFTER biblatex to avoid the addition of a comma at the end of each title in the reference list
\usepackage[english]{babel}
\addbibresource{example.bib}
\begin{document}
If use \verb!\cite{citekey}!, the output is:\\
\cite{massa2022daplacer} \\
\cite{massa2022daplacer, massa2022daplacer} for multiple citations.
\vspace{1cm}
If use \verb!textcite{citekey}!, the output is:\\
\textcite{massa2022daplacer} \\
\textcite{massa2022daplacer,forti2022fogbrain} for multiple citations.
\AtNextBibliography{\footnotesize} % can choose bib fontsize or alternatively use \AtBeginBibliography in the preamble
\printbibliography[heading=bibintoc]
\end{document}