texlive[59849] Master/texmf-dist: simplivre (5jul21)

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


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

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

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

Modified: trunk/Master/texmf-dist/doc/latex/simplivre/simplivre-doc-cn.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/simplivre/simplivre-doc-cn.tex	2021-07-05 20:55:43 UTC (rev 59848)
+++ trunk/Master/texmf-dist/doc/latex/simplivre/simplivre-doc-cn.tex	2021-07-05 20:55:54 UTC (rev 59849)
@@ -40,7 +40,7 @@
 \providecommand{\meta}[1]{$\langle${\normalfont\itshape#1}$\rangle$}
 \lstset{moretexcs=%
     {linenumbers,nolinenumbers,part,chapter,section,subsection,subsubsection,href,
-    color,NameTheorem,CreateTheorem,proofideanameCN,cref,dnf,needgraph,UseLanguage,UseOtherLanguage,AddLanguageSetting,maketitle,address,curraddr,email,keywords,subjclass,thanks,dedicatory,PLdate,ProjLib,parttext
+    color,NameTheorem,CreateTheorem,proofideanameCN,cref,dnf,needgraph,UseLanguage,UseOtherLanguage,AddLanguageSetting,maketitle,address,curraddr,email,keywords,subjclass,thanks,dedicatory,PLdate,ProjLib,parttext,qedhere
     }
 }
 \lstnewenvironment{code}% 
@@ -102,9 +102,9 @@
     \fill [cyan!90!black] ($(current page.south west)+(0,7)$) rectangle ($(current page.north west)+(21,-7)$);
     \fill [yellow] (current page.south west) rectangle ($(current page.north west)+(3,0)$);
     \node[text width=10cm] at ($(current page.north west)+(8.5,-6)$) {\huge\ProjLib};
-    \node[text width=6cm,text height=3.5cm,scale=2.5] at ($(current page.north west)+(11,-9)$) {\textcolor{white}{\sffamily\simplivre{}\\[5pt]\footnotesize\hspace*{-.05em}以极简主义风格排版你的图书\\[10pt]\tiny 对应版本. \texttt{\simplivre{} 2021/06/30}}};
+    \node[text width=6cm,text height=3.5cm,scale=2.5] at ($(current page.north west)+(11,-9)$) {\textcolor{white}{\sffamily\simplivre{}\\[5pt]\footnotesize\hspace*{-.05em}以极简主义风格排版你的图书\\[10pt]\tiny 对应版本. \texttt{\simplivre{} 2021/07/05}}};
     \node at ($(current page.south)+(1.5,3)$) {\fontsize{16pt}{0pt}\selectfont\textcolor{gray}{许锦文}};
-    \node at ($(current page.south)+(1.5,2)$) {\fontsize{12pt}{0pt}\selectfont\textcolor{gray}{2021年6月,北京}};
+    \node at ($(current page.south)+(1.5,2)$) {\fontsize{12pt}{0pt}\selectfont\textcolor{gray}{2021年7月,北京}};
 \end{tikzpicture}%
 \end{titlepage}%
 \cleardoublepage%
@@ -447,7 +447,10 @@
 \end{itemize}
 这是标题使用下划线装饰之后带来的一个缺点。
 
+\section{关于QED符号}
+由于定理类环境中的字体和正文字体是一样的,为了方便看出定理类环境在哪里结束,在其结尾处放置了一个空心的QED符号。然而,如果你的定理是由公式或者列表结尾的,这个符号就无法自动地放在正确的位置。这时,你需要手动在公式或列表最后一个条目的后面加上 \lstinline|\qedhere|,以让QED符号显示到这一行的最后。
 
+
 \section{目前存在的问题}
 
 \begin{itemize}[itemsep=.6em]

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

Modified: trunk/Master/texmf-dist/doc/latex/simplivre/simplivre-doc-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/simplivre/simplivre-doc-en.tex	2021-07-05 20:55:43 UTC (rev 59848)
+++ trunk/Master/texmf-dist/doc/latex/simplivre/simplivre-doc-en.tex	2021-07-05 20:55:54 UTC (rev 59849)
@@ -38,7 +38,7 @@
 \providecommand{\meta}[1]{$\langle${\normalfont\itshape#1}$\rangle$}
 \lstset{moretexcs=%
     {linenumbers,nolinenumbers,part,chapter,section,subsection,subsubsection,href,
-    color,NameTheorem,CreateTheorem,proofideanameEN,cref,dnf,needgraph,UseLanguage,UseOtherLanguage,AddLanguageSetting,maketitle,address,curraddr,email,keywords,subjclass,thanks,dedicatory,PLdate,ProjLib,parttext
+    color,NameTheorem,CreateTheorem,proofideanameEN,cref,dnf,needgraph,UseLanguage,UseOtherLanguage,AddLanguageSetting,maketitle,address,curraddr,email,keywords,subjclass,thanks,dedicatory,PLdate,ProjLib,parttext,qedhere
     }
 }
 \lstnewenvironment{code}% 
@@ -101,9 +101,9 @@
     \fill [cyan!90!black] ($(current page.south west)+(0,7)$) rectangle ($(current page.north west)+(21,-7)$);
     \fill [yellow] (current page.south west) rectangle ($(current page.north west)+(3,0)$);
     \node[text width=10cm] at ($(current page.north west)+(8.5,-6)$) {\huge\ProjLib};
-    \node[text width=6cm,text height=3.5cm,scale=2.5] at ($(current page.north west)+(11,-9)$) {\textcolor{white}{\sffamily\simplivre{}\\[5pt]\footnotesize\textsc{Write your books in \\a simple and clear way}\\[10pt]\tiny Corresponding to: \texttt{\simplivre{} 2021/06/30}}};
+    \node[text width=6cm,text height=3.5cm,scale=2.5] at ($(current page.north west)+(11,-9)$) {\textcolor{white}{\sffamily\simplivre{}\\[5pt]\footnotesize\textsc{Write your books in \\a simple and clear way}\\[10pt]\tiny Corresponding to: \texttt{\simplivre{} 2021/07/05}}};
     \node at ($(current page.south)+(1.5,3)$) {\fontsize{16pt}{0pt}\selectfont\textcolor{gray}{\scshape Jinwen XU}};
-    \node at ($(current page.south)+(1.5,2)$) {\fontsize{12pt}{0pt}\selectfont\textcolor{gray}{June 2021, Beijing}};
+    \node at ($(current page.south)+(1.5,2)$) {\fontsize{12pt}{0pt}\selectfont\textcolor{gray}{July 2021, Beijing}};
 \end{tikzpicture}%
 \end{titlepage}%
 \cleardoublepage%
@@ -133,9 +133,11 @@
 \section{How to load it}
 
 One only needs to put
+
 \begin{code}
   \documentclass{simplivre}
 \end{code}
+
 as the first line to use the \simplivre{} class.
 
 \begin{tip}[Attention]
@@ -364,7 +366,7 @@
     The \lstinline|proofidea| environment.
 \end{proofidea}
 
-\clearpage
+% \clearpage 
 \section{Draft mark}
 
 You can use \lstinline|\dnf| to mark the unfinished part. For example:
@@ -440,7 +442,11 @@
 \end{itemize}
 This is a disadvantage brought about by the underline decoration of the title.
 
+\section{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.
 
+
+\clearpage
 \section{Known issues}
 
 \begin{itemize}[itemsep=.6em]

Modified: trunk/Master/texmf-dist/tex/latex/simplivre/simplivre.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/simplivre/simplivre.cls	2021-07-05 20:55:43 UTC (rev 59848)
+++ trunk/Master/texmf-dist/tex/latex/simplivre/simplivre.cls	2021-07-05 20:55:54 UTC (rev 59849)
@@ -17,7 +17,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2020-10-01]
 \ProvidesClass{simplivre}
-    [2021/06/30 A simple and clear book style]
+    [2021/07/05 A simple and clear book style]
 \def\minimclass at baseclass{book}
 \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.