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
Related
I am using overleaf to put together my references that follow the apa 7th edition. The journal titles however are not capitalized. How do I correct that? Note that I tried the method suggested in this post Capitalize journal name in latex but it didn't work for me.
Here is a minimal reproducible example:
\documentclass[man]{apa7}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa,uniquename=false,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{refs.bib}
\begin{document}
\parencite{golinkoff1979comparison} said this
\printbibliography
\end{document}
My refs.bib here
#article{golinkoff1979comparison,
title={A comparison of fathers' and mothers' speech with their young children},
author={Golinkoff, Roberta Michnick and Ames, Gail Johnson},
journal={Child development},
pages={28--32},
year={1979},
publisher={JSTOR}
}
The reference prints this:
This is a cross post: https://tex.stackexchange.com/questions/670231/capitalize-journal-title-for-apa-in-latex
Same method as in the post you linked to:
\documentclass[man]{apa7}
\usepackage[american]{babel}
\title{text}
\shorttitle{short title}
\usepackage{csquotes}
\usepackage[style=apa,uniquename=false,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\begin{filecontents*}[overwrite]{\jobname.bib}
#article{golinkoff1979comparison,
title={A comparison of fathers' and mothers' speech with their young children},
author={Golinkoff, Roberta Michnick and Ames, Gail Johnson},
journal={Child development},
pages={28--32},
year={1979},
publisher={JSTOR}
}
\end{filecontents*}
\usepackage{mfirstuc}
\DeclareFieldFormat{journaltitle}{\capitalisewords{#1}}
\addbibresource{\jobname.bib}
\begin{document}
\parencite{golinkoff1979comparison} said this
\printbibliography
\end{document}
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}
I am trying to use the LaTeX article document class to create a simple paper with the authors listed on the title page with their (potentially multiple repeating) affiliations as numeric footnotes and other author comments as symbolic footnotes. For example, I want something like
However, I haven't been able to make this happen despite trying multiple different solutions. Is there a simple way to do this?
I have tried using the bigfoot package to create multiple different types of footnotes combined with footmisc with the multiple option to get multiple footnote markers with commas between them, but I end up with superposed markers and no footnotes. My minimal latex document is:
\documentclass{article}
\title{My title}
\usepackage[multiple]{footmisc}
\usepackage{bigfoot}
\DeclareNewFootnote{AAffil}[arabic]
\DeclareNewFootnote{ANote}[fnsymbol]
\author{
David Kaplan\footnoteAAffil{A University}\footnoteAAffil{Another University}\footnoteANote{Corresponding author}\footnoteANote{Equal contributors}
\and
Prince Charming\FootnotemarkAAffil{2}\FootnotemarkANote{2}
}
\date{\today}
\begin{document}
\maketitle
\end{document}
And the output I get is:
One possibility is to switch to the amsart class and then using the amsaddr package:
\documentclass{amsart}
\title{My title}
\author{David Kaplan $^{1,2,\ast,\dagger}$}
\address{$^1$A University}
\address{$^2$Another University}
\address{$^{\ast}$Corresponding author}
\address{$^{\dagger}$Equal contributors}
\author{Prince Charming $^{1,\dagger}$}
\usepackage[foot]{amsaddr}
\begin{document}
\maketitle
\end{document}
With help from others, I posted a solution to this question here. For completeness, I am copying the solution below:
\documentclass{article} % <---- No titlepage
\title{My title}
%\usepackage[dont-mess-around]{fnpct} % <---- I decided not to use fnpct, but rather put in the commas by hand
\usepackage{bigfoot}
\DeclareNewFootnote{AAffil}[arabic]
\DeclareNewFootnote{ANote}[fnsymbol]
\usepackage{etoolbox}
\makeatletter
\patchcmd\maketitle{\def\#makefnmark{\rlap{\#textsuperscript{\normalfont\#thefnmark}}}}{}{}{}
\makeatother
% Hook into the \thanks command for the article class to print the footnotes
\makeatletter
\def\thanksAAffil#1{% <--- These %'s are necessary for spacing
\footnotemarkAAffil\protected#xdef\#thanks{\#thanks%
\protect\footnotetextAAffil[\the \c#footnoteAAffil]{#1}}%
}
\def\thanksANote#1{%
\footnotemarkANote%
\protected#xdef\#thanks{\#thanks%
\protect\footnotetextANote[\the \c#footnoteANote]{#1}}%
}
\makeatother
\author{% <---- Not sure if these %'s are necessary, but can't hurt
David Kaplan%
\thanksAAffil{A University}$^{,}$\thanksAAffil{Another University}$^{,}$%
\thanksANote{Corresponding author}$^{,}$\thanksANote{Equal contributors}%
, %
Prince Charming%
\footnotemarkAAffil[2]$^{,}$\thanksAAffil{Still another university}$^{,}$\footnotemarkANote[2]$^{,}$%
\thanksANote{Another note}%
, %
Mohamed Ali%
\thanksAAffil{I am the greatest U.}%
}
\date{\today}
\begin{document}
\maketitle
\begin{abstract}
This is the abstract.
\end{abstract}
\section{Introduction}
More Text
\end{document}
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}
I have a list which I want to indent from the section title. I have tried \indent and \hspace{1cm} without success.
Here is my code
\vspace{0.2in}
\section{Affiliations}
\vspace{0.1in}
\indent The American Geophysical Union.\\
\hspace{1cm} The Seismological Society of America.
For consistent indentation of a "somewhat list-like structure", use adjustwidth from changepage:
\documentclass{article}
\usepackage{changepage}
\begin{document}
\section{Affiliations}
\begin{adjustwidth}{1cm}{0pt}
\setlength{\parindent}{0pt}%
The American Geophysical Union.
The Seismological Society of America.
\end{adjustwidth}
\end{document}
However, I'd suggest a regular list-like structure like itemize:
\documentclass{article}
\usepackage{enumitem}
\begin{document}
\section{Affiliations}
\begin{itemize}[leftmargin=1cm]
\item The American Geophysical Union.
\item The Seismological Society of America.
\end{itemize}
\end{document}