I'm trying to change the bibliography style of the template linked below. Such that the citings are in numerical order instead of alphabetical.
https://www.overleaf.com/latex/templates/tu-delft-unofficial-report-template-v1-dot-3-1/yxmgyfvwrykz
The template uses biblatex, so I can't use the following command.
\bibliographystyle{ieeetr}
However, I was expecting the following line to work when added to the report.tex file. But this still clashes with biblatex.
\usepackage[style=ieee]{biblatex}
Making it more specific: Main file:
\documentclass{layout/test}
\usepackage{pdfpages} % Insert .pdf directly as pages
\renewcommand{\deg}{\si{\degree}\xspace}
\begin{document}
\input{chapter-2}
\printbibliography[title=References]
\addcontentsline{toc}{chapter}{References}
\end{document}
And using test.cls as:
\NeedsTeXFormat{LaTeX2e}
\LoadClass[10pt,oneside]{book}
\RequirePackage[hidelinks]{hyperref} % Improved referencing/links
\RequirePackage{biblatex} % Manages bibliography
%% Commands to define the title, author, etc
\renewcommand{\title}[1]{%
\def\@title{#1}%
\hypersetup{pdftitle=#1}} % Adds it to metadata
\renewcommand*\author[1]{%
\def\@author{#1}%
\hypersetup{pdfauthor=#1}} % Adds it to metadata
\newcommand*\subtitle[1]{\def\@subtitle{#1}}
\newcommand*\coverimage[1]{\def\@cover@image{#1}}
\newcommand\subject[1]{\def\@subject{#1}}
%% Setting up \autoref to use uppercase
\def\sectionautorefname{Section}
\def\chapterautorefname{Chapter}
\let\subsectionautorefname\sectionautorefname
\let\subsubsectionautorefname\sectionautorefname
%% Adding bibliography file and adjusting spacing
\addbibresource{report.bib} % Specifying the .bib file
biblatex-ieee
package, so your[style=ieee]
should work fine, provided the corresponding package is installed.\documentclass
or, if it doesn't work, add to your preamble\PassOptionsToPackage{style=ieee}{biblatex}
.