Hot answers tagged

4

You can redefine the internal command. Be aware that this can break if you load packages which change the cite command like natbib, jurabib etc. T1-encoding is needed for the underscore. \documentclass{article} \usepackage[T1]{fontenc} \makeatletter \def\@citex[#1]#2{\leavevmode \let\@citea\@empty \@cite{\@for\@citeb:=#2\do ...


3

The natbibpackage provides the command \setcitestyle that allows for some customization. The delimiter between author and year in citations is set using the key-value pair aysep={<char>}. Here is an almost MWE (fill in your bib file and a prober cite key): \documentclass[]{article} \usepackage{natbib} \setcitestyle{aysep={}} \begin{document} ...


3

I have made a little Python script that processes a bibtex database, searching for the journal names and replacing them with their official abbreviation (taken from the Jabref source): https://gist.github.com/FilipDominec/9ff081952dbc4aae1df657a56c3db4ea


3

Your core problem is to uppercase only a part of a list of words. That's not so difficult (perhaps one needs to make the command robust for the bibliography). \documentclass{article} \makeatletter \newcommand\FirstWordUpper[1]{\@firstwordupper#1 \@nil} \newcommand\@firstwordupper{} \def\@firstwordupper#1 #2\@nil{\MakeUppercase{#1} #2\unskip} \makeatother ...


2

[converting my comment to an answer...] The problem arises because the caption citation shows up in the list of figures/tables. Any citations in those "list-of-xxx" captions, unless intercepted, get incorporated into the citation order. The notoccite package does the interception for you. \usepackage{notoccite}% PREVENTS CITES IN CAPTIONS FROM ...


2

bluebook.sty is not easily hackable. The simplicity with which you can use \citecase means the internal macros are hellish because, as anyone familiar with the horror that is the Bluebook knows, the rules surrounding legal citations are overly prescriptive, pointlessly complicated, and serve mainly to ensure that only the cognoscenti will be able to decipher ...


2

Not a direct answer but rather a pointer to a possible route to a solution. Last year I developed a BibTeX style for a book catalogue bookdb.bst which involved extending one of the regular BibTeX files. Run texdoc bookdb to view the User Manual and possibly read bookdb.bst if you want the gory internal details. The User Manual doesn't describe the internal ...


2

The ISO 690 Wikipedia page claims that this standard concerns the required elements, or inputs, of a bibliographic reference, and that it is not concerned with the formatting of the typeset output. If this information is correct, it doesn't make much sense to talk about an ISO690-compliant BibTeX or biblatex style: Just about all BibTeX and biblatex styles ...


2

You can get rid of the extrayear fields with \AtEveryCitekey{\clearfield{extrayear}} \AtEveryBibitem{\clearfield{extrayear}} You will probably lose APA compliance that way and finding the right entry in the bibliography becomes a game of chance.


2

The errors and problems you get are comming from one bad bib entry. Please see this changes for the bib entry DICE83:online: @online{DICE83:online, author = {}, title = {DICE - eoPortal Directory - Satellite Missions}, url = {https://directory.eoportal.org/web/eoportal/satellite-missions/d/dice#foot17%29}, urldate = {2016-12-04}, } The ...


2

A possibility is to use cleveref and its \cref or \Cref commands to include the type of the referenced counter, e.g. an equation or a theorem. The \Cref is used for uppercase purposes, e.g. at the beginning of a sentence. Please note, that \usepackage[english]{cleveref} etc. is perhaps more useful, depending on the needed language. cleveref's output ...


2

As Moewe commented: \citet[p.1]{citekey}


2

If you wish to modify the plain bibliography style file, I would actually recommend that you modify the plainnat style instead, for two reasons. First, compared with the plain style, plainnat is about 20 years younger and thus knows what to do with fields such as url, doi, eid, isbn, and issn. Second, when used with the natbib citation management package, ...


1

You can use babelbib: \begin{filecontents*}{\jobname.bib} @article{ur, author={A. Uthor and W. Riter}, title={Title}, journal={Journal}, year={2016}, } @book{x, editor={E. Ditor}, title={Collection}, year={2016}, } \end{filecontents*} \documentclass{article} \usepackage[dutch]{babel} \usepackage{babelbib} \begin{document} \cite{ur}, ...


1

\RequirePackage{filecontents} \begin{filecontents*}{\jobname.bib} @book{citekey, address = {Nowhere land}, author = {Nowhere Man}, publisher = {University of Void Press}, title = {On the Nothing of Nothingness}, year = {9999} } \end{filecontents*} \newif\ifnatbib \natbibtrue \documentclass{article} \ifnatbib \usepackage{natbib} \else ...


1

The formatting of the names used in the citation call-outs is governed not by the natbib package but by the bibliography style that's in use. I'm assuming that you'll want to show the first names of all authors, rather than just those of of selected authors. While you're at it, I'll also assume that you'd want to show any "junior" name components, if ...


1

Just add the biblatex option sorting=ynt to your biblatex options since sortcites uses the global sorting scheme. This gives you the order you want. If you want different sorting for the actual bibliography list, you can put your \printbibliography inside a \refsection with a different sorting scheme.


1

If found this solution for R (here), which I think is a good solution as well @Manual{ram2010, title = {Mathematica 8.0}, author = {{Wolfram Research Inc.}}, year = {2010}, url = {http://www.wolfram.com}, }


1

You saw the error message Category important not declared caused by your code? Just add \DeclareBibliographyCategory{important} to your code. Then there are some more little errors, for example you have to add the key of the new books/articles to \addtocategory. At last I changed bold writing to italic writing (to see it better I colored it red). ...


1

You seem to be mixing two things: to create a bibliography in LaTeX, you can either Create the bibliography yourself Let BibTeX or BibLaTeX create bibliography (see here) You kind of do both... With \usepackage[backend=biber]{biblatex}, you tell LaTeX that you want to use BibLaTeX with Biber as a backend. But then, you create the bibliography yourself, ...


1

It should be enough to replicate the code in \AtEveryBibitem in a \AtEveryCitekey block. Just add \AtEveryCitekey{% \ifcategory{important}% {\bfseries\color{red}}% {}}


1

Using this bibstyle file answered my question: \bibliographystyle{plainnat} It was a duplicate of Natbib In-Text Citation displays (author?). Thanks for the help!



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