version 3.08 release

This commit is contained in:
EthanDeng
2019-05-28 22:31:22 +08:00
parent 16bcf11414
commit 87f4d64810
6 changed files with 623 additions and 110 deletions

View File

@@ -240,6 +240,7 @@
\AtBeginDocument{
\setlength{\abovedisplayskip}{3pt}
\setlength{\belowdisplayskip}{3pt}
\setcounter{tocdepth}{1}
}
%%
\linespread{1.3}
@@ -251,8 +252,7 @@
\RequirePackage{multicol}
\RequirePackage{xcolor}
\RequirePackage{fancyvrb}
\RequirePackage{makecell,lipsum,hologo}
\usepackage{setspace}
\RequirePackage{makecell,lipsum,hologo,setspace}
%%
\ifdefstring{\ELEGANT@lang}{cn}{
@@ -706,10 +706,10 @@
\color{gray}\normalsize
{\renewcommand{\arraystretch}{0.618}
\begin{tabular}{l}
\ifdefstring{\ELEGANT@lang}{en}{\textbf{Author: }}{\kaishu } \@author \\
\ifdefstring{\ELEGANT@lang}{en}{\textbf{Institute: }}{\kaishu } \the\institute\\
\ifdefstring{\ELEGANT@lang}{en}{\textbf{Date: }}{\kaishu } \@date\\
\ifdefstring{\ELEGANT@lang}{en}{\textbf{Version: }}{\kaishu } \the\version\\
\ifdefstring{\ELEGANT@lang}{en}{\textbf{Author:}}{\kaishu } \@author \\
\ifdefstring{\ELEGANT@lang}{en}{\textbf{Institute:}}{\kaishu } \the\institute\\
\ifdefstring{\ELEGANT@lang}{en}{\textbf{Date:}}{\kaishu } \@date\\
\ifdefstring{\ELEGANT@lang}{en}{\textbf{Version:}}{\kaishu } \the\version\\
\end{tabular}}
\end{minipage}
\begin{minipage}[c]{0.27\linewidth}
@@ -741,7 +741,7 @@
\lst@ifdisplaystyle\small\fi
}
\lstset{basicstyle=\ttfamily,style=mystyle}
\lstset{basicstyle=\ttfamily,style=mystyle,breaklines=true}
\definecolor{lightgrey}{rgb}{0.9,0.9,0.9}
\definecolor{frenchplum}{RGB}{190,20,83}
@@ -751,9 +751,9 @@
breaklines=true,
keywordstyle=\color{winered},
commentstyle=\color{gray},
emph={elegantpaper,fontenc,fontspec,xeCJK,FiraMono,xunicode,newtxmath,figure,fig,image,img,table,itemize,enumerate,newtxtext,newtxtt,ctex,microtype,description,times,newtx,booktabs,tabular,PDFLaTeX,XeLaTeX,type1cm,BibTeX,device,color,mode,lang,amsthm,tcolorbox,titlestyle},
emph={elegantpaper,fontenc,fontspec,xeCJK,FiraMono,xunicode,newtxmath,figure,fig,image,img,table,itemize,enumerate,newtxtext,newtxtt,ctex,microtype,description,times,newtx,booktabs,tabular,PDFLaTeX,XeLaTeX,type1cm,BibTeX,device,color,mode,lang,amsthm,tcolorbox,titlestyle,cite,marginnote,ctex,listings},
emphstyle={\color{frenchplum}},
morekeywords={DeclareSymbolFont,SetSymbolFont,toprule,midrule,bottomrule,institute,version,includegraphics,setmainfont,setsansfont,setmonofont ,setCJKmainfont,setCJKsansfont,setCJKmonofont,RequirePackage,figref,tabref,email,maketitle,keywords,definecolor,extrainfo,logo,cover,subtitle,appendix,chapter,hypersetup,mainmatter,tableofcontents},
morekeywords={DeclareSymbolFont,SetSymbolFont,toprule,midrule,bottomrule,institute,version,includegraphics,setmainfont,setsansfont,setmonofont ,setCJKmainfont,setCJKsansfont,setCJKmonofont,RequirePackage,figref,tabref,email,maketitle,keywords,definecolor,extrainfo,logo,cover,subtitle,appendix,chapter,hypersetup,mainmatter,tableofcontents,elegantpar,numbers,authoryear,heiti,kaishu,lstset,pagecolor,zhnumber,marginpar,part,equote},
frame=single,
tabsize=2,
rulecolor=\color{structurecolor},
@@ -762,10 +762,6 @@
% backgroundcolor=\color{lightgrey}
}
\definecolor{tcolor}{RGB}{255,127, 0} % default: 0,124,53
\definecolor{lcolor}{RGB}{255,178,102} % default: 153,255,153
\definecolor{pcolor}{RGB}{251,204,231} % default: 216,255,216
\RequirePackage{bm}
\newif\ifstartedinmathmode
\newcommand{\elegantpar}[2]{%