Skip to content

Instantly share code, notes, and snippets.

View ezgranet's full-sized avatar

Elijah Granet ezgranet

View GitHub Profile
\documentclass[oneside,11pt]{book}
\usepackage[a4paper,top=40mm,bottom=40mm,left=61mm,right=61mm,,headheight=0in]{geometry}
\usepackage{lettrine}
\usepackage[final]{microtype}
\directlua{}
\usepackage{fontspec}
\usepackage{xspace}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%
% babel for the Hebrew
Then did Sir Edward Philips, Knight, His Majesty’s Serjeant at Law, open the Indictment this effect, as followeth:
‘The matter that is now to be offer’d to you my Lords the Commissioners, and to the trial of you the knights and gentlemen of the jury, is matter of Treason; but of such horror, and monstrous nature, that before new, the
tongue of man never deliver’d; the ear of man
never heard; the heart of man never
conceited; nor the malice of hellish or earthly
devil ever prac-tised: For, if it be abominable
to murder the least ; if to touch God’s anointed be to oppose themselves against God: 1f (by blood) to subvert princes, states and kingdoms, be hateful to
God and man, as all true Christians
must acknowledge: then, how much more than too too monstrous shall all Christian hearts judge the horror of this treason;
to murder and subvert such a king ; such
a queen ; such a prince; such a progeny; such
a state; such a goverment, so complete and
absolute, that God aproves, the world admires, all true Engli
@ezgranet
ezgranet / index.html
Created October 14, 2022 08:44
Interleave Annotations (jQueryless)
<p>The [note] sign is historically equal to the asterisks used by Aristarchus of Samothrace at the Mouseion at Alexandria. It was used for the critical editions of Homer's writings where it "marked a verse incorrectly repeated in another passage" and was used together with other signs such as the obelus.<a class="annotation-link" href="#"><sup>1</sup></a>
<span class="annotation">
<a href="#">L.D. Reynolds and N.G. Wilson</a>. <i>Scribes and Scholars: A guide to the Transmission of Greek and Latin Literature</i>. Oxford University Press, 1991, 3rd edition, ISBN 0-19-872146-3, p. 10-11
</span>
The London printer Richard Jugge is generally credited as the inventor of the footnote, first used in the Bishops' Bible of 1568.<a class="annotation-link" href="#"><sup>2</sup></a>
<span class="annotation">
Chuck Zerby, <i><a href="#">The Devil's Details: A History of Footnotes</a></i>, 2007, ISBN 1931229058, p. 28 and <i>passim</i>
@ezgranet
ezgranet / index.html
Created October 14, 2022 08:44
Interleave Annotations (jQueryless)
<p>The [note] sign is historically equal to the asterisks used by Aristarchus of Samothrace at the Mouseion at Alexandria. It was used for the critical editions of Homer's writings where it "marked a verse incorrectly repeated in another passage" and was used together with other signs such as the obelus.<a class="annotation-link" href="#"><sup>1</sup></a>
<span class="annotation">
<a href="#">L.D. Reynolds and N.G. Wilson</a>. <i>Scribes and Scholars: A guide to the Transmission of Greek and Latin Literature</i>. Oxford University Press, 1991, 3rd edition, ISBN 0-19-872146-3, p. 10-11
</span>
The London printer Richard Jugge is generally credited as the inventor of the footnote, first used in the Bishops' Bible of 1568.<a class="annotation-link" href="#"><sup>2</sup></a>
<span class="annotation">
Chuck Zerby, <i><a href="#">The Devil's Details: A History of Footnotes</a></i>, 2007, ISBN 1931229058, p. 28 and <i>passim</i>
@ezgranet
ezgranet / parnum.tex
Last active September 3, 2022 11:21
easy paragraph numbers in LaTeX
\documentclass{article}
\reversemarginpar% Keep \marginpar in left margin
\setlength{\marginparwidth}{2em}
\setlength{\marginparsep}{1em}
\newcounter{parnum}
\newcommand{\np}{%
\leavevmode\refstepcounter{parnum}%
\marginpar{[{\arabic{parnum}]}%
}}
\begin{document}
@ezgranet
ezgranet / etbb parenthesis fix
Last active August 5, 2022 10:20
etbb parentheses spacing fix
%%%%%%%%
%%%%% Michael sharpe's brilliant typeface `etbb' is a
%%% wonderful adaptation of Edward Tufte's own adaptation of Bembo
%%%%%% However, there is, as part of the font, an overlap between
%%% the opening parenthesis --- ( --- and various letters, most notably J
%% This is aesthetically displeasing, so I used this small snippet
%%%% of XeTeX `interchartoks' to fix the spacing
%%%% Now, (J doesn't overlap!
\XeTeXinterchartokenstate = 1
@ezgranet
ezgranet / latexpseudonyms.tex
Last active August 31, 2020 20:40
Pseudonyms with LaTeX, including automatic warning messages
%%%%%%%
%% ALL CREATED BY ME IS LICENSED CC0 (IE PUBLIC DOMAIN)
%%%% THIS IS A MODIFIED VERSION OF THE CODE OF
%%% TEX STACKEXCHANGE USER @musarithmia's answer to this question
%%%%https://tex.stackexchange.com/questions/267724/effective-way-to-anonymise-interviewee-identities-for-academic-research/267741#267741
\documentclass[12pt,a4paper]{article}
\usepackage[margin=2.55cm]{geometry}
\usepackage{xcolor}
\usepackage{psvectorian}
\definecolor{brickred}{rgb}{0.8, 0.25, 0.33}