Skip to content

Instantly share code, notes, and snippets.

View JohnLukeBentley's full-sized avatar

John Luke Bentley JohnLukeBentley

View GitHub Profile
\documentclass[12pt,a4paper]{article}
\usepackage{a4wide}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Demo
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{filecontents}{\jobname.bib}
% Sorting multiple works by author in year
@article{barker_2016_turkey,
\documentclass[12pt,a4paper]{article}
\usepackage{a4wide}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Demo
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage[UKenglish]{babel}
\begin{filecontents}{\jobname.bib}
@JohnLukeBentley
JohnLukeBentley / Biblatex-CommandInPrenote-Mwe.tex
Last active October 17, 2017 05:36
Demonstrates the motive for wanting the ability to have commands in the prenote of a citation command.
\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 March 4, 2017 12:29
A gist for issue "Datetime. Ranges: Unknowns, Opens, and Unspecifieds."
\documentclass{article}
\usepackage{a4wide}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
% Ranges
% ==========================================
% Unknown
\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 February 21, 2017 09:38
Biblatex Tester, Basic Examples. Tests style=authoryear, mergedate bugs.
% Common - Typical
@article{chalmers_1995_typical,
author = {Chalmers, David J.},
date = {1995},
title = {Typical citation of a modern work},
}
% Common - Approximate and uncertain
@JohnLukeBentley
JohnLukeBentley / Biblatex-Bug-Mergedate.bib
Last active February 15, 2017 07:35
Biblatex-Bug-Mergedate
@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},