<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% This is inkpaper.cls,Version 1.0.
%% Copyright (c) Moyan Liang,2019.

\NeedsTeXFormat{LaTeX2e}

\ProvidesClass{inkpaper}[2019/6/23 v 1.0 Paper template.]

\LoadClass[UTF8,fancyhdr,twocolumn]{ctexart}
\RequirePackage{xcolor}
\RequirePackage{amsthm,amsfonts,siunitx}
\RequirePackage{etoolbox,xstring,mfirstuc,textcase}
\RequirePackage{asymptote}
\RequirePackage{newtxtext,newtxmath}
\RequirePackage{abstract}
\RequirePackage{cite}
\RequirePackage{kvoptions}
\RequirePackage{ifthen}
\RequirePackage{ifxetex}
\RequirePackage{calc}
\AtEndOfClass{\RequirePackage{microtype}}
\RequirePackage[colorlinks,linkcolor=blue]{hyperref}
\renewcommand{\abstractnamefont}{\normalfont\bfseries}
\renewcommand{\abstractnamefont}{\normalfont}
\SetupKeyvalOptions{family=INK, prefix=INK@, setkeys=\kvsetkeys}
\newcommand{\ekv}[1]{\kvsetkeys{INK}{#1}}
\DeclareStringOption[cn]{lang}
\DeclareVoidOption{cn}{\ekv{lang = cn}}
\DeclareVoidOption{en}{\ekv{lang = en}}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexart}}
%\ExecuteOptions{12pt}
\ProcessKeyvalOptions*\relax
\ProcessOptions
\makeatletter
\newtoks\entitle
\renewcommand*\maketitle{%
	\thispagestyle{empty}
	\let\footnotesize\small
	%\let\footnoterule\hrule\vspace{5pt}
    \let \footnote \thanks
 
	\begin{center}
        {\LARGE \@title \par}
        \vspace{2pt}
        {\Large \textbf{\MakeUppercase{\the\entitle}} \par}
        \vspace{5pt}
        {\@author \par}
    \end{center}

	\@thanks
	\vfil\null
	\setcounter{footnote}{0}%
	
 \global\let\thanks\relax
 \global\let\maketitle\relax
 \global\let\@thanks\@empty
 \global\let\@author\@empty
 \global\let\@date\@empty
 \global\let\@title\@empty
 \global\let\title\relax
 \global\let\author\relax
 \global\let\date\relax
 \global\let\and\relax

}
\ctexset{
    section = {
        number=\arabic{section},
        name=\S,
        format+=\zihao{-4}
    },
    subsection = {
        number=\Roman{subsection},
        format = \raggedright\zihao{-4}\textit,
        aftername = {.}
    },
    subsubsection = {
        number=\roman{subsubsection},
        format=\raggedright\zihao{-4}\textit,
        name={(,)}
    }
}

\RequirePackage{fancyhdr}
\fancyhf{}
\lhead{\textnormal{\kaishu\rightmark}} 
\rhead{--\ \thepage\ --} 
\pagestyle{fancy} 
% \sectionmark 逧�㍾螳壻ｹ蛾怙隕∝惠 \pagestyle 荵句錘逕滓譜 
\renewcommand\sectionmark[1]{% 
\markright{\CTEXifname{\CTEXthesection窶披媒{}#1}} 
\ifdefstring{\INK@lang}{cn}{
    \theoremstyle{plain}% default
	\newtheorem{theorem}{螳夂炊}[section] %
	\newtheorem{lemma}[theorem]{蠑慕炊} %
	\newtheorem{proposition}[theorem]{諤ｧ雍ｨ} %
	\newtheorem*{corollary}{謗ｨ隶ｺ} %
	\theoremstyle{definition} %
	\newtheorem{definition}{螳壻ｹ厭[section] %
	\newtheorem{conjecture}{迪懈Φ}[section] %
    \newtheorem{example}{萓急[section] %
    \newtheorem{problem}{鬚�}[section] %
    \newtheorem*{problema}{蠑暮｢�}
    \newtheorem*{solution}{隗｣}
	\theoremstyle{remark} %
	\newtheorem*{remark}{\normalfont\bfseries 隸�ｮｺ} %
	\newtheorem*{note}{\normalfont\bfseries 豕ｨ} %
	\newtheorem{case}{\normalfont\bfseries 譯井ｾ急 %
	\renewcommand*{\proofname}{\normalfont\bfseries\color{black}隸∵�} %

	\renewcommand\figurename{蝗ｾ} %
	\renewcommand\tablename{陦ｨ}
	
	\setlength{\parindent}{2em}
  	\newcommand{\keywords}[1]{\vskip2ex\par\noindent\normalfont{\bfseries 蜈ｳ髞ｮ隸�: } #1}
  
}{\relax}
\ifdefstring{\INK@lang}{en}{
  \theoremstyle{plain}% default
	\newtheorem{theorem}{Theorem}[section] %
	\newtheorem{lemma}[theorem]{Lemma} %
	\newtheorem{proposition}[theorem]{Proposition} %
	\newtheorem*{corollary}{Corollary} %
	\theoremstyle{definition} %
	\newtheorem{definition}{Definition}[section] %
	\newtheorem{conjecture}{Conjecture}[section] %
    \newtheorem{example}{Example}[section] %
    \newtheorem{problem}{Problem}[section] %
    \newtheorem*{problema}{Initial Problem}
    \newtheorem*{solution}{Solution.}
	\theoremstyle{remark} %
	\newtheorem*{remark}{Remark} %
	\newtheorem*{note}{Note} %
    \newtheorem{case}{Case} 
    \renewcommand*{\refname}{Bibliography}
	\renewcommand*{\proofname}{\normalfont\bfseries\color{black}Proof}
	\renewcommand\figurename{Fig.} %
	\renewcommand\tablename{Tab.}
}{\relax}    
\renewcommand*{\qed}{\begin{flushright}
        $\square$
    \end{flushright}}
    
    \AtEndEnvironment{solution}{\begin{flushright}
        \qed
    \end{flushright}}
\makeatother
\RequirePackage{listings}

\lstset{
    columns=fixed,       
    numbers=left,                                        % 蝨ｨ蟾ｦ萓ｧ譏ｾ遉ｺ陦悟捷
    frame=none,                                          % 荳肴仞遉ｺ閭梧勹霎ｹ譯�
    backgroundcolor=\color[RGB]{245,245,244},            % 隶ｾ螳夊レ譎ｯ鬚懆牡
    keywordstyle=\color[RGB]{40,40,255},                 % 隶ｾ螳壼�髞ｮ蟄鈴｢懆牡
    numberstyle=\footnotesize\color{darkgray},           % 隶ｾ螳夊｡悟捷譬ｼ蠑�
    commentstyle=\it\color[RGB]{0,96,96},                % 隶ｾ鄂ｮ莉｣遐∵ｳｨ驥顔噪譬ｼ蠑�
    stringstyle=\rmfamily\slshape\color[RGB]{128,0,0},   % 隶ｾ鄂ｮ蟄礼ｬｦ荳ｲ譬ｼ蠑�
    showstringspaces=false,                              % 荳肴仞遉ｺ蟄礼ｬｦ荳ｲ荳ｭ逧�ｩｺ譬ｼ                           
}
</pre></body></html>