Tag Info

Hot answers tagged

25

The loss of capitalization is by design: BibTeX does this because some, but not all citation styles require capitalization in titles (a.k.a. "title case"); other styles use ordinary case. So BibTeX styles are designed to work as follows: You must write the title in the capitalized form, and your bst style either keeps it this way or converts it to lower ...


11

that is hardcoded in the bst file, Copy it to myapj.bst and replace FUNCTION {bbl.and} { "and"} with FUNCTION {bbl.and} { "\&"} and use in your document \bibliographystyle{myapj.bst}. The file myapj.bst can be saved in the documents directory or in your local bibtex/bst path, if available. As an alternative use another harvard style like ...


11

Yes and no. You can create your own bibliography manually: \begin{thebibliography}{xx} \bibitem{abc} \textsc{Author}, \textit{Title}, ... ... \end{thebibliography} However, this lacks consistency through automation as well as ease-of-maintenance. A far better alternative to handling a bibliography "within the same file" would be to embed it via ...


10

Use a space Especially in math mode both {\foo} and \foo{} will have an adverse effect on spacing, and as you comment surrounding the command may negate it altogether, for example {\small} does nothing as the font change is discarded at the }.


10

Add these lines to the preamble: \usepackage{etoolbox} \patchcmd{\thebibliography}{\section*{\refname}}{}{}{} A complete example: \begin{filecontents*}{aaaaabbbbbb.bib} @misc{test, title= "The title", howpublished= "Publisher" } \end{filecontents*} \documentclass{IEEEtran} \usepackage{etoolbox} \patchcmd{\thebibliography}{\section*{\refname}}{}{}{} ...


10

The biblatex way is to use origdate, but the default styles do not support origdate awfully well. You might like the following redefinitions. This will work for the standard mergedate=compact option of biblatex, it also seems to require biber. We just add a macro to print the origyear, if defined, in citations and the bibliography. ...


9

