Hot answers tagged

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

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

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 ...


1

This can be done with a bit of modification of the cite macro (we assume authoyear-ibid here) \renewbibmacro*{cite}{% \global\boolfalse{cbx:loccit}% \iffieldundef{shorthand} {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage} {\usebibmacro{cite:ibid}} {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}} ...


1

Your MWE is of no use since we do not have the contents of your *.bib file. My guess would be that you need to switch your bibliography parser to 'biber'. Does your MWE work with the following adjustments? \usepackage[bibstyle=authoryear,citestyle=authoryearbrak,backend=bibtex]{biblatex} If yes, you should change the bibliography tool of your editor to ...


1

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. ...


1

I can reproduce the faulty output if I have \usepackage[applemac]{inputenc} in my document. \begin{filecontents*}{\jobname.bib} @article{Hereford2009, author = {Hereford, Joe}, doi = {10.1086/597611}, file = {:Users/remi/Documents/Biologie/Literature/BackgroundSelection/597611.pdf:pdf}, issn = {0003-0147}, journal = {The American Naturalist}, keywords = ...


1

\usepackage{rsc} provides the \bibliographystyles{rsc} and {angew}. The latter is what you are looking for (except for removing the page range; this you may have to hard-edit in your .bib file)



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