1%% autoscholar.cls — AutoScholar Working Paper class (v1.0, 2026-10)2%% Proprietary class of AutoScholar.ai; built on article + standard LaTeX packages (LPPL-compatible usage).3%% Metadata commands (set in the preamble):4%% \title{...} \aswpnumber{AS-WP-2026-0001|pending} \aswpversion{1} \aswpdate{YYYY-MM-DD}5%% \keywords{a; b; c} \jelcodes{G12; C58} (optional) \msccodes{...} (optional) \asdiscipline{Economics} (optional)6%% Environments: abstract, theorem, proposition, lemma, corollary, definition, assumption, remark, example, proof.7%% The byline, AI-generation disclosure, non-peer-review statement and the MacLustr credit are inserted automatically.8%% Bibliography: natbib (author-year) with \bibliographystyle{autoscholar} and \bibliography{references}.9\NeedsTeXFormat{LaTeX2e}10\ProvidesClass{autoscholar}[2026/10/30 v1.0 AutoScholar Working Paper]11\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}12\ProcessOptions\relax13\LoadClass[11pt,twoside]{article}1415\RequirePackage{iftex}16\RequirePackage[a4paper,top=28mm,bottom=30mm,inner=27mm,outer=27mm,headheight=14pt,footskip=16mm]{geometry}17\ifPDFTeX18 \RequirePackage[T1]{fontenc}19 \RequirePackage[utf8]{inputenc}20 \RequirePackage{lmodern}21 \RequirePackage[osf]{libertinus} % falls back gracefully if unavailable22\else23 \RequirePackage{fontspec}24 \setmainfont{LibertinusSerif}[Extension=.otf,UprightFont=*-Regular,BoldFont=*-Bold,ItalicFont=*-Italic,BoldItalicFont=*-BoldItalic,Numbers={Proportional}]25 \setsansfont{LibertinusSans}[Extension=.otf,UprightFont=*-Regular,BoldFont=*-Bold,ItalicFont=*-Italic]26 \setmonofont{lmmonolt10-regular}[Extension=.otf,BoldFont=lmmonolt10-bold,ItalicFont=lmmonolt10-oblique,Scale=MatchLowercase]27\fi28\RequirePackage{microtype}29\RequirePackage{amsmath}30\ifPDFTeX\RequirePackage{amssymb}\fi31\RequirePackage{amsthm}32\RequirePackage{mathtools}33\ifPDFTeX\else\RequirePackage{unicode-math}\setmathfont{LibertinusMath-Regular.otf}\fi34\RequirePackage{booktabs}35\RequirePackage{array}36\RequirePackage{longtable}37\RequirePackage{multirow}38\RequirePackage{siunitx}39\RequirePackage{graphicx}40\RequirePackage{float}41\RequirePackage{caption}42\RequirePackage{subcaption}43\RequirePackage{xcolor}44\RequirePackage{fancyhdr}45\RequirePackage{titlesec}46\RequirePackage{enumitem}47\RequirePackage{etoolbox}48\RequirePackage{setspace}49\RequirePackage[round,authoryear,sort&compress]{natbib}50\RequirePackage{url}51\RequirePackage[hidelinks,pdfusetitle,bookmarksnumbered,breaklinks]{hyperref}52\RequirePackage{cleveref}5354%% ---- Palette (ink / ivory / stone, restrained accent) ----55\definecolor{asink}{HTML}{15161A}56\definecolor{asstone}{HTML}{6B6F76}57\definecolor{asline}{HTML}{C9CBCF}58\definecolor{asaccent}{HTML}{8A3B12}59\definecolor{asivory}{HTML}{F6F3EC}60\hypersetup{colorlinks=true,linkcolor=asaccent,citecolor=asaccent,urlcolor=asaccent}6162%% ---- Metadata ----63\newcommand{\aswp@number}{pending}64\newcommand{\aswp@version}{1}65\newcommand{\aswp@date}{\today}66\newcommand{\aswp@keywords}{}67\newcommand{\aswp@jel}{}68\newcommand{\aswp@msc}{}69\newcommand{\aswp@discipline}{}70\newcommand{\aswpnumber}[1]{\renewcommand{\aswp@number}{#1}}71\newcommand{\aswpversion}[1]{\renewcommand{\aswp@version}{#1}}72\newcommand{\aswpdate}[1]{\renewcommand{\aswp@date}{#1}}73\newcommand{\keywords}[1]{\renewcommand{\aswp@keywords}{#1}}74\newcommand{\jelcodes}[1]{\renewcommand{\aswp@jel}{#1}}75\newcommand{\msccodes}[1]{\renewcommand{\aswp@msc}{#1}}76\newcommand{\asdiscipline}[1]{\renewcommand{\aswp@discipline}{#1}}77\author{AutoScholar}78\date{}7980\newcommand{\asdisclosure}{%81 \noindent\begingroup\footnotesize\color{asstone}\setstretch{1.05}%82 \textbf{\color{asink}AI-generated working paper; not formally peer reviewed.}83 This manuscript was produced autonomously by AutoScholar.ai's research pipeline (large language model agents operating under84 platform-enforced research standards) and passed deterministic quality gates, including citation verification, result85 traceability and an automated critical review. It has \emph{not} undergone independent human peer review. Readers should treat86 the findings as preliminary and verify claims against the released artifacts. Research computed on MacLustr, an Apple87 Silicon research compute infrastructure. Artifacts, provenance and corrections: \url{https://autoscholar.ai}.\par\endgroup}8889%% ---- Headers / footers ----90\pagestyle{fancy}91\fancyhf{}92\renewcommand{\headrulewidth}{0.3pt}93\renewcommand{\headrule}{\vspace{-2pt}{\color{asline}\hrule width\headwidth height\headrulewidth}}94\fancyhead[LE]{\footnotesize\color{asstone}\textsc{AutoScholar Working Paper}~\aswp@number}95\fancyhead[RO]{\footnotesize\color{asstone}\nouppercase{\leftmark}}96\fancyfoot[C]{\footnotesize\color{asstone}\thepage}97\fancyfoot[LE,RO]{\scriptsize\color{asstone}v\aswp@version\ · \aswp@date}98\fancypagestyle{plain}{\fancyhf{}\fancyfoot[C]{\footnotesize\color{asstone}\thepage}\renewcommand{\headrulewidth}{0pt}}99100%% ---- Section typography ----101\titleformat{\section}{\large\bfseries\color{asink}}{\thesection}{0.8em}{}102\titleformat{\subsection}{\normalsize\bfseries\color{asink}}{\thesubsection}{0.8em}{}103\titleformat{\subsubsection}{\normalsize\itshape\color{asink}}{\thesubsubsection}{0.8em}{}104\titlespacing*{\section}{0pt}{2.2ex plus 0.8ex minus 0.3ex}{1.1ex}105\titlespacing*{\subsection}{0pt}{1.8ex plus 0.6ex minus 0.2ex}{0.8ex}106\setlength{\parskip}{0pt}107\setlength{\parindent}{1.2em}108\setstretch{1.08}109\captionsetup{font=small,labelfont={bf,color=asink},textfont={color=asink},labelsep=period,justification=justified,singlelinecheck=false}110\setlist{nosep,leftmargin=*}111\sisetup{detect-all,group-separator={,},group-minimum-digits=4,separate-uncertainty=true}112113%% ---- Theorem environments ----114\theoremstyle{plain}115\newtheorem{theorem}{Theorem}[section]116\newtheorem{proposition}[theorem]{Proposition}117\newtheorem{lemma}[theorem]{Lemma}118\newtheorem{corollary}[theorem]{Corollary}119\theoremstyle{definition}120\newtheorem{definition}[theorem]{Definition}121\newtheorem{assumption}[theorem]{Assumption}122\newtheorem{example}[theorem]{Example}123\theoremstyle{remark}124\newtheorem{remark}[theorem]{Remark}125126%% ---- Title page ----127\renewcommand{\maketitle}{%128 \begin{titlepage}129 \thispagestyle{empty}130 \noindent{\color{asline}\rule{\textwidth}{0.4pt}}\par\vspace{6pt}131 \noindent\begin{minipage}[t]{0.6\textwidth}\raggedright132 {\normalsize\scshape AutoScholar Working Paper}\par133 {\small\color{asstone}No.~\aswp@number\ · Version \aswp@version\ · \aswp@date}134 \end{minipage}\hfill135 \begin{minipage}[t]{0.38\textwidth}\raggedleft136 {\small\color{asstone}\textsc{autoscholar.ai}\par Autonomous Research Foundry}137 \end{minipage}\par\vspace{4pt}138 \noindent{\color{asline}\rule{\textwidth}{0.4pt}}\par139 \vspace{18mm}140 \begin{flushleft}141 {\LARGE\bfseries\setstretch{1.15}\@title\par}142 \vspace{8mm}143 {\large AutoScholar\par}144 {\normalsize\itshape AI-generated research\par}145 \ifdefempty{\aswp@discipline}{}{\vspace{2mm}{\small\color{asstone}\aswp@discipline\par}}146 \end{flushleft}147 \vfill148 \ifdefempty{\aswp@keywords}{}{\noindent{\small\textbf{Keywords:} \aswp@keywords\par}\vspace{3pt}}149 \ifdefempty{\aswp@jel}{}{\noindent{\small\textbf{JEL:} \aswp@jel\par}\vspace{3pt}}150 \ifdefempty{\aswp@msc}{}{\noindent{\small\textbf{MSC:} \aswp@msc\par}\vspace{3pt}}151 \vspace{6mm}152 \noindent{\color{asline}\rule{\textwidth}{0.4pt}}\par\vspace{6pt}153 \asdisclosure154 \end{titlepage}155 \setcounter{page}{2}%156}157158%% ---- Abstract ----159\renewenvironment{abstract}{%160 \begin{center}\begin{minipage}{0.92\textwidth}\small161 {\noindent\bfseries Abstract}\par\vspace{3pt}\noindent\ignorespaces}{%162 \par\end{minipage}\end{center}\vspace{6pt}\noindent{\color{asline}\rule{\textwidth}{0.3pt}}\par\vspace{8pt}}163164%% ---- Table helpers ----165\newcommand{\tablenote}[1]{\par\vspace{2pt}{\footnotesize\color{asstone}\emph{Note:} #1\par}}166\newcommand{\tablesource}[1]{{\footnotesize\color{asstone}\emph{Source:} #1\par}}167\newcommand{\sym}[1]{\rlap{$^{#1}$}}168\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}}169\newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}}170171\AtEndDocument{\par\vspace{10pt}\noindent{\color{asline}\rule{\textwidth}{0.3pt}}\par\vspace{4pt}\asdisclosure}172\endinput173