Skip to content

Instantly share code, notes, and snippets.

library(tidyverse)
library(lubridate)
chess <- read_lines(
"~/Downloads/all_with_filtered_anotations/all_with_filtered_anotations_since1998.txt",
skip = 5
) %>%
str_split(" ", 18, TRUE) %>%
as_tibble %>%
rename(
\documentclass{article}
% Based of https://tex.stackexchange.com/questions/4502/onlyitems-how-to-select-specific-items-from-an-item-list#_=_ by Ryan Reich and Yossi Farjoun
\usepackage{xparse}
\usepackage{etoolbox}
\makeatletter
\let\itemLaTeX=\item