mirror of
https://github.com/hanzoai/papers.git
synced 2026-10-29 01:14:44 +00:00
61 lines
2.0 KiB
TeX
61 lines
2.0 KiB
TeX
% hanzocover.sty — Monochrome cover page for Hanzo AI papers
|
|
\NeedsTeXFormat{LaTeX2e}
|
|
\ProvidesPackage{hanzocover}[2026/04/05 Hanzo Research Cover Page]
|
|
|
|
\RequirePackage{tikz}
|
|
\RequirePackage{xcolor}
|
|
\RequirePackage{graphicx}
|
|
\RequirePackage[margin=1in]{geometry}
|
|
|
|
\newcommand{\hanzocoverpage}{%
|
|
\newgeometry{margin=0pt}
|
|
\thispagestyle{empty}
|
|
\begin{tikzpicture}[remember picture,overlay]
|
|
% Black background
|
|
\fill[black] (current page.south west) rectangle (current page.north east);
|
|
|
|
% Hanzo logo — geometric H (squares + diagonal slash)
|
|
\node at ([yshift=4.5cm]current page.center) {%
|
|
\begin{tikzpicture}[scale=0.028]
|
|
\fill[white] (0,44.6) rectangle (22.2,67);
|
|
\fill[white] (0,0) rectangle (22.2,22.3);
|
|
\fill[white] (44.5,44.6) rectangle (66.7,67);
|
|
\fill[white] (44.5,0) rectangle (66.7,22.3);
|
|
\fill[white] (22.2,22.3) -- (0,44.6) -- (44.5,44.6) -- (66.7,22.3) -- cycle;
|
|
\end{tikzpicture}%
|
|
};
|
|
|
|
% Title
|
|
\node[white, font=\fontsize{18}{22}\selectfont\bfseries,
|
|
text width=12cm, align=center]
|
|
at ([yshift=1.5cm]current page.center)
|
|
{\hyphenpenalty=10000\exhyphenpenalty=10000\@title};
|
|
|
|
% Thin rule
|
|
\draw[white!30, line width=0.4pt]
|
|
([yshift=0.2cm,xshift=-4cm]current page.center) --
|
|
([yshift=0.2cm,xshift=4cm]current page.center);
|
|
|
|
% Author
|
|
\node[white!50, font=\fontsize{9}{11}\selectfont]
|
|
at ([yshift=-0.6cm]current page.center) {\@author};
|
|
|
|
% Date
|
|
\node[white!30, font=\fontsize{8}{10}\selectfont]
|
|
at ([yshift=-1.4cm]current page.center) {\@date};
|
|
|
|
% Footer
|
|
\node[white!20, font=\fontsize{7}{9}\selectfont, anchor=south]
|
|
at ([yshift=0.6cm]current page.south) {Hanzo AI};
|
|
|
|
% Classification
|
|
\node[white!20, font=\fontsize{6}{8}\selectfont, anchor=south east]
|
|
at ([xshift=-0.8cm,yshift=0.6cm]current page.south east) {RESEARCH};
|
|
\end{tikzpicture}
|
|
\restoregeometry
|
|
\newpage
|
|
}
|
|
|
|
\let\luxcoverpage\hanzocoverpage
|
|
\let\hanzocover\hanzocoverpage
|