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