Tag Info

Hot answers tagged

5

To get the entries listed by \citep or \citet printed in the order in which they are input, rather than sorted alphabetically by authors' names, omit the option sort&compress when loading natbib. If neither the sort nor the sort&compress options are set, the ordering of the citation callouts is determined by the way you sort the keys in the ...


5

You can use arbitrary keywords that are not yet defined. They will be ignored by bibtex. In JabRef, you can add those fields in Options/Set up general fields.


4

After much gnashing of teeth, trying \BiBTeX, \BIBTeX, \BibTeX, \bibTeX, ... in the hope that such a command would be defined somewhere and looking through SO, I looked through the Wikipedia page, found Oren Patashnik's original BibTeX documentation, located the corresponding .tex file and found that a \BibTeX command was defined in its preamble: ...


4

You can make a copy of aer.bst and modify it to bypass the comparison of author (and editor) names. The following patch should do the trick. In the patch, the modified bibliography style file is named aer2.bst. I have edited two lines in the function make.list.label. --- aer.bst 2014-01-12 01:23:55.000000000 +0200 +++ aer2.bst 2014-08-20 ...


4

Remove the ALT prefixes from author and editor fields, i.e., change ALTauthor to author and ALTeditor to editor. Do this only for fields whose values are not {•}, of course, or you'll get some bitter complaints from BibTeX... By the way, I think the title of the cetin entry should start with {``Sodium Hydroxide'' Ullmann's... rather than with {"Sodium ...


3

I had the same issue lately, so maybe this help. But as usually, this is depending on your bibliography style 1 - Use double braces author = {{Harvest Choice}} to avoid the reformatting of things via bibtex 2 - I used the url = {} field and a latex url command within it: url = {\url{yadayada}} 3 - You could try other bibliography styles or edit the .bst ...


3

The organization HarvestChoice suggests the following citation of the publication in question: HarvestChoice, 2006. "[Tanzania] National Sample Census of Agriculture 2002/2003: Small Holder Agriculture, Volume II: Crop Sector - National Report." International Food Policy Research Institute, Washington, DC., and University of Minnesota, St. Paul, MN. ...


3

After loading natbib, but still in the preamble, provide the instruction \setcitestyle{authoryear,round} Alternatively, you could load the natbib package with the options authoryear and round: \usepackage[authoryear,round]{natbib}


3

A BibTeX database is a plain text file (.bib file): JabRef provides a convenient and powerful editing front-end but cannot store data in the file without it being in the source. As such, if you add custom fields to the database they will be in the .bib file and so JabRef will show them in the source tab (which is meant for low-level editing). It is of ...


3

While it is indeed the case that many authoryear-style citation systems truncate the list of authors or editors down to "FirstSurname et al." whenever the piece has more than two authors or editors, it's actually not that uncommon to encounter a style that truncates the list only if the piece being cited has more than three authors/editors. For instance, I ...


3

Thanks for providing the additional piece of information that you wish to use authoryear-style citation callouts. The following instruction and comments are in the file main.tex that's provided by the package you're using: \usepackage[square, numbers, comma, sort&compress]{natbib} % Use the natbib reference package - read up on this to edit the ...


3

The first bib-Entry (Ratnayake) misses an "and" between the first two authors. And you should have a look at your BibTeX warning: BibTeX> Warning-- can't use both author and editor fields in Hernandez It is explainded here: The idea is that an inbook entry refers to a book entry, and therefore should not have an editor. \documentclass{article} ...


2

FWIW, Oren Patashnik's original BibTeX documentation defines a \BibTeX command in the preamble of the corresponding .tex file: \def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}} The larger title version is hand-crafted like this: \title{B\kern-.05em{\large I}\kern-.025em{\large ...


2

You could proceed as follows: Find the file agsm.bst in your TeX distribution. Make a copy of this file and call the copy, say, agsmdoi.bst. (Don't edit the file agsm.bst directly.) Open the file agsmdoi.bst in a text editor. The editor you use to edit your .tex files will do fine. You first need to add a field type named doi. To this effect, find the ...


2

I was using the wrong options for natbib. Upon removal of the "square" and "number" options, citations now appear in the proper format (I'm using "sort" and "round").


2

Thanks for updating your posting and indicating which bibliography style you employ. I trust that my-apalike is fairly similar to the "standard" apalike bibliography style. You need to open the file my-apalike.bst in a text editor -- the program you use to edit your .tex files will do fine -- and look for certain hard-coded English-language terms and ...


2

You can set a master file (main.tex). Thus you can include the following in all .tex files in your project. %%% Local Variables: %%% mode: latex %%% TeX-master: "main" %%% End: after that reflex will find the bibliography from the master (main.tex) file.


2

You need to format your bibliography file correctly. Writing author = "{xxx yyy and aaa bbb}" will be interpreted as a one single author whose name is simply a surname. You should write author = {xxx yyy and aaa bbb} or better author = {yyy, xxx and bbb, aaa} with each name as Last, First: @TechReport{E:N:T:Z:2003, author = {Elnikety, ...


2

This is one reason why it is can be helpful to start with a minimal WORKING example, if you can find one :-) #+LaTeX_HEADER: \usepackage{mathptmx} #+LaTeX_HEADER: \usepackage{pifont} #+LaTeX_HEADER: \usepackage[margin=0.7in]{geometry} #+LaTeX_HEADER: \usepackage[backend=bibtex,sorting=none]{biblatex} #+LaTeX_HEADER: \addbibresource{gg.bib} %% point at your ...


2

To get the appearance of the entries in the references, keep using the plainnat bibliography style but do not load the natbib package. You'll get: \documentclass[a4paper]{article} % to keep output all on one page \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{amsmath,amssymb,amsthm,graphicx} %\usepackage{natbib} %% deliberately ...


2

Assuming your copy of the style file ACM-Reference-Format-Journals.bst is more or less the same as the one I was able to obtain from this GitHub site, you can get rid of the bracketd citation labels by loading the natbib package (in the preamble): \usepackage{natbib} To get rid of the handing indentation, use the instruction \setlength\bibhang{0pt} You ...


1

In your bib entrys LatencyArbitrageTheRealPower and michaelLewisWrong is a comma missing. Add them and everything should compile. Here the two corrected bib entrys: @article{LatencyArbitrageTheRealPower, title = {Latency Arbitrage: The Real Power Behind Predatory High Frequency Trading}, author = {Sal Arnuk and Joseph Saluzzi}, year = ...


1

This seems to be a problem with the two custom elements included in your MWE - the \documentclass[11pt,a4paper]{../uolthesis} documentclass and whatever is in your \usepackage{../draft_doc} package. Using the standard report class and commenting the mentioned usepackage line (as well as getting rid of the stuff relating to hyphenation) yields the following ...


1

Also check out https://github.com/jburon/pnas2011.bst for PNAS bibtex style updated to match the current fashion in reference layout as of 4 September 2011.


1

(Aside: I noticed your posting from almost four months ago only just now. In the meantime you are probably long done with the Master's thesis. Hopefully, though, the following answer will turn out to be useful for others who also need to accomplish the task you've outlined.) You could proceed as follows: First, find the file apacite.bst in your TeX ...


1

It turned out that writing a quick program to do this was the most viable solution left. Recently I got around to place it on GitHub for everyone to use and contribute. It is a very simple and ugly implementation but it did the trick for the 150+ BibTeX entries for my Ph.D. thesis. In case you need something like I did, have a look at ...


1

If your key is wiki:xxx then use \cite{wiki:xxx}. If your key is wiki:001 use \cite{wiki:001}. The keys are completely arbitrary and are equal to whatever you set them to in the .bib file. If duplicate keys are present in the .bib file, BibTeX uses the first occurrence.


1

Biblatex (not BibTeX) defines a field pubstate, where you can set different types like inpress, submitted, forthcoming, etc. The full list is in the biblatex manual.


1

I had a related problem, and a Google search led me to this question ... so I will leave my solution here, in case others run into the same problem. I was using TeXstudio and running BibTeX but no references or citations were showing up. No errors popped up when compiling. The problem was that I was using \bibliography{references.bib} instead of ...


1

The solution in apacite: how to suppress url if doi is avalable? can be modified as follows (it requires the environ package). \usepackage{apacite} \usepackage{etoolbox} \usepackage{environ} \newtoggle{bibdoi} \newtoggle{biburl} \makeatletter \undef{\APACrefURL} \undef{\endAPACrefURL} \undef{\APACrefDOI} \undef{\endAPACrefDOI} ...



Only top voted, non community-wiki answers of a minimum length are eligible