Shorter authoryear bib style
This commit is contained in:
36
main.tex
36
main.tex
@@ -14,20 +14,35 @@
|
||||
\linespread{1.15} % Set line spacing to 1.15
|
||||
|
||||
|
||||
%% Content
|
||||
\usepackage[backend=biber, backref=true, doi=false, style=authoryear]{biblatex} % Bibliography
|
||||
\addbibresource{references.bib}
|
||||
\AtEveryBibitem{% Remove some fields from bibliography
|
||||
\clearfield{day}%
|
||||
\clearfield{location}%
|
||||
\clearfield{month}%
|
||||
\clearfield{series}%
|
||||
}
|
||||
%% Bibliography
|
||||
\usepackage[
|
||||
backend=biber,
|
||||
style=authoryear,
|
||||
backref=true,% Show page numbers where citations appear
|
||||
maxbibnames=99,% Show all authors in bibliography
|
||||
maxcitenames=1,% Show only one author in citations
|
||||
uniquelist=false% Force maxcitenames
|
||||
]{biblatex}
|
||||
|
||||
\DefineBibliographyStrings{english}{andothers={}} % Remove "et al." in citations
|
||||
|
||||
\AtEveryCite{% Use square brackets for citations
|
||||
\let\bibopenparen=\bibopenbracket%
|
||||
\let\bibcloseparen=\bibclosebracket%
|
||||
}
|
||||
|
||||
\addbibresource{references.bib} % Load bibliography
|
||||
|
||||
\AtEveryBibitem{% Remove some fields from bibliography
|
||||
\clearfield{doi}%
|
||||
\clearfield{day}%
|
||||
\clearfield{location}%
|
||||
\clearfield{month}%
|
||||
\clearfield{series}%
|
||||
}
|
||||
|
||||
|
||||
%% Content
|
||||
\usepackage{bookmark} % Manage bookmarks
|
||||
|
||||
\usepackage[draft, defaultcolor=Blue, xcolor=dvipsnames]{changes} % Track changes
|
||||
@@ -65,9 +80,6 @@
|
||||
|
||||
%% Custom commands
|
||||
\input{utils/commands}
|
||||
|
||||
\renewcommand{\citeauthorcite}[1]{\citeauthor*{#1}~\parencite*{#1}}
|
||||
|
||||
\definechangesauthor[color=RawSienna]{CP}
|
||||
\newcommand{\CP}[1]{\comment[id=CP]{#1}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user