Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130% ac-paper-essay.sty — Aesthetic Computer essay layout% Usage: \usepackage{ac-paper-essay} in each essay-* paper%% Paul Graham-influenced essay format. Minimal chrome. The essay is the% argument; the design exists only to let the argument breathe.%% Design grammar:% - Single column, narrow measure (~5.0in body width)% - Serif body with extra leading% - Title at top (plain, large, dark), date below, no kicker/deck/byline% - Section breaks: a centered hairline rule of underscores% - Optional Title Case subheads in bold acdark% - Discursive bottom-of-page footnotes for source attribution and asides% - Author colophon at the end ("Thanks to X for reading drafts")%% Tradition: Paul Graham's paulgraham.com essay form. Tight, argumentative,% observational; thesis-driven; no academic apparatus visible in the body.
\NeedsTeXFormat{LaTeX2e}\ProvidesPackage{ac-paper-essay}[2026/05/25 Aesthetic Computer essay layout]
\RequirePackage{tikz}\usetikzlibrary{shadows}
% === FONTS ===\newfontfamily\acbold{ywft-processing-bold}[ Path=../../system/public/type/webfonts/, Extension=.ttf]\newfontfamily\aclight{ywft-processing-light}[ Path=../../system/public/type/webfonts/, Extension=.ttf]
% === COLORS ===\definecolor{acpink}{RGB}{180,72,135}\definecolor{acpurple}{RGB}{120,80,180}\definecolor{acdark}{RGB}{40,36,48}\definecolor{acgray}{RGB}{119,119,119}
% === DISCURSIVE NOTES (bottom-of-page footnotes) ===\renewcommand{\thefootnote}{\arabic{footnote}}\renewcommand{\@makefnmark}{\textsuperscript{\color{acpink}\bfseries\@thefnmark}}\renewcommand{\footnoterule}{% \kern-3pt {\color{acgray}\hrule width 0.30\columnwidth height 0.4pt} \kern 2pt}\renewcommand{\@makefntext}[1]{% \parindent 1em\noindent \hb@xt@1.4em{\hss\textsuperscript{\color{acpink}\bfseries\@thefnmark}}#1%}\newcommand{\enote}[1]{\footnote{#1}}\newcommand{\printendnotes}{}
% === SECTION FORMATTING (Title Case subheads, sparing use) ===% Sections in plain bold serif, dark, no numbers. Sized to feel like a% pulled-up subhead, not an academic chapter mark.\titleformat{\section}[block] {\normalfont\bfseries\fontsize{13pt}{16pt}\selectfont\color{acdark}\raggedright} {}{0pt}{}\titlespacing{\section}{0pt}{1.8em}{0.5em}
\titleformat{\subsection}[block] {\normalfont\itshape\bfseries\normalsize\color{acdark}\raggedright} {}{0pt}{}\titlespacing{\subsection}{0pt}{1em}{0.2em}
\setcounter{secnumdepth}{-1}
% === SECTION BREAK ===% A centered hairline of em-dashes, in Paul Graham's tradition (his are% underscores; ours are em-dashes in acgray). Wholly visual; no TikZ.\newcommand{\acbreak}{% \par\vspace{1.4em}% \begin{center}% {\color{acgray}\rule{2.5em}{0.4pt}}% \end{center}% \vspace{1em}\par\noindent\ignorespaces%}
% === TITLE BLOCK (plain, PG-style) ===% \essaytitle{} Large dark title, top-anchored% \essaydate{} Small italic date below\newcommand{\essaytitle}[1]{% \begin{center}% \begin{tikzpicture} % Drop shadow: dim acdark copy, offset down-right \node[acdark, opacity=0.25, font=\aclight\fontsize{42pt}{46pt}\selectfont, inner sep=0pt] at (2.5pt, -2.5pt) {#1}; % Main: pink text at origin (drawn on top) \node[acpink, font=\aclight\fontsize{42pt}{46pt}\selectfont, inner sep=0pt] at (0, 0) {#1}; \end{tikzpicture}% \end{center}% \vspace{0.6em}%}\newcommand{\essaydate}[1]{% \begin{center}% {\fontsize{14pt}{16pt}\selectfont\itshape\color{acgray}#1}% \end{center}% \vspace{2em}%}
% === COLOPHON (thanks-for-reading, PG-style) ===% Left-aligned, like Paul Graham's "Thanks to X, Y, Z for reading drafts of this."\newcommand{\colophon}[1]{% \par\vspace{2em}% \noindent{\color{acgray}\rule{3em}{0.4pt}}\par \vspace{0.6em}% \noindent{\small\itshape\color{acgray}#1}\par}
% === LIST SETTINGS (essays rarely use lists; default to tight) ===\setlist[itemize]{leftmargin=1.4em, itemsep=0.2em, topsep=0.3em, parsep=0pt}\setlist[enumerate]{leftmargin=1.4em, itemsep=0.2em, topsep=0.3em, parsep=0pt}
% === PARAGRAPH SETTINGS ===\setlength{\parindent}{1.2em}\setlength{\parskip}{0pt}\linespread{1.18}
\tolerance=400\emergencystretch=2em\hyphenpenalty=200
\endinput