I'm using natbib, setcitestyle packages and agsm style. I want to italicize words "et al" so that they appear as "et al".   I have located and changed the agsm.bst file (5 instances of et~al to **\emph{et~al}**) and placed it in the same folder as my work. I have also pointed the biography style to new bst file. However, I see no change in citations.  I'm using TexStudio and Windows 8. I have gone through previous posts concerning this issue without success.  Previous posts on this issue:      ..and many others.  Please help.  MWE:  MinimumWorkingExample.tex:  \documentclass[a4paper, 12pt, oneside]{Thesis} \usepackage{natbib} \setcitestyle{aysep={,}}  \begin{document}     Here is a minimum working example:      Single author~\cite{yeung2007reducing}. In the second line, we provide an example of citing more than 3 authors so as to test of the words et al are italicized~\cite{samadi2010optimal}. \bibliographystyle{agsm} \bibliography{MWERef} \end{document}   MWERef.bib File:      @inproceedings{samadi2010optimal,   title={Optimal real-time pricing algorithm based on utility maximization for smart grid},   author={Samadi, Pedram and Mohsenian-Rad, Amir-Hamed and Schober, Robert and Wong, Vincent WS and Jatskevich, Juri},   booktitle={Smart Grid Communications (SmartGridComm), 2010 First IEEE International Conference on},   pages={415--420},   year={2010},   organization={IEEE} } @article{yeung2007reducing,   title={Reducing energy costs with peak shaving in industrial environments},   author={Yeung, Phillip},   journal={Schneider Electric, September},   year={2007} }   Output:    Thanks for your comments guys. MWE works, but my thesis document still cannot italicize the words et al. I will have to look for conflicting packages in the thesis document because MWE contains fewer packages than the thesis document.
62052
I am using natbib and agsm for harvard-style referencing. My related code is  \usepackage{natbib} \bibliographystyle{agsm}   Then I am using \citep{} for citations. My problem is that in text I am getting     (Author et al. 2012)   but and I want     (Author et al. 2012)   Does anyone know how to change this and get 'et al' in italics in the text?  I am using TexPad and BibDesk and I have not been able to find the .bst files in Terminal.  I know that it is often correct to have the 'et al.' unitalicised but my university regulations requires italics.
66218
I have a basic tex file and a bibliography which is exported from Mendeley  However, when I want to cite in the author-year style, I get the error:   Package natbib Error: Bibliography not compatible with author-year citations. (natbib) Press &lt;return&gt; to continue in numerical citation style.  Any clue what's wrong?  Minimum working example:  \documentclass[letterpaper, 10pt]{article}  \usepackage[authoryear]{natbib} \usepackage{lipsum}  \begin{document}  \lipsum[1-4] \nocite{*}  \bibliographystyle{apalike} \bibliography{articles}  \end{document}    A snippet of my .bib library:  @article{shortcode, author = {Lastname, Firstname}, file = {:/path/to/file.pdf:pdf}, journal = {Journal name}, number = {xx}, pages = {x--xx}, title = {Title}, volume = {xx}, year = {xxxx}     }
51448
Solution found  Use of \usepackage{textcomp} allows for \textdegree macro, thanks to @Mico.    I use TeXmaker as an editor and I use Mendeley to generate my .bib file. One entry has a degree symbol in the title. Mendeley encodes into UTF-8 and I therefore use   \usepackage[utf8]{inputenc}   however the degree symbols do not seem to work. I have also tried including  \usepackage[T1]{fontenc}   as per some suggestions on the stackexchange and the error changes from OT1 to T1.  How can I get the degree symbol to work? Thanks.    Edit - MWE (which causes the error):  \documentclass[a4paper,12pt]{article}  % Text and Maths \usepackage[utf8]{inputenc}                                 % Input accented characters from keyboard input   %References and page interlinking  \usepackage[numbers,sort&amp;compress,super]{natbib}        % References - [numbers,sort&amp;compress,super] \bibliographystyle{unsrt}                                   % BibStyle - unsrt keeps 1,2,3 instead of 2,1,3 (?)  \usepackage[final]{hyperref}                                    % adds hyper links inside the generated pdf file \hypersetup{ colorlinks=true,                                                    % false: boxed links; true: colored links linkcolor=blue,                                                     % color of internal links citecolor=blue,                                                     % color of links to bibliography filecolor=magenta,                                              % color of file links urlcolor=blue                                                       % colour of url link } \usepackage{cleveref}                                               % Clever ref - loaded AFTER hyperref!  \begin{document}  test \citep{Zimmermann2009}  \bibliography{/Users/me/Documents/library.bib} \end{document}   .bib entry, error caused by degree symbol in title, I believe.  @article{Zimmermann2009, abstract = {An unusual variety of magnetic, magnetoelectric and ferrotoroidic properties was observed in the lithium-orthophosphates LiMPO(4) with M = Fe, Co, Ni by optical second harmonic generation. In spite of a largely similar magnetic and crystallographic structure the compounds exhibit pronounced differences in the topology of antiferromagnetic 180A degrees domains. In LiCoPO(4) the antiferromagnetic domains coexist with ferrotoroidic, i.e., magnetic vortex domains. For LiNiPO(4) it was shown that the weak ferrimagnetic moment of the LiMPO(4) compounds along the spin direction is rigidly coupled to the AFM order parameter so that the sign of the magnetoelectric effect is reversed by a magnetic field only. Further effects of a static magnetic field on the system are discussed.}, author = {Zimmermann, A. S. and {Van Aken}, B. B. and Schmid, H. and Rivera, J. P. and Li, J. and Vaknin, D. and Fiebig, M.}, doi = {10.1140/epjb/e2009-00223-3}, file = {:Users/matt/Documents/Mendeley Desktop/Zimmermann et al. - 2009 - Anisotropy of antiferromagnetic 180° domains in magnetoelectric LiMPO 4 (M = Fe, Co, Ni).pdf:pdf}, isbn = {1434-6028}, issn = {14346028}, journal = {European Physical Journal B}, number = {3}, pages = {355--360}, title = {{Anisotropy of antiferromagnetic 180° domains in magnetoelectric LiMPO 4 (M = Fe, Co, Ni)}}, volume = {71}, year = {2009} }
52180
I'm using Jabref to manage my Bibliography.  Sometimes, I put directly:     First Author et al.   when adding the article author's name in Jabref.  When compiling my .tex file, LaTeX doesn't recognize the et. al as more names. It takes it as a name/surname.  This is an example of a Bibliography entry in Jabref.  @ARTICLE{Wolf2003,     author = {Wolf, K.et al.},     title = {Compensation mechanism in tumor cell migration: mesenchymal–amoeboid     transition after blocking of pericellular proteolysis},     journal = {J. Cell Biol.},     year = {2003},     volume = {160},     pages = {267–277},    }   This is a .texMWE with the bib entry mentioned:  \documentclass[11pt]{book}   \usepackage{cite}   \bibliographystyle{unsrt} \begin{document}   Here is the bib entry mentioned\cite{Wolf2003}    \bibliography{bibfile}  \end{document}   Here's the output:   How can I solve this problem?
26845
I have been trying to solve this problems for hours, but there is no solution in sight.  Until a few weeks ago, my biblatex-apa style was working like a charm. Although, after installing the updates and Biber, the reference section became a problem. It should display a journal article by two authors with a comma after the first author, but it doesn't:     Weber, M. &amp; Ruch, W. (2012). The role of character strengths in adolescent romantic relationships: An initial study on partner selection and mates’ life satisfaction. Journal of adolescence, 35(6), 1537–1546. doi:10.1016/j.adolescence.2012.06.002   it should look like this:     Weber, M., &amp; Ruch, W. (2012). The role of character strengths in adolescent romantic relationships: An initial study on partner selection and mates’ life satisfaction. Journal of adolescence, 35(6), 1537–1546. doi:10.1016/j.adolescence.2012.06.002   This is how my document looks like:   \documentclass[12pt, onecolumn]{apa6}   \usepackage[utf8]{inputenc} \usepackage[american]{babel} \usepackage{csquotes} \usepackage[style= apa, backend=biber]{biblatex} \bibliography{testbib} \DeclareLanguageMapping{american}{american-apa}   \begin{document}  Some text \parencite{Weber2012}.  \printbibliography \end{document}   And the BibTeX file:  @article{Weber2012, abstract = {}, author = {Weber, M. and Ruch, W.}, doi = {10.1016/j.adolescence.2012.06.002}, file = {}, issn = {1095-9254}, journal = {Journal of adolescence}, number = {6}, pages = {1537--1546}, pmid = {22749517}, publisher = {Elsevier Ltd}, title = {{The role of character strengths in adolescent romantic relationships: An initial        study on partner selection and mates' life satisfaction.}}, url = {http://www.ncbi.nlm.nih.gov/pubmed/22749517}, volume = {35}, year = {2012} }    I have tried various things so far, but none of it helped: e.g,   \renewcommand*{\finalnamedelim}{ \finalandcomma}   or  \renewcommand\finalandcomma{\addcomma}   Even in the biblatex manual, the reference examples of two authors is without the comma (it works for three or more authors). There should be a comma, according to . Why is that comma not there? And how could I insert that into my references?
50991
I am using the following syntax, with no errors or warnings. However, the journal names are still not abbreviated. I compiled the file numerous times, as well as the bibliography. Everything compiles with no errors.  The syntax:   \bibliographystyle{IEEEtran} \bibliography{IEEEabrv,references}   Additional info: I am using BibDesk and TeXStudio on a macbook.  Do you have any idea what might be the issue? and how to solve it? Thank you.  Edit:  Example entry from the IEEEabrv file:  @STRING{IEEE\_M\_COM        = "{IEEE} Commun. Mag."}   Example entry from my references file:  @article{dai:2015,     Author = {Test, T.},     Journal = {IEEE\_M\_COM },     Month = {September}     }
44555
I am using multibib with two bib-files. For the first one I use a numeric citation style. But for the second one I want to have [A1, A2, ...]. This works for my reference list but in my citation I still have [1, 2, ...]. How can I change this to [A1, A2,...]?  Here is my minimal document (you have to use 2 bibfiles: litA and litB)  \documentclass[a4paper,10pt,twoside,titlepage,parskip=half-]{scrartcl} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman, english]{babel} \usepackage{eso-pic} \usepackage{textcomp} %\textmu einfügen z.B. \usepackage[normalem]{ulem}     %text unterstreichen, durchstreichen usw. \usepackage[resetlabels]{multibib} \newcites{lita}{References1} \newcites{ownb}{References2} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  \begin{document} \makeatletter\renewcommand{\@biblabel}[1]{[#1]}\makeatother \bibliographystylelita{plain} \bibliographylita{./literature/litA}                    \citelitd{label1}  \makeatletter\renewcommand{\@biblabel}[1]{[A\,#1]}\makeatother \bibliographystylelitb{plain} \bibliographylitb{./literature/litB}                   \end{document}
49929
I have some problems when customizing author and affiliation using authblk.    The above picture shows the author and affiliation format generated by my MWE.  I want to:   typeset the author names bold face. I use the command \renewcommand*{\Authfont}{\bfseries}. However, it will turn both author names and affiliation boldface. I do not know what the problem is. I want to put XXXXX in affiliation 1 together with 200021 in a new line. How can I achieve this? Thanks.   The following is my MWE:  \documentclass{article} \usepackage[left=3.00cm, right=3.00cm, top=2.00cm, bottom=2.00cm]{geometry} \usepackage{authblk}  \renewcommand*{\Authsep}{, } \renewcommand*{\Authand}{, } \renewcommand*{\Authands}{, } \renewcommand*{\Affilfont}{\normalsize} %\renewcommand*{\Authfont}{\bfseries}    % make author names boldface     \setlength{\affilsep}{2em}   % set the space between author and affiliation  \title{Aa Article Title} \author[1]{Aaaaaa Aa} \author[1*]{Bbbbb Bb} \author[2]{Ccccccc Ccc} \affil[1]{Department of Chemical Engineering, University of AAAAA BBBBBB, CCCCC road, XXXXX 200021, Y Country}  \affil[2]{AAAAAA Laboratory, University of AAAAA BBBBBB, XXXXX 303939, Z Country} \date{}      \begin{document} \maketitle  This is an article. \end{document}
100953
I have biblatex with options  \usepackage[backend=bibtex, style=authoryear]{biblatex}   The citations made with \cite look like this: Smith, 2019 or Smith and Baker, 2019 and so on. I would like to define a command that automatically replaces the occurrence of my name with my initials. Namely I need  \cite{SmithsPaper}  % --&gt; Smith, 2019 \cite{MyPaper}      % --&gt; Manny, 2019 %%% \newcite{SmithsPaper}  % --&gt; Smith, 2019 \newcite{MyPaper}      % --&gt; MC, 2019   I have tried with the package xstring to do something like  \newcommand{\newcite}[1]{%   \begingroup   \edef\@temp{\cite{#1}}%   \StrSubstitute{\@temp}{Manny}{MC}   \endgroup }   The problem is that I can't figure out how to tell LaTeX to expand \cite{#1}. As a result the citation comes out without the replacement. If I change \cite{#1} by simply #1 and I call \newcite{bla Manny bla} it gives bla MC bla as expected.  It shouldn't be relevant but I'm using this within the beamer documentclass.
121091
Usually a name stays the same in whatever language. So, whenever I quote a work by Knuth -- be it in an English article or a German one -- I will quote him as Donald E. Knuth.  This is not always the case with ancient or medieval names. They are spelled differently in different languages. Two examples in English | German | French:   Aristotle | Aristoteles | Aristote Thomas Aquinas | Thomas von Aquin | Thomas d'Aquin   This means that when I write an English article, I need a bib-file that contains the English names, but when I want to write a German article, I need to go through my bib file and change the names accordingly. Depending on how often I in fact publish in English or German this could keep me busy and is prone to error.  So, I though, maybe I could have the different names already included in one single bib-file and let biblatex choose the correct name according to the primary language used in the document. Any ideas?  NB: I do not want to use in one single document both spellings Aristotle and Aristoteles (as the following MWE might make you think). Of course, if the article's primary language is English, then all the references to Aristotle will use the English spelling of his name. However, I want to be able to write articles in different languages, without (a) having to edit my bib-files each time or (b) generally maintaing not one single bib-file but two different ones, one for each language, or (c) having two distinct entries in one bib-file  MWE  % !TEX TS-program = lualatexmk \documentclass{scrartcl}  \usepackage{fontspec}         \setmainfont[Ligatures=TeX]{Times New Roman}  \usepackage[ngerman, british]{babel} \usepackage[babel]{csquotes} \usepackage[style=verbose,abbreviate=false,backend=biber]{biblatex}  \usepackage{filecontents}  \begin{filecontents}{\jobname.bib} @book{aristotle:ross:1924,     Author = {Aristotle},    % It is here, I think, that something could be done, e.g., ...     Title = {Metaphysics},     % ... british=Aristotle,ngerman=Aristoteles,french=Aristote     Editor = {William David Ross},     Commentator = {William David Ross},     Introduction = {William David Ross},     Hyphenation = {british},     Location = {Oxford},     Publisher = {Clarendon Press},     Volumes = {2},     Year = {1924}} \end{filecontents}  \addbibresource{\jobname.bib}  \begin{document}  \selectlanguage{british} Some English text.\footcite{aristotle:ross:1924}  \selectlanguage{ngerman} Etwas Text auf Deutsch.\footcite{aristotle:ross:1924}  \end{document}
28174
I'm having a problem with author display for a statute - the author is 'City and County of San Francisco' but the output (using the apalike.bst style file provided by Elsevier) gives the author as 'City and San Francisco', missing the 'County' in the authorname.  Any suggestions?
115688
This has probably been answered somewhere, but I can't find it from some searching. I sometimes want to write something like Leb for lebesgue measure, and I would like it to be non-italicized, so I usually use \text{Leb} in math mode, but this has the annoyance that it changes inside of an italicized (ams) theorem environment. I usually just hack this and write \text{\emph{Leb}} but clearly this is not ideal.   Is there a replacement for \text that won't inherit this italicizing? Alternatively, is there a more clever hack, in which I can make my macro detect if its going to be italicized and then automatically put in the \emph hack? Clearly the first would be ideal, but the second would also be acceptable.
8199
What package should I use, or what setting can I make to the font in theorems so that the text wouldn't be italic. I use amsmath, and from default, everything I write in theorem environments becomes italic and I don't want that. Thank you
36288
I'd like to change the separation between multiple article/book authors from '&amp;' to 'and' in natbib.  eg:  @book{lee2009global,   title={{Global Marketing Management}},   author={Lee, K. and Carter, S.},   isbn={9780199239429},   lccn={2009005337},   comment={http://books.google.com/books?id=ZBkPOQAACAAJ},   year={2009},   publisher={Oxford University Press} }   then:  \usepackage[longnamesfirst]{natbib}  \begin{document} \bibpunct{(}{)}{;}{a}{,}{,}  \citep{lee2009global}   produces:   (Lee &amp; Carter, 2009)   I'd like it to produce:   (Lee and Carter, 2009)
70931
Current situation: I'm required to cite "normative" documents (read: standards and manuals) separately from articles and books etc. Using biblatex and biber with the numeric style I'm doing that by issuing multiple printbibliography commands like so:  \usepackage[style=numeric,backend=biber,bibencoding=utf8]{biblatex} %... lots of stuff \printbibliography[type=standard,title=Standards \&amp; Manuals] \vskip\baselineskip \printbibliography[type=manual,heading=none] \printbibliography[nottype=standard,nottype=manual]   which gives a heading Standards &amp; Manuals, prints a list of manuals, leaves a bit of space then the list of standards and finally, under a new heading Bibliography gives books and articles etc. Thus far everything is fine, enter:  The Problem: I'm using the shorthand field in my database for the standards and manuals which works perfect as far as output within the text is concerned and sets the shorthand as the label in the bibliography and prints the details to the right of it - problem is: my shorthands are considerably longer than the labels generated by the numeric style, but even though they're in three different \printbibliography commands, everything gets indented to the maximum width of the label, making the part for books and articles look quite ridiculous.  The following shows the problem with only two separate \printbibliography (and an obviously exaggeratedly long shorthand):   Now  what I would obviously want is for each of the \printbibliography commands to only use the indentation actually necessary to accommodate the largest label appearing within, i.e. rendering the Manuals section as above, but the Bibliography section like follows:   Can anyone help me to achieve this? Or give me some pointer where to look?  The above was produced with the following MWE on an up-to-date TeXLive 2014:  \documentclass[10pt,british]{scrbook}  \usepackage{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern}  \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @manual{HowTo,     title = {How to Make the World Go Round},     shorthand = {HowToMakeTheWorlGoRound},     publisher = {The Publisher},     year = {2000} }  @article{Article,     author = {Author, A. and Buthor, B.},     journal = {Journal Title},     pages = {113--126},     title = {The Article},     volume = {65},     year = {1900} } \end{filecontents*}  \usepackage[style=numeric,backend=biber,bibencoding=utf8]{biblatex} \addbibresource{\jobname.bib}  \usepackage[hidelinks]{hyperref}  \begin{document} \let\cleardoublepage\relax \chapter{The Document} Nothing to see here, but we refer to the \parencite{HowTo} based on a principle discovered by \textcite{Article}.  \printbibliography[type=manual,title=Manuals] \printbibliography[nottype=manual] \end{document}
63302
I have a BibTeX file containing many references, where the journal titles are (for the most part) written out in full. I would like to replace these in my reference list with the standard abbreviated titles.  Searching the web I can find many suggested solutions to this problem. These all seem to involve maintaining either maintaining your own database of search-and-replace strings, using a GUI reference manager (Jabref), or editing the whole .bib file so that every journal name is a macro call.  My .bib file has 171 entries (it was originally the references for my thesis and I've kept adding to it since then, using the same file for every paper), so creating and maintaining my own database of journal abbreviations would be a huge undertaking. While I will just start using Jabref if I have to, it doesn't seem right that I should have to use a GUI package to solve such an inherently text-based problem.  What I really want is a script (or even better, a LaTeX package) that will just go through my .bib file and replace every full journal name with an abbreviation looked up in one of the many standard databases that exist for this purpose. (Of course there will probably be some that get missed, but I don't mind fixing one or two by hand.)  I'm guessing that such a painless, transparent solution doesn't exist, but it can't hurt to ask here. It seems to me that this must be a very common thing to want to do, and I'm kind of surprised that the functionality isn't just built into BibTeX in the first place.
45551
I just started modifying my ieeetr.bst file.   I was able to switch first and last name for my (journal article) authors in the bibliography. I also wanted to display the Volume and Issue number as 1(1) and not vol. 1, no. 1. So far I only got to 1, (1).  Any ideas how I can get rid off the space and comma?