texlive[59848] Master/texmf-dist: einfart (5jul21)

commits+karl at tug.org commits+karl at tug.org
Mon Jul 5 22:55:43 CEST 2021


Revision: 59848
          http://tug.org/svn/texlive?view=revision&revision=59848
Author:   karl
Date:     2021-07-05 22:55:43 +0200 (Mon, 05 Jul 2021)
Log Message:
-----------
einfart (5jul21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.pdf
    trunk/Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.tex
    trunk/Master/texmf-dist/doc/latex/einfart/einfart-doc-en.pdf
    trunk/Master/texmf-dist/doc/latex/einfart/einfart-doc-en.tex
    trunk/Master/texmf-dist/tex/latex/einfart/einfart.cls

Modified: trunk/Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.tex	2021-07-05 20:55:21 UTC (rev 59847)
+++ trunk/Master/texmf-dist/doc/latex/einfart/einfart-doc-cn.tex	2021-07-05 20:55:43 UTC (rev 59848)
@@ -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,7 +420,10 @@
 \end{itemize}
 这是标题使用下划线装饰之后带来的一个缺点。
 
+\subsection{关于QED符号}
+由于定理类环境中的字体和正文字体是一样的,为了方便看出定理类环境在哪里结束,在其结尾处放置了一个空心的QED符号。然而,如果你的定理是由公式或者列表结尾的,这个符号就无法自动地放在正确的位置。这时,你需要手动在公式或列表最后一个条目的后面加上 \lstinline|\qedhere|,以让QED符号显示到这一行的最后。
 
+
 \section{目前存在的问题}
 
 \begin{itemize}[itemsep=.6em]

Modified: trunk/Master/texmf-dist/doc/latex/einfart/einfart-doc-en.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/einfart/einfart-doc-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/einfart/einfart-doc-en.tex	2021-07-05 20:55:21 UTC (rev 59847)
+++ trunk/Master/texmf-dist/doc/latex/einfart/einfart-doc-en.tex	2021-07-05 20:55:43 UTC (rev 59848)
@@ -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,7 +412,10 @@
 \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}
 
 \begin{itemize}[itemsep=.6em]

Modified: trunk/Master/texmf-dist/tex/latex/einfart/einfart.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/einfart/einfart.cls	2021-07-05 20:55:21 UTC (rev 59847)
+++ trunk/Master/texmf-dist/tex/latex/einfart/einfart.cls	2021-07-05 20:55:43 UTC (rev 59848)
@@ -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 at baseclass{article}
 \RequirePackage{kvoptions}
 \RequirePackage{etoolbox}
@@ -44,6 +44,7 @@
 \DeclareDefaultOption{\PassOptionsToClass{\CurrentOption}{\minimclass at baseclass}}
 \ProcessKeyvalOptions*\relax
 \LoadClass{\minimclass at baseclass}
+
 \if at minimclass@draft
     \@minimclass at fasttrue
 \fi
@@ -110,7 +111,6 @@
 %%================================
 %% Fonts
 %%================================
-%% Math fonts in fast mode
 \if at minimclass@customfont\else
     \if at minimclass@fast
         \RequirePackage{mathpazo}
@@ -117,7 +117,6 @@
     \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 at titlefontshape{\CJKfamily{zhhei}}
 
-%% Math font
 \if at minimclass@customfont\else
 \if at minimclass@fast
 \RequirePackage{amssymb}
@@ -236,6 +233,13 @@
 \setmathfont[range={up/num, bfup/num}
             ]{texgyrepagella-math.otf}
 
+\AtBeginDocument{
+\let\mid at original\mid
+\renewcommand{\mid}{\hspace{-.2em}\mid at original\hspace{-.2em}}
+\let\nmid at original\nmid
+\renewcommand{\nmid}{\hspace{-.2em}\nmid at 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 at font@alreadyset{}
 
-%% Minor improvements
 \PassOptionsToPackage{verbose=silent}{microtype}
 \RequirePackage{microtype}
 \PassOptionsToPackage{all}{nowidow}



More information about the tex-live-commits mailing list.