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