diff options
-rw-r--r-- | Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.pdf | bin | 238692 -> 243292 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.tex | 12 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/einfart/einfart-doc-en.pdf | bin | 148163 -> 150231 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/einfart/einfart-doc-en.tex | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/einfart/einfart.cls | 16 |
5 files changed, 24 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.pdf b/Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.pdf Binary files differindex 735f56dba17..2a9a66a48fe 100644 --- a/Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.pdf +++ b/Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.pdf diff --git a/Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.tex b/Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.tex index 4b2c5a6f749..b4cee345830 100644 --- a/Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.tex +++ b/Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.tex @@ -40,7 +40,7 @@ \providecommand{\meta}[1]{$\langle${\normalfont\itshape#1}$\rangle$} \lstset{moretexcs=% {linenumbers,nolinenumbers,subsection,subsubsection,href, - color,NameTheorem,CreateTheorem,proofideanameCN,cref,dnf,needgraph,UseLanguage,UseOtherLanguage,AddLanguageSetting,maketitle,address,curraddr,email,keywords,subjclass,thanks,dedicatory,PLdate,ProjLib + color,NameTheorem,CreateTheorem,proofideanameCN,cref,dnf,needgraph,UseLanguage,UseOtherLanguage,AddLanguageSetting,maketitle,address,curraddr,email,keywords,subjclass,thanks,dedicatory,PLdate,ProjLib,qedhere } } \lstnewenvironment{code}% @@ -87,8 +87,8 @@ \title{\einfart{},以极简主义风格排版你的文章} \author{许锦文} -\thanks{对应版本. \texttt{\einfart{} 2021/06/30}} -\date{2021年6月,北京} +\thanks{对应版本. \texttt{\einfart{} 2021/07/05}} +\date{2021年7月,北京} \maketitle @@ -102,7 +102,8 @@ \tableofcontents -\bigskip +% \bigskip +\vspace{-.3\baselineskip} \begin{tip} 多语言支持、定理类环境、未完成标记等功能是由 \ProjLib{} 工具箱提供的,这里只给出了将其与本文档类搭配使用的要点。如需获取更详细的信息,可以参阅 \ProjLib{} 的说明文档。 \end{tip} @@ -419,6 +420,9 @@ \end{itemize} 这是标题使用下划线装饰之后带来的一个缺点。 +\subsection{关于QED符号} +由于定理类环境中的字体和正文字体是一样的,为了方便看出定理类环境在哪里结束,在其结尾处放置了一个空心的QED符号。然而,如果你的定理是由公式或者列表结尾的,这个符号就无法自动地放在正确的位置。这时,你需要手动在公式或列表最后一个条目的后面加上 \lstinline|\qedhere|,以让QED符号显示到这一行的最后。 + \section{目前存在的问题} diff --git a/Master/texmf-dist/doc/latex/einfart/einfart-doc-en.pdf b/Master/texmf-dist/doc/latex/einfart/einfart-doc-en.pdf Binary files differindex 26af160f139..bbf036b4a81 100644 --- a/Master/texmf-dist/doc/latex/einfart/einfart-doc-en.pdf +++ b/Master/texmf-dist/doc/latex/einfart/einfart-doc-en.pdf diff --git a/Master/texmf-dist/doc/latex/einfart/einfart-doc-en.tex b/Master/texmf-dist/doc/latex/einfart/einfart-doc-en.tex index e50c77ab289..277de1fade2 100644 --- a/Master/texmf-dist/doc/latex/einfart/einfart-doc-en.tex +++ b/Master/texmf-dist/doc/latex/einfart/einfart-doc-en.tex @@ -41,7 +41,7 @@ \providecommand{\meta}[1]{$\langle${\normalfont\itshape#1}$\rangle$} \lstset{moretexcs=% {linenumbers,nolinenumbers,subsection,subsubsection,href, - color,NameTheorem,CreateTheorem,proofideanameEN,cref,dnf,needgraph,UseLanguage,UseOtherLanguage,AddLanguageSetting,maketitle,address,curraddr,email,keywords,subjclass,thanks,dedicatory,PLdate,ProjLib + color,NameTheorem,CreateTheorem,proofideanameEN,cref,dnf,needgraph,UseLanguage,UseOtherLanguage,AddLanguageSetting,maketitle,address,curraddr,email,keywords,subjclass,thanks,dedicatory,PLdate,ProjLib,qedhere } } \lstnewenvironment{code}% @@ -88,8 +88,8 @@ \title{\einfart{}, write your articles in a simple and clear way} \author{Jinwen XU} -\thanks{Corresponding to: \texttt{\einfart{} 2021/06/30}} -\date{June 2021, Beijing} +\thanks{Corresponding to: \texttt{\einfart{} 2021/07/05}} +\date{July 2021, Beijing} \maketitle @@ -114,6 +114,7 @@ \subsection{How to load it} One only needs to put + \begin{code} \documentclass{einfart} \end{code} @@ -411,6 +412,9 @@ In \lstinline|\section| or \lstinline|\subsection| , if you wish to add footnote \end{itemize} This is a disadvantage brought about by the underline decoration of the title. +\subsection{On the QED symbols} +Since the font in the theorem-like environments is the same as that of the main text, in order to indicate where the environments end, a hollow QED symbol \simpleqedsymbol{} is placed at the end of the theorem-like environments. However, if your theorem ends with an equation or list (itemize, enumerate, description, etc.), this symbol cannot be automatically placed in the correct position. In this case, you need to manually add a \lstinline|\qedhere| at the end of your equation or the last entry of your list to make the QED symbol appear at the end of the line. + \section{Known issues} diff --git a/Master/texmf-dist/tex/latex/einfart/einfart.cls b/Master/texmf-dist/tex/latex/einfart/einfart.cls index b0c9ae23c34..70a747e3677 100644 --- a/Master/texmf-dist/tex/latex/einfart/einfart.cls +++ b/Master/texmf-dist/tex/latex/einfart/einfart.cls @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2020-10-01] \ProvidesClass{einfart} - [2021/06/30 A simple and clear article style] + [2021/07/05 A simple and clear article style] \def\minimclass@baseclass{article} \RequirePackage{kvoptions} \RequirePackage{etoolbox} @@ -44,6 +44,7 @@ \DeclareDefaultOption{\PassOptionsToClass{\CurrentOption}{\minimclass@baseclass}} \ProcessKeyvalOptions*\relax \LoadClass{\minimclass@baseclass} + \if@minimclass@draft \@minimclass@fasttrue \fi @@ -110,14 +111,12 @@ %%================================ %% Fonts %%================================ -%% Math fonts in fast mode \if@minimclass@customfont\else \if@minimclass@fast \RequirePackage{mathpazo} \fi \fi -%% English fonts \PassOptionsToPackage{no-math}{fontspec} \RequirePackage{fontspec} \IfFontExistsTF{Palatino Linotype}{% @@ -141,7 +140,6 @@ ItalicFont = cmunst.otf , BoldItalicFont = cmuntb.otf ] -%% Chinese fonts \PassOptionsToPackage{fontset=none,scheme=plain}{ctex} \RequirePackage{ctex} \WarningFilter{everysel}{Everysel is no longer required} @@ -206,7 +204,6 @@ \def\minimalist@titlefontshape{\CJKfamily{zhhei}} -%% Math font \if@minimclass@customfont\else \if@minimclass@fast \RequirePackage{amssymb} @@ -236,6 +233,13 @@ \setmathfont[range={up/num, bfup/num} ]{texgyrepagella-math.otf} +\AtBeginDocument{ +\let\mid@original\mid +\renewcommand{\mid}{\hspace{-.2em}\mid@original\hspace{-.2em}} +\let\nmid@original\nmid +\renewcommand{\nmid}{\hspace{-.2em}\nmid@original\hspace{-.2em}} +} + \newbox\xratbelow \newbox\xratabove \renewcommand{\xrightarrow}[2][]{% @@ -298,7 +302,6 @@ \renewcommand{\twoheadrightarrow}{% \mathrel{\tikz [baseline=-.55ex, every node/.style={inner sep=0pt}] \draw (0,0) edge[commutative diagrams/twoheadrightarrow] (.8em,0) ;}} - \renewcommand{\twoheadleftarrow}{% \mathrel{\tikz [baseline=-.55ex, every node/.style={inner sep=0pt}] \draw (0,0) edge[commutative diagrams/twoheadleftarrow] (.8em,0) ;}} @@ -363,7 +366,6 @@ \def\PJL@font@alreadyset{} -%% Minor improvements \PassOptionsToPackage{verbose=silent}{microtype} \RequirePackage{microtype} \PassOptionsToPackage{all}{nowidow} |