Tag Info

Hot answers tagged

7

\documentclass{article} \usepackage{harvard} \citationmode{abbr} \citationstyle{dcu} \bibliographystyle{xdcu} \newcommand\HARVARDAND{\harvardand} \begin{document} A \citeasnoun{Campbell(1996)} B \cite{Hamilton(1994)} \bibliography{tst} \end{document} xdcu.bst is a copy of dcu.bst with "u" change.case$ added in some likely looking places (I ...


7

Bibtex solution: Multiple bibliographies are not possible with standard bibtex. However, the multibib package allows for it. multibib offers the \newcites{ac}{Academic} commands that appends the proxies ac to standard bibliography commands, i.e., \citeac, \nociteac, \bibliographystyleac and \bibliographyac. The second argument is the heading of the ...


6

You can make url to break the lines at places you want by adding these lines to your preamble: ...


4

Your .log file shows, that package filecontents is not loaded at all. LaTeX's version is more defensive, from your .log file: LaTeX Warning: File `filecontents_test.bib' already exists on the system. Not generating it from this source. If package filecontents is loaded before, then you would have seen: Loading of the package, console: ...


4

So long as you don't have special characters such as \ss or \i in the author names, this should work without requiring changing .bst files. \begin{filecontents*}{\jobname.bib} @BOOK{Campbell(1996), AUTHOR = {J. Y. Campbell and A. W. Lo and A. C. MacKinlay}, TITLE = {The econometrics of financial markets}, PUBLISHER = {Princeton University ...


4

As you've discovered, the wmaainf bibliography style for some reason sees fit not to process the field edition for entries of type @incollection. (It only processes the edition field for entries of type @book, @inbook, and @manual.) Given that you're apparently stuck with having to use this style file, I suggest you do the following: Make a copy of ...


4

ulem package is making an underline and preventing the title from being broken over a line in this context. Simply removing the package is simplest and then the title will be set in italics and break over a line with no issues.


3

You simply have to load multibib with the option resetlabels: \usepackage[resetlabels]{multibib} MWE: \documentclass[12pt,a4paper,sans]{moderncv} \moderncvstyle{classic} \usepackage[scale=0.75]{geometry} \firstname{Hi} \familyname{There} \makeatletter \renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}} \makeatother ...


3