You can use biber to do this. On a command line type biber --tool --output_encoding=UTF-8 myfile.bib For myfile.bib containing: @Article{Schroeder:Na, author = {Schr{\"o}der, M.}, title = {Na{\"i}ve construction of hyper{K\"ahler} metrics}, journal = {{\'E}c. Norm. Sup.}, year = 2000 } you will get an output file myfile_bibertool.bib ...


9

Typically such names are listed with the real name (i.e. in this case, Strutt). With an alphabetic style, however, you can have the best of both worlds, I suppose, by using the commonly known name as the citation label. Here's how to do this in biblatex. Doing it in natbib is probably not possible without a lot of work. The biblatex package has a field ...


9

The @collection entry seems to be exactly what you want. The BibLaTeX documentation says: A single-volume collection with multiple, self-contained contributions by distinct authors which have their own title. The work as a whole has no overall author but it will usually have an editor. @book is not the most appropriate choice here because BibLaTeX ...


9

Many BibTeX bibliography style files employ sentence style to render the contents of the title field of entries of type @article, @techreport, and @misc, i.e., they turn uppercase letters (except the very first letter) into lowercase letters. You can prevent this by enclosing the words in question (and even the entire title field) inside an extra pair of ...


9

while this is not clearly documented in the "usual" places, in "guide to latex" by kopka & daly, it is stated in section 12.2.4, regarding names, that Anything enclosed in braces will be treated as a single item, something that is used in ambiguous cases, or when the name contains a comma or the word and. An example is "{Harvey and Sons, Ltd}" ...


8

grep URL /usr/local/texlive/2013/texmf-dist/tex/latex/custom-bib/* reveals "\providecommand{\urlprefix}{URL }" so you just need to define \urlprefix to anything else (eg {}) then if it has a definition \providecommand does not redefine it.


8

You need little help from the package url as mentioned by bombcar. \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{mybib.bib} @booklet{NaveDP, author = {Nave}, title = {{Law of Dulong and Petit}}, %% note extra pair of braces year = {2014}, howpublished = {\url{http://hyperphysics.phy-astr.gsu.edu/hbase/thermo/dulong.html}}, ...


8

The cause of the problem is a faulty instruction in the bst file. Make a copy of fom.bst and edit the copy as follows: in the function format.names.author, find the string "{vv}{ll, }{f.}" and replace it with "{vv~}{ll}{, f.}" That way, a comma will be inserted after the last-name component only if the author's name contains a first-name component as ...


8

Another biblatex solution. As basis we take biblatex's numeric with maxnames=2 \usepackage[style=numeric,maxnames=2]{biblatex} We define our short bibliography driver std that prints only the author/editor, title and date \DeclareBibliographyDriver{std}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% ...


8

I have some .bib files, some of them have 1000 lines. To be sure that they are working well I always use this test MWE (package filecontent and sample .bib file added only for a running MWE; delete it and use your own .bib file please): \RequirePackage{filecontents} % loading package filecontents % writing file \jobname.bib, for example ...


8

The memoir class enforces the use of proper font commands. The old two-letter commands such as \bf and \it, \sc, etc. are problematic and now very old. See Will two-letter font style commands (\bf , \it , …) ever be resurrected in LaTeX? Unfortunately, many older bibliography styles still use the old font commands, and since their code is not trivial ...


8

The solution for you is to use biblatex and biber's sourcemap features. Add the following code snippet to your preamble. \DeclareSourcemap{ \maps[datatype=bibtex]{ \map{ \step[fieldsource=url, match=\regexp{http://(dx.doi.org/|dl.acm.org/)}, final] \step[fieldset=url, null] \step[fieldset=urldate, null] } } } You can extend ...


8

Here is the ieeetran.bst There are no required fields, and the accepted fields authors, date, title, howpublished, organization, address, note and url. Your actual .bib entry might look something like this: @electronic{website2013, authors = "Smith, John", title = "Webpage Title", url = "http://link.com" } Relevant information from the ...


8

Such kind of errors usually depends on otherwise invisible characters. Proceed with method and try isolating the problem; in this case the message appears twice and in both instances the error message tells you that TeX is reading Fair division and collective welfare‏}} which evidently comes from the .bbl file and the bibliography item you report. So go ...


7

There might be a new entry in your bibliography file with a badly formatted URL field. First locate such entry and correct the url field (or remove it if you're not interested in urls). Then clean all the auxiliary files and try again. P.S. When downloading bibtex entries from conferences and journals websites, one has to be careful about the way they have ...


7

You should be loading the biblatex package with the natbib option, not the natbib package: \documentclass{article} \usepackage[ backend=bibtex, natbib=true, bibstyle=verbose, citestyle=verbose, % bibstyle extensively modifed below doi=true, url=true, % excluded from citations below citecounter=true, ...


7

You are using biblatex instead of regular bibtex. That means two things: You have to specify file extension when you add the *.bib file: \addbibresource{bibliography.bib}. You have to call biber paper from command line to compile the bibliography. After that, just compile your paper again and see if it works.


7

If you are writing in German - or are not too fond of sentence case (in its English meaning, that is capitalisation of the first letter of the sentence, and only that) anyway - you might want to "turn off" the conversion by \DeclareFieldFormat{apacase}{#1} in the preamble. If you just have the occasional German entry, or prefer English sentence case, save ...


7

This is an error in achemso which will be fixed in the next release. For the moment, doing \documentclass[journal=esthag,manuscript=article]{achemso} \setkeys{acs}{super = true} \setcitestyle{super,open={},close={}} \def\citenumfont{} should correct the issues: this resets the flag for achemso and alters the appropriate natbib settings.


7

Add \nocite{} commands in the table order at the start of the document. \documentclass{article} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @conference{Smaili:2011aa, Author = {Smaili, Hafid and Breeman, Jan and Lombaerts, Thomas and Stroosma, Olaf}, Booktitle = {4th European Conference for Aerospace Sciences}, Title = {{A} ...


7

You can use m column specifier for the last cell in last row. \documentclass{article} \usepackage{array} %% you need this \begin{document} \begin{table}[!htbp] \centering \caption{Spanish Traffic Sign according to the color and shape \cite{Paper12}} \begin{tabular}{|>{\raggedright}p{3.1cm}|>{\raggedright}p{3.1cm}|> ...


7

Winedt offers this functionality. You type \cite{} then this window opens: where you can search the entries. Upon selecting and clicking Insert you will get \cite{E.L.dasilva2000}.


7

This is what I get: \documentclass{article} \begin{document} \cite{Coscia,Moradi} \begin{thebibliography}{99} %%<-- you have to give the width of largest number \bibitem{Coscia} M. Cosica, F. Gianootti, and D. Pedreschi,`` A Classification for Community Discovery Methods in Complex Networks," \emph{CoRR} as/1206.3552 (2012) ...


7

Using biblatex, you can use the option isbn=false (or url, doi or eprint), to be given in the preamble package option. If there are other fields you'd like to suppress, you can use the commands \AtEveryCitekey{{\clearfield{month}} \AtEveryBibitem{{\clearfield{note}} to remove the chosen fields from citations (useful for the verbose citation styles) and ...



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