Skip to content

Commit

Permalink
feat: add \environent "symbols".
Browse files Browse the repository at this point in the history
  • Loading branch information
fky2015 committed Jul 4, 2022
1 parent 5380485 commit 80bfc2e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
15 changes: 5 additions & 10 deletions templates/master-thesis/chapters/symbols.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,9 @@
% The Current Maintainer of this work is Feng Kaiyu.

\begin{symbols}

% \item[BIT] 北京理工大学的英文缩写
% \item[\LaTeX] 一个很棒的排版系统
% \item[\LaTeXe] 一个很棒的排版系统的最新稳定版
% \item[\XeTeX] \LaTeX{}的好兄弟,事实上他有很多个兄弟,但是这个兄弟对各种语言的支持能力都很强
% \item[ctex] 成套的中文\LaTeX{}解决方案,由一帮天才们开发
% \item[\ce{H2SO4}] 硫酸
% \item[$ e^{\pi{}i}+1=0$] 一个集自然界五大常数一体的炫酷方程
% \item[\ce{2H2 + O2 -> 2H2O}] 一个昂贵的生成生命之源的方程式

\item[BIT] 北京理工大学的英文缩写
\item[\LaTeX] 一个很棒的排版系统
\item[\LaTeXe] 一个很棒的排版系统的最新稳定版
\item[ctex] 成套的中文\LaTeX{}解决方案,由一帮天才们开发
\item[$ e^{\pi{}i}+1=0$] 一个集自然界五大常数一体的炫酷方程
\end{symbols}
11 changes: 9 additions & 2 deletions templates/undergraduate-thesis/bitundergrad.cls
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@
\RequirePackage{amssymb}
\RequirePackage{pdfpages}
\RequirePackage{listings}
\RequirePackage{enumitem}

\@@_if_graduate:TF {
\int_set:Nn \g_@@_head_zihao_int {5}
Expand Down Expand Up @@ -1280,10 +1281,16 @@
{
\chapter{\c_@@_name_resume_tl}
}
{}
{
}

\NewDocumentEnvironment {symbols} {}
{
\chapter{\c_@@_name_symbols_tl}
\zihao{-4}
\begin{itemize}[labelwidth=2.5cm,labelsep=0.5cm,leftmargin=3cm,itemindent=0cm,itemsep=0cm]
\cs_set:Npn \makelabel ##1 {##1\hfil}
}
{
\end{itemize}
}
{}

0 comments on commit 80bfc2e

Please sign in to comment.