Tag Info

Hot answers tagged

8

Several comments: Since you're (i) using the agsm bibliography style, which is distributed with the harvard citation management package and (ii) loading the natbib package rather than the harvard package, you should load the har2nat package as well. As its name indicates, it "translates" various macros that are defined by the harvard package (and which are ...


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


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


3

The problem is always the same: numbers are reversed. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[LFE,LAE,OT1]{fontenc} \usepackage[english,arabic,farsi]{babel} \usepackage{xparse} \ExplSyntaxOn \cs_generate_variant:Nn \tl_reverse:n { f } \DeclareExpandableDocumentCommand{\revarabic}{m} { \tl_reverse:f { \arabic{#1} } } ...


3

It's not working because you're using the wrong syntax: \citep[Prefix][Postfix]{key} \citet[Prefix][Postfix]{key} (don't use \cite, although it's the same as \citep). If you just want a prefix, use an empty second optional argument: \citep[Prefix][]{key} \citet[Prefix][]{key} Just one optional argument will use it as postfix: \citep[Postfix]{key} ...


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

The \bibentry provides only the citation, as you noted. However, a \cite produces the label you desire. Placing the two together gets the complete list, as in \cite{goossens93} \bibentry{goossens93} Here is my MWE. \documentclass{article} \usepackage{bibentry} \usepackage{filecontents} \begin{filecontents}{mytestbib.bib} @book{goossens93, author = ...


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

Make the following two changes to your code: Use the instruction \usepackage[natbibapa]{apacite} to load the natbib package in a way that maintains compatibility with apacite. (For more on this, see p. 7 of the user guide of the apacite package.) Using this loading method has the added benefit that natbib is loaded automatically with the option ...


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


1

From this source, I got a solution to my problem: \usepackage{etoolbox} \usepackage{refcount} \newcommand{\mypageref}[2]{ \ifnumequal{\getpagerefnumber{#1}}{\getpagerefnumber{#2}} {S. \pageref{#1}} {S. \pageref{#1}\ --\ \pageref{#2}} }


1

By using the idea from two answers http://tex.stackexchange.com/a/39254/39306 and http://tex.stackexchange.com/a/214575/39306, I came up with the following solution which is still unsatisfactory as I use $$'s. \makeatletter \renewcommand\@bibitem[1]{\item\if@filesw \immediate\write\@auxout {\string\bibcite{#1}{$\theenumiv$}}\fi\ignorespaces} ...



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