Monorepo for Aesthetic.Computer
aesthetic.computer
1% ac-paper-layout.sty — Aesthetic Computer paper layout master template
2% Usage: \usepackage{ac-paper-layout} in each arxiv-* paper
3%
4% This package provides the shared visual identity for all AC working drafts:
5% - AC color palette
6% - YWFT Processing font commands (\acbold, \aclight)
7% - Draft watermark in Processing Light font
8% - Pals logo watermark (top-left, rotated, semi-opaque)
9% - Section/subsection formatting
10% - Header/footer (draft notice + page numbers)
11% - List and paragraph settings
12% - \ac command for "Aesthetic Computer" small caps
13%
14% Papers still define their own:
15% - \hypersetup{pdftitle=...}
16% - \graphicspath{...}
17% - Additional \newcommand macros (e.g. \wg, \acos)
18% - Extra packages (listings, multicol, etc.)
19% - Extra font families (ComicRelief for KidLisp, etc.)
20
21\NeedsTeXFormat{LaTeX2e}
22\ProvidesPackage{ac-paper-layout}[2026/03/16 Aesthetic Computer paper layout]
23
24% === FONTS ===
25% Requires fontspec (loaded by the document before this package)
26\newfontfamily\acbold{ywft-processing-bold}[
27 Path=../../system/public/type/webfonts/,
28 Extension=.ttf
29]
30\newfontfamily\aclight{ywft-processing-light}[
31 Path=../../system/public/type/webfonts/,
32 Extension=.ttf
33]
34
35% === COLORS (AC palette) ===
36\definecolor{acpink}{RGB}{180,72,135}
37\definecolor{acpurple}{RGB}{120,80,180}
38\definecolor{acdark}{RGB}{64,56,74}
39\definecolor{acgray}{RGB}{119,119,119}
40\definecolor{draftcolor}{RGB}{180,72,135}
41
42% === DRAFT WATERMARK (Processing font + pals logo) ===
43\RequirePackage{eso-pic}
44\RequirePackage{tikz}
45\AddToShipoutPictureBG{%
46 \begin{tikzpicture}[remember picture, overlay]
47 % --- Pals logo: large, top-left, rotated, semi-opaque, bleeding off edge ---
48 \node[opacity=0.06, anchor=north west, rotate=-15]
49 at ([xshift=-1.2cm, yshift=1.2cm]current page.north west)
50 {\includegraphics[width=10cm]{pals}};
51 % --- "WORKING DRAFT" text in Processing Light font ---
52 \node[opacity=0.12, rotate=45, anchor=center]
53 at (current page.center)
54 {{\aclight\fontsize{2.5cm}{3cm}\selectfont\color{acpink} WORKING DRAFT}};
55 \end{tikzpicture}%
56}
57
58% === SECTION FORMATTING ===
59\RequirePackage{titlesec}
60\titleformat{\section}
61 {\normalfont\bfseries\normalsize\uppercase}
62 {\thesection.}
63 {0.5em}
64 {}
65\titlespacing{\section}{0pt}{1.2em}{0.3em}
66
67\titleformat{\subsection}
68 {\normalfont\bfseries\small}
69 {\thesubsection}
70 {0.5em}
71 {}
72\titlespacing{\subsection}{0pt}{0.8em}{0.2em}
73
74% === HEADER/FOOTER ===
75\RequirePackage{fancyhdr}
76\pagestyle{fancy}
77\fancyhf{}
78\renewcommand{\headrulewidth}{0pt}
79\fancyhead[C]{\footnotesize\color{acpink}\textit{Working Draft --- not for citation}}
80\fancyfoot[C]{\footnotesize\thepage}
81
82% === LIST SETTINGS ===
83\RequirePackage{enumitem}
84\setlist[itemize]{nosep, leftmargin=1.2em, itemsep=0.1em}
85\setlist[enumerate]{nosep, leftmargin=1.2em}
86
87% === PARAGRAPH SETTINGS ===
88\setlength{\columnsep}{1.8em}
89\setlength{\parindent}{1em}
90\setlength{\parskip}{0.3em}
91
92% === HYPERREF COLORS ===
93\RequirePackage{hyperref}
94\hypersetup{
95 colorlinks=true,
96 linkcolor=acpurple,
97 urlcolor=acpurple,
98 citecolor=acpurple,
99}
100
101% === COMMON COMMANDS ===
102\newcommand{\ac}{\textsc{Aesthetic Computer}}
103\newcommand{\acdot}{{\color{acpink}.}}
104
105\endinput