Skip to content

Instantly share code, notes, and snippets.

@moewew moewew/ibid.tex
Created Mar 8, 2019

Embed
What would you like to do?
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[style=authoryear-ibid]{biblatex}
\addbibresource{biblatex-examples.bib}
\def\mydelim{,~}
\newcommand\mytextcite[2][]{\citeauthor{#2}(\citeyear{#2}\mydelim#1)}
\begin{document}
\cite{sigfridsson} \cite{sigfridsson}
\mytextcite{nussbaum} \mytextcite{nussbaum} % no "ibid"
\cite{sigfridsson} % incorrect "ibid."
\citereset
\cite{sigfridsson} \cite{sigfridsson}
\textcite{nussbaum} \textcite{nussbaum} % correct "ibid"
\cite{sigfridsson} % no "ibid."
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.