Hot answers tagged

5

I don't have GrindEq nor MS Word, but in the compilation of your TeX document a .bbl file is created (after the typical compile-a-few-times steps). This is actually the file which BibTeX converted the database into properly formatted \bibitems. You can make a copy of your TeX file, and in this copy, instead of using the line \bibliography{...}, copy paste ...


5

The apacite package (which can be used with natbib) does this automatically. Note however, if both authors also have the same initial, (as originally stated in your question title but not your actual example) it will fail. The proper APA citation form for these is "FirstName LastName (Year)" and in the bibliography "LastName, F. [FirstName] (Year)". The ...


4

Just copy the .bbl file generated for the big document to a new name of an otherwise empty document and don't run bibtex on the small document so it gets over-written. Latex the small document and it will input the bibliography as normal.


4

Adding uppercase=true should work. \field[strwidth=3,strside=left,ifnames=1,uppercase=true]{labelname} \field[strwidth=1,strside=left,uppercase=true]{labelname} I must comment, however, that this format effectively removes any way to distinguish between a three author work and a single author work, which I don't think is very practical. Here's a working ...


3

The classic apacite commands have no way of dealing with this case. Instead you should use the natbibapa option of the package, and use the natbib citation commands which provide uppercase initial citation commands such as \Citet which do what you need. From the apacite documentation, p.10: natbib provides a set of commands (e.g., \Citet) that ...


3

