Tag Info

Hot answers tagged

4

The authoryear and authortitle styles provide \cite* and \parencite* for that exact purpose. The verbose styles do not have such a command. You can use the \AtNextCite hook to disable the display of names in the next citation \makeatletter \newcommand{\int@suppauth}{% \def\ifciteibid{\@secondoftwo}% \renewbibmacro*{cite:name}{}% ...


3

You can easily make the labels bold using \DeclareFieldFormat{labelalpha}{\mkbibbold{#1}} \DeclareFieldFormat{extraalpha}{\mkbibbold{\mknumalph{#1}}} If you want to un-bold them for the bibliography, you want \AtBeginBibliography{ \DeclareFieldFormat{labelalpha}{#1} \DeclareFieldFormat{extraalpha}{\mknumalph{#1}}} MWE \documentclass{article} ...


3

With package biblatex, you can cite online entries (@online) without anything to care about. All entry fields support an url field as well. Remember, you can even refer to a very specific moment by appending the time to the youtube link. \begin{filecontents}{\jobname.bib} @online{youtube, title = {Some cool motion sensor stuff}, date = ...


3

Apart from the warning missing journal for the Atkins1994 article everything seems to be ok. Following works out of the box if bibtex is used after compilation with pdflatex. \documentclass[english,11pt]{article} \usepackage[english]{babel} \begin{document} \nocite{*} \bibliographystyle{plain} \bibliography{rsaCryptoBiblio} \end{document} ...


2

Use the optional argument for \caption: \caption[Without cite for the LoF/LoT]{With the cite \cite{test} in the document} A complete example: \documentclass{article} \begin{document} \listoffigures \begin{figure} \centering A \caption[The basic components of gestural systems]{The basic components of gestural systems\cite[p. 13]{Saffer}} ...


2

According to the class code documentation, “PRB requires superscript citations”. If you want to override the choice, reset \bibpunct. \begin{filecontents*}{\jobname.bib} @book{Landau_Elasticity, title = {Theory of Elasticity}, author = {L.D. Landau and E.M. Lifshitz}, isbn = {978-0750626330}, year = {1986}, publisher = {Pergamon Press} } ...


2

Both approaches described here are taken from Stefan Kottwitz's answer to Non-breaking space in \citet using natbib?. The \mbox approach You can redefine \cite to be wrapped in a \mbox with \let\oldcite\cite \renewcommand{\cite}[1]{\mbox{\oldcite{#1}}} Or, even better, do so with the letltxmacro package (See When to use \LetLtxMacro?) ...


2

You have to process your document once with pdflatex, then once with biber and then twice again with pdflatex. With this example (modified from the linked question to use beamer): \documentclass{beamer} \usepackage[style=verbose]{biblatex} \usepackage{filecontents}% to embed the file `myreferences.bib` in your `.tex` file ...


2

With authoryear-icomp we need to modify the bibmacro textcite to use the name format first-last instead of the labelname format, we can do this either by redefining the entire macro \makeatletter \renewbibmacro*{textcite}{% \iffieldequals{namehash}{\cbx@lasthash} {\iffieldundef{shorthand} ...


2

As cfr mentioned in his comment, better looking way is not to use footnote references for pictures. Try to put reference immediately below picture like this: \begin{frame} \includegraphics[width=\textwidth]{example-image}\\[-1ex] {\tiny Source: \cite{foo12}} \end{frame} Edit: An attempt to make command for stack of figure and citation of image source. ...


2

@Misc{Zatko15, author = {Peiter Zatko and Ivan Poupyrev and El Guerrab, Rachid and Regina Dugan}, title = {{G}oogle {I/O} 2015. {A} little badass. {B}eautiful. {T}ech and human. {W}ork and love. {ATAP}}, howpublished = {\url{https://www.youtube.com/watch?v=mpbWQbkl8_g}}, month = {May}, day = 29, ...


1

Just as an addition to Zarko, I'd use tikz \documentclass[a4paper]{memoir} \usepackage{tikz} \newcommand\PIC{\rule{5cm}{5cm}} \begin{document} \begin{tikzpicture} \node[inner sep=0pt,anchor=south west] at (0,0) {\PIC}; \node[anchor=north west] at (0,0) {\footnotesize \textbf{Source:} URL}; \end{tikzpicture} \end{document} Might be a bit simpler ...


1

A possible solution is to use the xpatch package to (locally, i.e., in a TeX group) patch the driver of the entry type (caveat, you have to know the entry type for the citation) to clear the author just before the citation. \xpretobibdriver{article}{\clearname{author}}{}{} So for the MWE in the OP (the command is local to the footnote) Some ...


1

Since you don't provide an MWE, it seems you are not looking for code. So I take it you just want a general pointer. The general approach is to use a package such as cooltooltips to enable pop-ups associated with hyperlinks.


1

To quote the documentation of apacite: apacite is compatible with hyperref, provided that apacite is loaded after hyperref. So move \usepackage{apacite} behind \usepackage{hyperref}. (It would be easier to help you if you had mentioned the exact error text instead simply writing that you get a vage "whole bunch of error messages"


1

I will follow my answer to making citations bold latex, where we saw how to do this for alphabetic styles. For numeric the only thing that changes is the relevant field names, here they are prefixnumber and labelnumber (ordinarily, especially the latter one is important). To bold labels use \DeclareFieldFormat{prefixnumber}{\mkbibbold{#1}} ...


1

If you're using BibTeX, I suggest you use the catch-all entry type @misc in the .bib file: @misc{irena:2015, author = "{International Renewable Energy Agency}", title = "Renewable Power Generation Costs in 2014", year = 2015, month = "January", note = ...


1

A quick look at the biblatex-mla documentation suggests that this kind of author-year reference is not a standard citation command as far as the MLA guidelines go, so I presume this is why no such command is provided for. You can create your own command with: \newcommand\citeauthyear[1]{\citeauthor{#1} (\citeyear{#1})} This has at least one shortcoming: ...


1

You should add the option natbibapa when loading the apacite package. \RequirePackage{filecontents} \begin{filecontents}{mwe_bib.bib} @book{mweauth, Author={Firstname Longlastname}, Title={Book Title}, Publisher={Publishing Company}, Address={City, State}, Year={2015} } \end{filecontents} \documentclass[11pt]{article} ...


1

The following solution will work smoothly if you only ever cite one work per \mycite. This is because we had to move all the code into the loopcode of the citation command which is executed for every key cited. As we need to access information about the entry (i.e. does it have a shorthand field?) which is only available in the loopcode (and to a certain ...



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