Use authoryear with brackets style

This commit is contained in:
2024-04-15 16:43:08 +02:00
parent 00e42ae158
commit 73e2ac80dc

View File

@@ -1,15 +1,21 @@
%% Template
\PassOptionsToPackage{backref=true, doi=false, style=ieee}{biblatex}
\PassOptionsToPackage{backref=true, doi=false, style=authoryear}{biblatex}
\documentclass{thesis}
\geometry{inner=30mm, outer=25mm, top=30mm, bottom=25mm}
%% Content
\addbibresource{references.bib}
\AtEveryBibitem{\clearfield{day}}
\AtEveryBibitem{\clearfield{location}}
\AtEveryBibitem{\clearfield{month}}
\AtEveryBibitem{\clearfield{series}}
\AtEveryBibitem{% Remove some fields from bibliography
\clearfield{day}%
\clearfield{location}%
\clearfield{month}%
\clearfield{series}%
}
\AtEveryCite{% Use square brackets for citations
\let\bibopenparen=\bibopenbracket%
\let\bibcloseparen=\bibclosebracket%
}
\hypersetup{
bookmarksnumbered=true, % Include section numbers in bookmarks