Warning Underfull \hbox (badness 6510) in paragraph - latex

I get a warning while citing an article in my bibliography:
Warning : Underfull \hbox (badness 6510) in paragraph at lines 618--619
in my latex file.
\documentclass[a4paper,12pt]{report}
\begin{document}
\begin{thebibliography}{00}
\bibitem{backpropagation}
Rumelhart, D., Hinton, G. \& Williams, R. Learning representations by back-propagating errors. Nature 323,533–536 (1986). https://doi.org/10.1038/323533a0
\end{thebibliography}
\end{document}
How do I solve this?

The problem is that your doi does not break lines. To avoid this, you could use the xurl package:
\documentclass[a4paper,12pt]{report}
\usepackage{xurl}
\begin{document}
\begin{thebibliography}{00}
\bibitem{backpropagation}
Rumelhart, D., Hinton, G. \& Williams, R. Learning representations by back-propagating errors. Nature 323,533–536 (1986). \url{https://doi.org/10.1038/323533a0}
\end{thebibliography}
\end{document}
If this line break in the middle of the link is too aggressive, you could also try the url or hyperref package:
\documentclass[a4paper,12pt]{report}
\usepackage{url}
\begin{document}
\begin{thebibliography}{00}
\bibitem{backpropagation}
Rumelhart, D., Hinton, G. \& Williams, R. Learning representations by back-propagating errors. Nature 323,533–536 (1986). \url{https://doi.org/10.1038/323533a0}
\end{thebibliography}
\end{document}

Related

LaTeX: Citation found in .bib-file but only name of citation returned, bibliography not printed

I got this issue in LayteX (Overleaf) where the \cite{} and \textcite{} command does find my source, but then returns the exact name of the source in my .bib-file. It looks something like this (I couldn't add images somehow):
text...(world'bank"2022)....text.
While the correct output should be:
text... (World Bank, 2022) .... text
The source:
#online{world_bank_2022,
title = {World Bank Open Data {\textbar} Data},
url = {https://data-worldbank-org.eur.idm.oclc.org/},
author = {{World Bank}},
urldate = {2022-10-07},
date = {2022},
file = {World Bank Open Data | Data:C\:\\Users\\jhans\\Zotero\\storage\\X739YI3J\\data-worldbank-org.eur.idm.oclc.org.html:text/html},
}
The package and file name. Name of the bib-file corresponds 1:1 with the imported library file:
\usepackage[backend=biber, style=apa]{biblatex}
\addbibresource{Bibliography-ASP.bib}
And as a result, the following command also does not return anything:
\newpage
\printbibliography
The error messages are:
Empty bibliography on input line 360.
Overfull \hbox (6.3094pt too wide) in paragraph at lines 34--35
Citation 'world_bank_2022' on page 1 undefined on input line 34.
As an illustration, I created a MWE with the exact same structure and packages as in my original file.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[margin=1in]{geometry}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{rotating}
\usepackage{multirow,booktabs,setspace,caption}
\usepackage{tikz}
\usepackage{ntheorem}
\usepackage{longtable}
\newtheorem{hyp}{H}
\usepackage{subcaption}
\usepackage{lipsum}
\usepackage{minted}
\usepackage{wrapfig}
\usepackage{csquotes}
\usepackage{hyperref}
\usepackage[backend=biber, style=apa]{biblatex}
\addbibresource{Bibliography IIA ASP.bib}
\title{AS\&P Assignment 3}
\author{Hans van Beek, 497005}
\date{14 October 2022}
\begin{document}
\maketitle
\section{Panel Data Modelling: Time-to-Export}\label{q1}
\subsection{Hypotheses}\label{q1: hypotheses}
The current analysis focuses on three hypothesised determinants of the time-to-export in hours (\textit{time\_to\_export}) between countries and over time using data from the World Bank (\cite{world_bank_2022}). The time-to-export is an important indicator of a country's quality of export and import conditions with a lower time-to-export (\textit{time\_to\_export}) in hours reflecting a more efficient economy. An appropriate determinant of the variation in the size of a country's economy could therefore be the GDP per capita (providing a good benchmark). The first hypothesis (i) therefore states that a higher GDP is
\newpage
\printbibliography
\newpage
\end{document}

Citation undefined on input even though they exist

Hi I'm using Overleaf for my dissertation and this warning started popping up recently:
Citation 'objprogen' on page 1 undefined on input line 8.
This citation is already created as seen below in the 'sources.bib' file:
#article{objprogen,
author={Guo, Wenzhong and Lin, Renjie and Wang, Shiping and Xiong, Neal},
booktitle={2018 9th International Symposium on Parallel Architectures, Algorithms and
Programming (PAAP)},
title={Object Proposal Generation for Unsupervised Object Localization},
year={2018},
volume={},
number={},
pages={235-242},
doi={10.1109/PAAP.2018.00046}}
This is my main.tex file:
\documentclass[a4paper]{article}
\usepackage{blindtext, graphicx}
\usepackage{csquotes}
\usepackage[hidelinks]{hyperref}
\usepackage{url}
\usepackage[style=authoryear-ibid,backend=biber]{biblatex}
\hyphenation{op-tical net-works semi-conduc-tor}
\bibliography{sources.bib}
\begin{document}
\title{Can image recognition systems be successfully integrated with existing VIN databases
irrespective of the vehicle manufacturer}
\author{myname}
\maketitle{}
\input{includes/01-Abstract}
\input{includes/02-Introduction}
\input{includes/03-Literature}
\input{includes/04-Methodology}
\input{includes/05-Findings}
\input{includes/06-Conclusion}
\input{includes/07-Appendix}
\end{document}
I had the same problem and solved it by adding \bibliographystyle{plain} (of course you could in principle use other styles). For me the structure of the tex file is the following
\documentclass[oneside, a4paper, onecolumn, 11pt]{article}
%%some packages%%
\begin{document}
%%% some stuff
\bibliographystyle{plain}
\bibliography{bibfile} %bibfile name without the .bib extension
\end{document}
So contrary to you the \bibliography is also inside the document environment.

In latex, the integral symbol '\int' displays as '\Delta' in the compiled pdf, why?

This happens in some (but not all) documents, where '$\int$' in an equation displays as '$\Delta$' in the compiled pdf. For those documents, I tried both Winedt and Overleaf and the same things just happen.
The problem can be replicated by using the following codes in the main.tex file:
\documentclass[a4paper,10pt]{autart}
\pagestyle{plain}
\date{\today}
\usepackage{esint}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\setlength {\marginparwidth }{2cm}
\begin{document}
\begin{frontmatter}
\title{Generalized $t$-Distribution Noise Model\thanksref{footnoteinfo}}
\thanks[footnoteinfo]{Acknowledgement...}
\author[AuthorCategory1]{Author 1}\ead{author1#somewhere}
\author[AuthorCategory2]{Author 2}\ead{author2#somewhere}
\address[AuthorCategory1]{Address 1}
\address[AuthorCategory2]{Address 2}
\begin{abstract}
---
\end{abstract}
\end{frontmatter}
\section{This is a section}
\begin{eqnarray}
\int \nonumber
\end{eqnarray}
\end{document}
The autart.cls can be found online, for example at https://hal.archives-ouvertes.fr/file/index/docid/514508/filename/autart.cls
You will get a result like this:
And from my own exploration, the problem can be solved surprisingly if changing the title from
\title{Generalized $t$-Distribution Noise Model\thanksref{footnoteinfo}}
to
\title{Title\thanksref{footnoteinfo}}
And you will get the correct integral symbol as follows:
It seems that you can also solve the problem by removing the "esint" package, or change the document class from autart to article. I guess there is some conflicts defined in these class/packages, maybe, and result in this funny phenomenon.
Is there a way to solve the problem without changing the title, while using autart document class and esint package?
Thanks.
Ironically, the problem is in the \no#harm macro your class defines, which redefines \protect. You can work around the problem by removing this defintion like this:
\documentclass{autart}
\pagestyle{plain}
\date{\today}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{xpatch}
\makeatletter
\xpatchcmd{\no#harm}{\def\protect{\noexpand\protect\noexpand}}{}{\typeout{patch ok}}{\typeout{patch fail}}
\makeatother
\usepackage{esint}
\setlength {\marginparwidth }{2cm}
\begin{document}
\begin{frontmatter}
\title{Generalized $t$-Distribution Noise Model\thanksref{footnoteinfo}}
\thanks[footnoteinfo]{Acknowledgement...}
\author[AuthorCategory1]{Author 1}\ead{author1#somewhere}
\author[AuthorCategory2]{Author 2}\ead{author2#somewhere}
\address[AuthorCategory1]{Address 1}
\address[AuthorCategory2]{Address 2}
\begin{abstract}
---
\end{abstract}
\end{frontmatter}
\section{This is a section}
\begin{eqnarray}
\int \nonumber
\end{eqnarray}
\end{document}

Citing mathoverflow answers using \bibitem(without using bibtex)

Is there a way to cite mathoverflow answers using the following :
\begin{thebibliography}
\bibitem ....the mathoverflow citation
\end{thebibliography}
I did the following :
\documentclass[11pt]{amsart}
\setlength{\textheight}{23cm}
\setlength{\textwidth}{16cm}
\setlength{\topmargin}{-0.8cm}
\setlength{\parskip}{0.3\baselineskip}
\hoffset=-1.4cm
\usepackage{pifont}
\usepackage{amsmath,amscd,amssymb}
\usepackage{hyperref}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{conjecture}[subsection]{Conjecture}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{remark}[theorem]{Remark}
\numberwithin{equation}{section}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{corollary}[theorem]{Corollary}
\renewcommand{\thefootnote}{\arabic{footnote}}
\input xy
\xyoption{all}
\begin{document}
some text \cite{MO1}
\begin{thebibliography}{1}
\bibitem{MO1} gowers (\url{https://mathoverflow.net/users/1459/gowers}), Examples of common false beliefs in mathematics, URL (version: 2020-09-03): \url{https://mathoverflow.net/q/23478}
\end{thebibliography}
\end{document}
I know that there are ways to do it using bibtex and creating a separate .bib file. But I was thinking whether we could do it just using \bibitem?
Any help from anyone is welcome.
You could copy the rendered citation from the top of the cite popup:
With some tiny modifications, like wrapping the urls into suitable macros, you can directly use this in your bibliography:
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\begin{thebibliography}{1}
\bibitem{gowers} gowers (\url{https://mathoverflow.net/users/1459/gowers}), Examples of common false beliefs in mathematics, URL (version: 2020-09-03): \url{https://mathoverflow.net/q/23478}
\end{thebibliography}
\end{document}

Bibtex not showing in Latex Doc when inserted in main.tex

I'm trying to include the following in my latex doc (references.tex)
#INPROCEEDINGS{inception,
author={C. {Szegedy} and {Wei Liu} and {Yangqing Jia} and P. {Sermanet} and S. {Reed} and D. {Anguelov} and D. {Erhan} and V. {Vanhoucke} and A. {Rabinovich}},
booktitle={2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
title={Going deeper with convolutions},
year={2015},
volume={},
number={},
pages={1-9},
keywords={convolution;decision making;feature extraction;Hebbian learning;image classification;neural net architecture;resource allocation;convolutional neural network architecture;resource utilization;architectural decision;Hebbian principle;object classification;object detection;Computer architecture;Convolutional codes;Sparse matrices;Neural networks;Visualization;Object detection;Computer vision},
doi={10.1109/CVPR.2015.7298594},
ISSN={1063-6919},
month=Jun,
address={Boston, MA}
}
#InProceedings{vgg,
author = "Karen Simonyan and Andrew Zisserman",
title = "Very Deep Convolutional Networks for Large-Scale Image Recognition",
booktitle = "International Conference on Learning Representations",
year = "2015",
month = May,
address = {San Diego, CA}
}
#inproceedings{dean2012large,
title={Large scale distributed deep networks},
author={Dean, Jeffrey and Corrado, Greg and Monga, Rajat and Chen, Kai and Devin, Matthieu and Mao, Mark and Senior, Andrew and Tucker, Paul and Yang, Ke and Le, Quoc V},
booktitle={Advances in neural information processing systems},
pages={1223--1231},
month = dec,
year={2012},
address = {Lake Tahoe, NV}
}
However, when I include this in my latex doc, it doesn't show, any idea what is wrong here?
\documentclass[12pt,twoside]{report}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{biblatex}
\usepackage{acronym}
\addbibresource{references.bib}
\usepackage{titlesec}
\usepackage{lipsum}
\titleformat{\chapter}[display]
{\normalfont\bfseries}{}{0pt}{\Large}
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
\usepackage{fancyhdr}
\graphicspath{{images/}}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[RO,LE]{Scaling A Neural Network Based Flower Counting Application}
\renewcommand{\headrulewidth}{0.4pt}
\begin{document}
\input{cover}
\pagenumbering{roman}
\chapter*{Permission To Use}
\addcontentsline{toc}{chapter}{Permissions To Use}
\input{sections/permissions}
\chapter*{Abstract}
\addcontentsline{toc}{chapter}{Abstract}
\input{sections/abstract}
\chapter*{Acknowledgements}
\addcontentsline{toc}{chapter}{Acknowledgements}
\input{sections/acknowledgements}
\newgeometry{top=0mm, bottom=25mm}
\tableofcontents
\addcontentsline{toc}{chapter}{Contents}
\listoftables
\addcontentsline{toc}{chapter}{List of Tables}
\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}
\newgeometry{top=25mm, bottom=25mm}
\addcontentsline{toc}{chapter}{List of Abbreviations}
\include{sections/abbreviations}
\chapter{Introduction}
\pagenumbering{arabic}
\input{sections/introduction}
\chapter{Section Two Title}
\input{sections/section/section-2}
\chapter{Section Three Title}
\input{sections/section/section-3}
\chapter{Section Four Title}
\input{sections/section/section-4}
\chapter{Section Five Title}
\input{sections/section/section-5}
\chapter{Conclusion}
\input{sections/conclusion}
\appendix
\chapter{Appendix Title}
\input{sections/appendix}
\printbibliography
\end{document}
Never ignore error messages. Have a look at the tiny red rectangle at the top right, this tells you where the problem is.
Multiple problems:
You must not use math commands like ^ in normal text mode
\acro{P$^2$IRC}{Plant Phenotyping and Imaging Research Center}
The command \ection is not defines, I assume you mean \section? (there are several occasions)
you must \cite{...} at least one entry from your .bib file

Resources