feat: add tabularray
This commit is contained in:
@@ -181,6 +181,9 @@ pdfborder=001, linkcolor=black, citecolor=black, urlcolor=black]{hyperref} %
|
||||
\usepackage{array,booktabs,multirow} % multirow, multicolumn and more professional format support
|
||||
\usepackage{tabularx} % deal with text wrapping in tables
|
||||
\usepackage{longtable}
|
||||
\usepackage{tabularray}
|
||||
\usepackage{tblr-extras}
|
||||
|
||||
|
||||
\usepackage{caption}
|
||||
\usepackage[labelformat=simple]{subcaption}
|
||||
@@ -199,6 +202,21 @@ pdfborder=001, linkcolor=black, citecolor=black, urlcolor=black]{hyperref} %
|
||||
% 外文文献中表、图、公式、代码编号重置
|
||||
\newcommand{\newtranschapter}{\thispagestyle{empty}\addtocounter{chapter}{1}\setcounter{table}{0}\setcounter{equation}{0}\setcounter{figure}{0}\setcounter{lstlisting}{0}}
|
||||
|
||||
% Tabularray 设置
|
||||
|
||||
\SetTblrStyle{contfoot-text}{font=\kaishu\zihao{5}}
|
||||
\SetTblrStyle{caption-tag}{font=\kaishu\zihao{5}}
|
||||
\SetTblrStyle{caption-text}{font=\kaishu\zihao{5}}
|
||||
\DeclareTblrTemplate{contfoot-text}{default}{接下页}
|
||||
\DeclareTblrTemplate{caption-sep}{default}{ }
|
||||
\DeclareTblrTemplate{conthead-text}{default}{续表}
|
||||
\DefTblrTemplate{firsthead,middlehead,lasthead}{default}{}
|
||||
% \DefTblrTemplate{firstfoot,middlefoot}{default}{} % <---
|
||||
\DefTblrTemplate{lastfoot}{default}% % <---
|
||||
{
|
||||
\UseTblrTemplate{caption}{default}
|
||||
}
|
||||
|
||||
% equation tweaking
|
||||
\usepackage{amssymb}
|
||||
\usepackage{bm} % 加粗使用
|
||||
@@ -319,4 +337,4 @@ pdfborder=001, linkcolor=black, citecolor=black, urlcolor=black]{hyperref} %
|
||||
% with a paragraph and no extra blank before, in or after the list.
|
||||
%\setlist[itemize]{labelindent=\parindent,leftmargin=*,noitemsep,topsep=0pt}
|
||||
% Modify the label format by yourself if you do not like 1), 2), ... here.
|
||||
%\setlist[enumerate]{labelindent=\parindent,leftmargin=*,noitemsep,topsep=0pt,label={\arabic*)}}
|
||||
%\setlist[enumerate]{labelindent=\parindent,leftmargin=*,noitemsep,topsep=0pt,label={\arabic*)}}
|
||||
Reference in New Issue
Block a user