Skip to content

Instantly share code, notes, and snippets.

Avatar

John Luke Bentley JohnLukeBentley

  • Sydney
View GitHub Profile
View Gist-Biblatex-Tester-DateTimeSorting-Mwe.tex
\documentclass[12pt,a4paper]{article}
\usepackage{a4wide}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Demo
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{filecontents}{\jobname.bib}
% Sorting multiple works by author in year
@article{barker_2016_turkey,
View Biblatex-Tester-Edtf-YearsExceedingFourDigits-Basic.tex
\documentclass[12pt,a4paper]{article}
\usepackage{a4wide}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Demo
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage[UKenglish]{babel}
\begin{filecontents}{\jobname.bib}
@JohnLukeBentley
JohnLukeBentley / Biblatex-CommandInPrenote-Mwe.tex
Last active Oct 17, 2017
Demonstrates the motive for wanting the ability to have commands in the prenote of a citation command.
View Biblatex-CommandInPrenote-Mwe.tex
\documentclass{article}
\usepackage{a4wide}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{sep_2016_stanford,
author = {{SEP}},
date = {2016-23},
title = {The Stanford Encyclopedia of Philosophy},
urldate = {2016-06-20},
@JohnLukeBentley
JohnLukeBentley / Gist-Biblatex-Ranges-Basic.tex
Created Mar 4, 2017
A gist for issue "Datetime. Ranges: Unknowns, Opens, and Unspecifieds."
View Gist-Biblatex-Ranges-Basic.tex
\documentclass{article}
\usepackage{a4wide}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
% Ranges
% ==========================================
% Unknown
View Biblatex-Ranges-Basic.tex
\documentclass{article}
\usepackage{a4wide}
\usepackage[%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Dates and Datetimes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% julian=true,% convert dates before gregorianstart to Julian Calendar
% gregorianstart=1582-10-15,% Default
alldates=ymd, % year, short, long, terse, comp, ymd, edtf. ymd = Year-Month-Day format
@JohnLukeBentley
JohnLukeBentley / Biblatex-Tester-BasicExamples.bib
Created Feb 21, 2017
Biblatex Tester, Basic Examples. Tests style=authoryear, mergedate bugs.
View Biblatex-Tester-BasicExamples.bib
% Common - Typical
@article{chalmers_1995_typical,
author = {Chalmers, David J.},
date = {1995},
title = {Typical citation of a modern work},
}
% Common - Approximate and uncertain
View Biblatex-Bug-Mergedate.bib
@article{alberici_2016_why,
author = {Alberici, Emma},
date = {2016-11-20T21:02:28+11:00},
title = {Why Did 61 Million {{Americans}} Vote for {{Trump}}?},
urldate = {2016-11-24},
journaltitle = {ABC News},
langid = {australian},
timestamp = {2016-11-24T10:04:39Z},
url = {http://www.abc.net.au/news/2016-11-20/us-election-why-did-61-million-americans-vote-for-trump/8040648},
rights = {http://www.abc.net.au/conditions.htm\#UseOfContent},