superject/notes/zzkt-article.cls

33 lines
1.1 KiB
TeX

\documentclass[10pt,a4paper]{article}
\usepackage{fontspec}
\usepackage{xeCJK}
\usepackage{subcaption}
\captionsetup[subfigure]{labelformat=empty}
\usepackage{graphicx}
\usepackage[colorlinks=true,linkcolor=cyan,menucolor=cyan]{hyperref}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=iso]{datetime2}
\usepackage{parskip}
\usepackage{enumitem}
\setitemize{noitemsep,topsep=3pt,parsep=3pt,partopsep=0pt}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont [BoldFont={Fira Sans Bold},
ItalicFont={Fira Sans Book Italic}]{Fira Sans}
\setsansfont{Fira Sans}
\setmonofont[Scale=0.9]{Fira Code Light}
\newfontfamily\quotebody[Scale=0.85]{Fira Sans Light}
\newfontfamily\quotecite[Scale=0.75]{Fira Sans Light}
\newsavebox{\quoteauthor}
\newenvironment{qf}[1][]{
\sbox\quoteauthor{\quotecite---#1}
\quotebody\begin{displayquote}}
{\newline\hspace*{1em plus 1fill}\usebox{\quoteauthor}
\end{displayquote}}
\usepackage{geometry}
\geometry{a4paper, textwidth=165mm, textheight=255mm, marginparsep=11pt, marginparwidth=15mm}
\thispagestyle{empty}
\pagestyle{empty}
[NO-DEFAULT-PACKAGES]
[NO-PACKAGES]