| 1 |
\documentclass{article} |
| 2 |
\usepackage{natbib} |
| 3 |
\usepackage{hyperref} |
| 4 |
|
| 5 |
%============================================================================== |
| 6 |
|
| 7 |
\title{Example Usage of \texttt{apalike-ejor} \textsc{Bib\TeX} Style} |
| 8 |
\author{Adam Rumpf\footnote{\url{https://github.com/adam-rumpf}}} |
| 9 |
\date{June 21, 2021} |
| 10 |
|
| 11 |
%============================================================================== |
| 12 |
|
| 13 |
\begin{document} |
| 14 |
|
| 15 |
\maketitle |
| 16 |
|
| 17 |
\section*{Introduction} |
| 18 |
|
| 19 |
This example document demonstrates the usage of the \href{https://www.ctan.org/pkg/apalike-ejor}{\texttt{apalike-ejor}} style, which was developed for formatting bibliographies in accordance with the \textit{European Journal of Operational Research} \href{https://www.elsevier.com/journals/european-journal-of-operational-research/0377-2217/guide-for-authors}{style guide} (as it appeared in June 2021). The \textsc{Bib\TeX} style file \texttt{apalike-ejor.bst} is a fork of \href{https://www.bibtex.com/s/bibliography-style-base-apalike/}{\texttt{apalike.bst}}, originally by Oren Patashnik, and mostly follows standard \href{https://apastyle.apa.org/style-grammar-guidelines/references/examples}{APA style}. |
| 20 |
|
| 21 |
In order to use \texttt{apalike-ejor}, make sure that the \texttt{apalike.ejor.bst} file is located somewhere where your compiler can find it, then compile your document with \textsc{Bib\TeX} a couple of times followed by \LaTeX\ a couple of times. At minimum the following should be included in your main \texttt{.tex} file: |
| 22 |
|
| 23 |
\begin{verbatim} |
| 24 |
\documentclass{article} |
| 25 |
\usepackage{natbib} % required for inline citations |
| 26 |
\usepackage{hyperref} % required if utilizing url or doi fields |
| 27 |
|
| 28 |
\begin{document} |
| 29 |
%%% |
| 30 |
%%% include the main body of the document here |
| 31 |
%%% |
| 32 |
|
| 33 |
\bibliographystyle{apalike-ejor} |
| 34 |
\bibliography{example-references} % replace with your .bib file |
| 35 |
|
| 36 |
%%% |
| 37 |
%%% include any text following the bibliography here |
| 38 |
%%% |
| 39 |
\end{document} |
| 40 |
\end{verbatim} |
| 41 |
|
| 42 |
\section*{URL and DOI Fields} |
| 43 |
|
| 44 |
Support for \texttt{url} and \texttt{doi} fields has been added for all reference types. Both produce a hyperlinked URL within the reference, which requires the use of the \href{https://ctan.org/pkg/hyperref}{\texttt{hyperref}} package. For \texttt{doi} entries only the DOI name, itself, should be included, which will automatically be appended to a \url{https://doi.org/} link. For \texttt{url} entries the entire URL should be included. If both the \texttt{doi} and \texttt{url} fields are filled, only the \texttt{doi} link is created. |
| 45 |
|
| 46 |
\section*{Datasets} |
| 47 |
|
| 48 |
The \textit{EJOR} style guide requests that dataset references include ``[dataset]'' at the beginning of the reference (this is only for the manuscript, and does not appear in the published article). Since datasets are usually handled as \texttt{@misc} entries, a new \texttt{dataset} field is recognized by \texttt{apalike-ejor}. |
| 49 |
|
| 50 |
Within a \texttt{.bib} file, including any string besides ``0'' or ``false'' (case insensitive) in a \texttt{@misc} entry's \texttt{dataset} field results in its reference beginning with the word ``[dataset]''. Including ``0'' or ``false'', or excluding the \texttt{dataset} field, results in a normal \texttt{@misc} citation. The \texttt{kaul2021} and \texttt{rumpf2019} references below provide an example of one dataset and one non-dataset \texttt{@misc} entry. |
| 51 |
|
| 52 |
\section*{Example References} |
| 53 |
|
| 54 |
The following entries are included in this repository's example reference file \texttt{example-references.bib}: |
| 55 |
|
| 56 |
\begin{verbatim} |
| 57 |
@book{ahuja1993, |
| 58 |
address = {Englewood Cliffs, NJ}, |
| 59 |
author = {Ahuja, R K and Magnanti, T L and Orlin, J B}, |
| 60 |
chapter = {16}, |
| 61 |
edition = {1st}, |
| 62 |
publisher = {Prentice Hall}, |
| 63 |
title = {{Network Flows: Theory, Algorithms, and Applications}}, |
| 64 |
year = {1993} |
| 65 |
} |
| 66 |
@article{kinney2005, |
| 67 |
author = {Kinney, R and Crucitti, P and Albert, R and Latora, V}, |
| 68 |
doi = {10.1140/epjb/e2005-00237-9}, |
| 69 |
journal = {European Physical Journal B}, |
| 70 |
pages = {101--106}, |
| 71 |
title = {{Modeling cascading failures in the North American power |
| 72 |
grid}}, |
| 73 |
volume = {46}, |
| 74 |
year = {2005} |
| 75 |
} |
| 76 |
\end{verbatim} |
| 77 |
\newpage |
| 78 |
\begin{verbatim} |
| 79 |
@inproceedings{cavdaroglu2010, |
| 80 |
author = {Cavdaroglu, B and Nurre, S G and Mitchell, J E and |
| 81 |
Sharkey, T C and Wallace, W A}, |
| 82 |
booktitle = {Vulnerability, Uncertainty, and Risk: Analysis, |
| 83 |
Modeling, and Management}, |
| 84 |
editor = {Ayyub, B M}, |
| 85 |
pages = {171--179}, |
| 86 |
publisher = {American Society of Civil Engineers}, |
| 87 |
title = {{Decomposition Methods for Restoring Infrastructure |
| 88 |
Systems}}, |
| 89 |
url = {https://ascelibrary.org/doi/10.1061/41170(400)21}, |
| 90 |
year = {2010} |
| 91 |
} |
| 92 |
@misc{kaul2021, |
| 93 |
author = {Kaul, Hemanshu and Rumpf, Adam}, |
| 94 |
dataset = {1}, |
| 95 |
doi = {10.17632/ptzc7jxhmn.1}, |
| 96 |
howpublished = {Mendeley Data, V1}, |
| 97 |
title = {{A linear input dependence model for interdependent |
| 98 |
networks}}, |
| 99 |
url = {https://data.mendeley.com/datasets/ptzc7jxhmn/1}, |
| 100 |
year = {2021} |
| 101 |
} |
| 102 |
@misc{rumpf2019, |
| 103 |
author = {Rumpf, Adam}, |
| 104 |
note = {Accessed May 8, 2020}, |
| 105 |
title = {{MCNFLI Computational Trials}}, |
| 106 |
url = {https://github.com/adam-rumpf/mcnfli-trials}, |
| 107 |
year = {2019} |
| 108 |
} |
| 109 |
@phdthesis{schmocker2006, |
| 110 |
address = {London, England}, |
| 111 |
author = {Schm\"ocker, J-D}, |
| 112 |
school = {Imperial College London}, |
| 113 |
title = {{Dynamic Capacity Constrained Traffic Assignment}}, |
| 114 |
year = {2006} |
| 115 |
} |
| 116 |
\end{verbatim} |
| 117 |
|
| 118 |
\noindent Their inline references are typeset as follows:\\ |
| 119 |
|
| 120 |
Article: \cite{kinney2005} |
| 121 |
|
| 122 |
Book: \cite{ahuja1993} |
| 123 |
|
| 124 |
Conference Proceedings: \cite{cavdaroglu2010} |
| 125 |
|
| 126 |
Dataset: \cite{kaul2021} |
| 127 |
|
| 128 |
Web: \cite{rumpf2019} |
| 129 |
|
| 130 |
Thesis: \cite{schmocker2006} |
| 131 |
|
| 132 |
Applying the \texttt{apalike-ejor} style results in the following References section: |
| 133 |
|
| 134 |
\bibliographystyle{apalike-ejor} |
| 135 |
\bibliography{example-references} |
| 136 |
|
| 137 |
\section*{Acknowledgements} |
| 138 |
|
| 139 |
Thank you to Oren Patashnik for writing the original \texttt{apalike} style file on which this was based. This modification of \texttt{apalike}, and the other files in this package, were largely based on the \href{https://www.ctan.org/pkg/zootaxa-bst}{\texttt{zootaxa-bst}} package by Gustavo A.\ Ballen, and seeing the \texttt{zootaxa-bst} repository on \href{https://github.com/gaballench/zootaxa-bst}{GitHub} is what originally gave me the motivation to make this slapdash and kludgy personal tool available to the public. Thank you also to the \href{https://tex.stackexchange.com/}{\LaTeX\ Stack Exchange} community, whose guidance proved invaluable in figuring out the basics of the \texttt{.bst} format, as well as to the \href{https://www.ctan.org/}{CTAN} community for making so much \TeX\ material openly available. Finally thank you to my graduate advisor Hemanshu Kaul, without whom I would never have been in a position to submit a paper to \textit{EJOR} in the first place. |
| 140 |
|
| 141 |
\end{document} |