The way that biblatex assigns citation numbers/labels is different from 'traditional' BibTeX as the bibliography data is read in the preamble. As such, the 'minimum' recipe when using biblatex is <engine><backend><engine> both when the <backend> is Biber and when it is BibTeX. This applies to all engines (so pdfLaTeX, XeLaTeX, ...


3

Insert the author as author = {Hu, Xiao{-}Yu}, so the hyphen will be hidden and not mistaken for a compound name marker à la French (Jean-Claude or similar). For the URL, load also \usepackage{url}. Example (with filecontents* just to make it selfcontained, use your separate file). \begin{filecontents*}{\jobname.bib} @electronic{something, title = ...


3

I walked around my question with the following steps. It is not a clear tex solution, may be not suppose to be here, but in any way it is working. I tried to use with perltex, got some interesting errors. My Solution Preparation I prepare a perl script, to find desired reference and information belongs to that one, parsed into a variables, ...


3

Since there is no numbering, the references must be identified in the text by name and year. Therefore we can guess that this bibliography is used for Harvard style referencing. \documentclass{article} \usepackage{harvard} \begin{document} \cite{Amos80} \bibliographystyle{agsm} \bibliography{test} \end{document} Here is the file test.bib. ...


2

You asked: How do I best modify the BibTeX to show more fields? Don't modify BibTeX. Instead, modify the entry. E.g., you could move the material in the city, country, and isbn fields to a field called note, as the ieeetr bibliography style recognizes the note field type and will typeset its contents. (The ieeetr style does not recognize fields named ...


2

My solution uses \uppercase when reading the third parameter of \harvardcite which is used in .aux file. Then we need to replace ET~AL. to et.~al.. I used the macro \replacestrings from my OPmac for this purpose. \documentclass{article} \usepackage{harvard} \let\harvardciteori=\harvardcite \def\harvardcite#1#2#3#4{\uppercase{\def\tmpb{#3}}% ...


2

Using the code from the linked question does work: Note that I use \superfootcite rather than \footcite. Also I changed your \bibliography command to \addbibresource. \documentclass[a4paper,fontsize=12pt,headings=big,chapterprefix,bibliography=totoc,listof=totoc]{scrbook} \usepackage[automark]{scrpage2} \usepackage{graphicx} ...


2

You can use biblatex categories. By manually adding a category like follows you can suppress some entries in the bibliography: \DeclareBibliographyCategory{nobibiograpphy} \addtocategory{nobibiograpphy}{test1} Try this (note I used biber instead of bibtex as the engine): \begin{filecontents}{mytestbib.bib} @book{test2, author = "T. Testing", ...


2

The keys I use are of the form Last-XYZ:Keywords-From-Title where Last is the last name of the first author XYZ are the initials of the last names of the remaining authors For example @Article{Abbena-G:cosymplectic, author = {Abbena, E. and Grassi, A.}, title = {Hermitian left invariant metrics on complex Lie groups and ...


2

I have created a hack that works. I'm using biblatex. In a .bib file there is this entry: @Misc{crete, addendum = {Bull-leaping in Crete.}, annotation = {Bull-leaping in Crete. Photo by Wolfgang Sauber, Wikimedia Commons.} } The image file is named crete.jpg. I created a \Figura command with this definition: ...


2

John Wiley & Sons, has to be John Wiley \& Sons, otherwise you will get an error on the & but then latex bibtex latex latex should produce the image shown. (Your description sounded like you ran bibtex first which would be incorrect)


2

There are several errors; David Carlisle has already pointed out some of them in the comments. You must "escape" the & symbol in the publisher field, i.e., write \&. Since it looks like you want to use the apacite package and associated bibliography style, don't encase a URL string in \url{...}. Instead, just write url = "...",. Do fix the ...


1

Use the package natbib. If your professor has sent you the .bib file, you now have to tell the .tex document where to cite from. You can add code like this to the bottom of your document, before \end{document}: \bibliographystyle{chicago} \bibliography{C:/Users/.../...} Read up on how natbib and citing works. You will have to change your citations to ...


1

I use lastname.first_letter(s)_of_firstname:year:title, where title is a single word representing the title. For example: @article {nichols.a.e:1971:brief, author = {Nichols, Ann Eljenholm}, file = {[[/home/me/library/Nichols, A. E.; 1971; Ælfric and the Brief Style.pdf]]} journal = {Journal of English and Germanic Philology}, ...


1

In the technical sense of the word, this is an answer, but it's not acceptable because there is bound to be a more elegant solution. It is at best an example of the desired effect. \documentclass[12pt]{report} \usepackage[sort]{natbib} \usepackage{polyglossia} \usepackage{bidi} \setdefaultlanguage{hebrew} \setotherlanguage{english} \addto\captionsenglish{ ...


1

revtex4-1 acts on footnotes in a quite strange way, saving them for printing in the references section Use \protect\int: positions.\footnote{% $\protect\int_{-\infty}^\infty e^{-\vec{x}^T A \vec{x}+\vec{B}^T \vec{x}} d^nx= \sqrt{\frac{(\pi)^n}{\det{A}} }e^{\frac{1}{4}\vec{B}^{T}A^{-1}\vec{B}}$. This can be verified by applying the unitary transform ...


1

Replace the date function with: FUNCTION {format.date} { year empty$ { "" } { year "(" swap$ * ")" *} if$ }


1

To use url with a plain bibliography style you can use this format: @misc{Doe:2009:Online, author = {author}, title = {Title of Citation}, year = {2010 (accessed December 7, 2014)}, howpublished = "\url{http://www.myurl.com}"} Additionally you need to add the url package \usepackage{url} If you want to use the url attribute in you need to use natbib ...


1

The Better Bib(La)Tex plugin has since been updated to make sure your bibtex keys are unique even if not explicitly forced to a unique value. The example that is given in the question will no longer occur (full disclosure: I am the author of the plugin -- problems such as these are more swiftly handled when an issue is lodged at github).


1

(This answer addresses only the matter of making the aer style insert an "Oxford comma".) To make the aer bibliography style insert an "Oxford comma" -- a comma just before the "and" particle that's inserted before the final item in a list that contains three or more items -- you could apply the following edits: Find the file aer.bst in your TeX ...


1

As suggested here, you can use the month field: month = "29~" # nov # "--" # "2~" # dec The cardinal (#) is the BibTeX concatenate operator.


1

The month field should store the month when the book or journal number was published, which is almost surely not the date the conference took place. That date interval is part of the title of the book; with scholar.google.com I got this BibTeX entry @inproceedings{hua2005electricity, title={Electricity price forecasting based on GARCH model in ...



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