I am new to texstudio. I am writing an article on texstudio. I used the Zotero application for creating a .bib file (my bib in my case). Here is the code below that I have written
\documentclass[12pt, twoside, a4paper]{article}
\date{}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{biblatex}
\usepackage{adjustbox}
\begin{document}
\title{A review on methods and pestimation}
\maketitle
\hline
\begin{abstract}
Purpose of review: \\
Summary: \\
Conclusion:
\end{abstract}
\hline
\newpage
\begin{table}[h!]
\caption{Optical remote sensing}
\begin{center}
\begin{adjustbox}{width=\textwidth}
\begin{tabular}{c c c c c c }
\hline
Study area & Dataset(Resolution) & Parameters & Allometric model& Regression tool (method)& Reference \\
\hline
4 & 5 & 6 & 7 &8 & \cite{muukkonen_biomass_2007} \\
7 & 8 & 9 & 10 &8 & \cite{leboeuf_shadow_2007} \\
4 & 5 & 6 & 7 &8 & \cite{giannetti_new_2018} \\
7 & 8 & 9 & 10 &8 & \cite{thenkabail_biomass_2004}\\
4 & 5 & 6 & 7 &8 &\cite{meng_linear_2007} \\
4 & 5 & 6 & 7 &8 &\cite{foody_predictive_2003} \\
7 & 8 & 9 & 10 &8 &\cite{rahman_satellite_2008} \\
4 & 5 & 6 & 7 &8 &\cite{du_satellite-based_2012} \\
7 & 8 & 9 & 10 &8 & \cite{wicaksono_mangrove_2016} \\
4 & 5 & 6 & 7 &8 & \cite{eckert_improved_2012}
\end{tabular}
\end{adjustbox}
\hline
\end{center}
\end{table}
\newpage
References
\bibstyle{unsrt}
\bibliography{my bib}
\end{document}
I have encountered an error (well described in the image attached). please help me. Any small help is appreciated
Best Answer
Welcome to TeX SX!
Concerning the bibliography, you used the syntax of standard packages with
bibtex
, notbiblatex
syntax:\bibstyle{unsrt}
in the body of the document should be replaced with\usepackage[sorting=none]{biblatex}
in the preamble.\bibliography{my bib}
should be replaced with\addbibresource{mybib.bib}
in the preamble. Note the extension of the file is required, and there should be no space in its name.\printbibliography
in the document body at the place you want it.