You can automate the choice of length with the following code \newcounter{mymaxcitenames} \AtBeginDocument{% \setcounter{mymaxcitenames}{\value{maxnames}}% } \newlength{\citelabelwidth} \defbibenvironment{bibliography} {\list {\begingroup\defcounter{maxnames}{\value{mymaxcitenames}}\usebibmacro{cite}\endgroup} ...


3

In my opinion it is not a good idea to put bib labels in the right margin: You are forcing the reader to go to the right margin find the label and then back the whole line. But if you want ... \documentclass[12pt, twoside]{scrbook} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{marginnote} \usepackage{ragged2e} \usepackage[english]{babel} ...


3

First of all, I noticed that you used \''\u to try to write the ü-umlaut. The shortcut for the three German umlauts and the sz ligature actually are: \"a for ä, \"A for Ä \"o for ö, \"O for Ö \"u for ü, \"U for Ü \ss{} for ß What is way easier than typing those shortcuts and leads to a cleaner source, though, is saving your files with UTF-8 encoding and ...


3

Edit: I am not sure whether I have understood what you are asking. Is it the title of the journal paper that you want to have in bold and italics, or the name of the journal itself? By first reading your question, I assumed the former, so the first part of my answer tackles that. If it's the latter that you're after, read the second part of my answer for ...


3

You could redefine the \APACjournalVolNumPages command (this is the formatting command that apacite.bst uses to format journal articles; see page 41 of the current (v6.03) manual): \makeatletter \renewcommand{\APACjournalVolNumPages}[4]{% \textbf{\Bem{#1}}% journal \ifx\@empty#2\@empty \else \unskip, \Bem{#2}% volume \fi ...


3

Both citation call-out formats are examples of author-year style. The first, (Nordborg et al., 1996b) is called "parenthetic" citation call-out style. With natbib, it's produced with \citep{<key>} The second call-out style, viz., Nordborg et al. (1996b), is known as a "textual" style; with natbib it's generated via ...


3

The dash character in the line title = {{A Quantitative Survey of Local Adaptation and Fitness Trade‐Offs}}, is indeed not a "simple" dash (ASCII code 45), but a unicode-encoded character (code U+2010). Observe that this is a LaTeX issue, not a BibTeX issue. You can do several things. E.g., Do a global search of ‐ (U+2010) and replace all instances ...


2

The .bib key must not contain spaces, and the opening brace of the year in your .bib file was not followed by a closing brace. With this file @book{Fluid_Mechanics_Seventh_Edition, author = {Frank M. White}, title = {Fluid Mechanics, Seventh Edition}, year = {2011}, publisher = {McGraw-Hill} } and a ...


2

\nocite{TitlesOn}, as written in line 27 of jbact.bst % TITLES can be turned on and off! % Just nocite the reference TitlesOn in the paper (i.e. \nocite{TitlesOn}) % and have a bibliography article in your database with that cite key! % Without titles is Journal of Molecular Biology; % With titles is Journal of Theoretical Biology. Note: An ...


2

If you look at the log file of the failed preview you it should tell you what the source of the error is. Depending on how you are producing the preview it may be that the command you've put in the preamble is already defined. I'm using natbib and apalike to preview, and I got the following error: ! LaTeX Error: Command \SortNoop already defined. ...


2

I saved your file in a directory where I have the copernicus class as michael.tex and also oceanbib.bib. I did some changes: Removed the inexistent article option Fixed \Author[1]{my}{name} into \author[1]{my name} Removed \usepackage{cite} that's incompatible with natbib (loaded by the class) Added a \conclusions section as required by the template. ...


2

It seems like I found a first solution based on the comment by Joseph Wright by cutting the text first and adding it later as follows \usepackage{filecontents} \begin{filecontents}{biblatex-dm.cfg} \DeclareDatamodelFields[type=field,datatype=verbatim]{adsurl} \DeclareDatamodelEntryfields{adsurl} \end{filecontents} \DeclareSourcemap{ ...


2

This solved my problem and saved me time otherwise spent on studying bibtex, biber, biblatex, bibtex8 and natbib. \chapter*{Publications} % Publications page text \section*{In This Thesis} Some of the research leading to this thesis has appeared previously in the following publications. \subsection*{Journal Articles} \begin{itemize} \item Author A, ...


2

I'd have expected your bibtex style to stop that, but \mbox{\cite{is}} will stop line breaking (but may also affect the size of word spaces, so isn't ideal).


2

You should not use \bibliography{bibfile.bib}{} but \bibliography{bibfile}: \documentclass{article} \begin{document} \cite{foo} \bibliography{bibfile} \end{document} During the compilation LaTeX try to add the .bib extension and so it goes wrong. since the file bibfile.bib.bib does not exist.


2

Here's a version with biblatex, because I find that natbib is really hard to customize. For now, the length is manual (set to 100pt) since this is the first time I've been trying to change biblatex this much and I'm not sure how to set it automatically. Although I doubt you should have longer last names, if they happen, you can just slightly increase that ...


2

Several of the abstract fields (such as the one of kalesanUsesFSS) contain unescaped percentage characters, such as "5.2%". This leads BibTeX to consider the rest of the line as a comment, including the final "}". You may need your replace your "%" by "\%" (not tested).


2

biblatex-apa requires Biber from version 4.5. Page 2 of the manual states: 4.5 biber is now required. This is because APA style needs a custom sorting scheme and only biber supports this. bibtex support is going away in biblatex eventually anyway so it’s best to switch.


2

I suggest you use the special type @inreference that is specifically for dictionaries and encyclopaedias. @inreference{BAR60, Author={Foo Bar}, Title={Baz}, Year={1960}, Booktitle={Encyclopaedia of Everything} } Then you can just do \DeclareFieldFormat[inreference]{title}{\printtext{s.v.}\addspace\mkbibquote{#1\isdot}} to automatically add the ...


2

Save it with .bib and compile with latex-bibtex-latex-latex and then take a look at the pdf. Take a look also to the other quesetion. If you need help take a look at these gifs I just made. Create the bib file Compile with latex-bibtex-latex-latex All files can be downloaded here: Google drive link


2

The following solution uses the Biber back-end because we need to create a new field (indexname). Analogue to shortname and sortname our new field is called indexname. First we need to make the new field known to Biber and biblatex. Create a .dbx file with the following contents \DeclareDatamodelFields[type=list, datatype=name]{indexname} ...


2

In addition to loading natbib (before multibib), you may also want to edit the @misc-type entries a bit to take better advantage of the fact that you're using the plainnat bibliography type. \RequirePackage{filecontents} \begin{filecontents}{biblio.bib} @incollection{Akallabeth, author = "Tolkien, John Ronald Reuel", title = ...


2

\setcounter{enumiv}{9} would work if the the \thebibliography wouldn't apply \usecounter{enumiv} which in turn resets the enumiv counter. From article.cls \newenvironment{thebibliography}[1] {\section*{\refname}% \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}% \list{\@biblabel{\@arabic\c@enumiv}}% ...


1

The package bibentry works under the assumption that each entry in the .bbl file is followed by a blank line and, unfortunately, model1-num-names.bst doesn't respect this convention. Modify a copy of model1-num-names.bst, say model1-num-names+blank.bst in the following way (line numbers added for reference) and place this modified copy in the working ...


1

The field author = {{N{\"o}me}, Name}, is malformed, according to the (complex) rules of BibTeX, because it produces the faulty entry \bibitem[{N{\"}}14]{ab_cd_2015} in the .bbl file. Essentially, the inner braces are ignored, so you end up as if the name was N\"ome which would produce almost the same, that is, \bibitem[N\"14]{ab_cd_2015} The ...



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