Add the ledger schema, class router, lint codes, ingest/build pipeline, and three work-tree examples: align derivation, superfig delegation, and supertensor delegation.
55 lines
1.9 KiB
TeX
55 lines
1.9 KiB
TeX
% Shared notes preamble. TEXINPUTS must include superpaper/assets/.
|
|
\usepackage[fontset=fandol]{ctex}
|
|
\usepackage{amsmath,amssymb}
|
|
\usepackage{graphicx}
|
|
\usepackage[margin=2.5cm]{geometry}
|
|
\usepackage[most]{tcolorbox}
|
|
\usepackage{etoolbox}
|
|
\usepackage{listings}
|
|
\usepackage{booktabs}
|
|
\usepackage{subcaption}
|
|
\usepackage{float}
|
|
\usepackage{tikz}
|
|
\usepackage{hyperref}
|
|
|
|
\newtcolorbox{knowledgebox}[1]{
|
|
enhanced, colback=blue!5!white, colframe=blue!75!black, colbacktitle=blue!75!black,
|
|
coltitle=white, fonttitle=\bfseries, title=#1,
|
|
attach boxed title to top left={yshift=-2mm, xshift=2mm},
|
|
boxrule=1pt, sharp corners
|
|
}
|
|
\newtcolorbox{importantbox}[1]{
|
|
enhanced, colback=yellow!10!white, colframe=yellow!80!black, colbacktitle=yellow!80!black,
|
|
coltitle=black, fonttitle=\bfseries, title=#1, sharp corners
|
|
}
|
|
\newtcolorbox{warningbox}[1]{
|
|
enhanced, colback=red!5!white, colframe=red!75!black, colbacktitle=red!75!black,
|
|
coltitle=white, fonttitle=\bfseries, title=#1, sharp corners
|
|
}
|
|
\newtcolorbox{quotebox}[1]{
|
|
enhanced, breakable,
|
|
colback=black!3!white, colframe=black!55, colbacktitle=black!55,
|
|
coltitle=white, fonttitle=\bfseries, title=#1, sharp corners
|
|
}
|
|
|
|
\newcommand{\splabel}[1]{\hypertarget{sp:#1}{}\label{sp:#1}}
|
|
\newcommand{\spref}[1]{\hyperlink{sp:#1}{\texttt{#1}}}
|
|
\newcommand{\spsource}[1]{\footnote{来源:#1}}
|
|
\newcommand{\spfig}[4][0.92\textwidth]{%
|
|
\begin{figure}[H]\centering
|
|
\includegraphics[width=#1]{figures/#2/build/#2.pdf}%
|
|
\caption{#3\protect\footnotemark}\end{figure}
|
|
\footnotetext{#4}}
|
|
\newcommand{\spscreenshot}[4][0.92\textwidth]{%
|
|
\begin{figure}[H]\centering
|
|
\includegraphics[width=#1]{figures/#2/orig.png}%
|
|
\caption{#3\protect\footnotemark}\end{figure}
|
|
\footnotetext{#4}}
|
|
|
|
\newcommand{\notetitle}{论文笔记}
|
|
\newcommand{\noteauthors}{}
|
|
\newcommand{\notedate}{\today}
|
|
\newcommand{\notepaper}{}
|
|
\newcommand{\notevenue}{}
|
|
\newcommand{\notearxiv}{}
|