summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-04-02 03:20:54 +0000
committerNorbert Preining <norbert@preining.info>2021-04-02 03:20:54 +0000
commit3f173002d4a4a84e7d1fa5a74755fdd00d08a9c2 (patch)
tree5ed380344702de1f9ab53b68b6c3bcd6b8458087 /macros
parentf78ba658b3ecd56053fe0837a4404d0c6c16a707 (diff)
CTAN sync 202104020320
Diffstat (limited to 'macros')
-rw-r--r--macros/latex/contrib/dimnum/README22
-rw-r--r--macros/latex/contrib/dimnum/dimnum.dtx337
-rw-r--r--macros/latex/contrib/dimnum/dimnum.ins63
-rw-r--r--macros/latex/contrib/dimnum/dimnum.pdfbin0 -> 181017 bytes
-rw-r--r--macros/latex/contrib/dynbrackets/README.md20
-rw-r--r--macros/latex/contrib/dynbrackets/dynbrackets.dtx168
-rw-r--r--macros/latex/contrib/dynbrackets/dynbrackets.ins63
-rw-r--r--macros/latex/contrib/dynbrackets/dynbrackets.pdfbin0 -> 141825 bytes
-rw-r--r--macros/latex/contrib/easybook/README.md24
-rw-r--r--macros/latex/contrib/easybook/doc/easybook-demo.pdfbin262400 -> 262407 bytes
-rw-r--r--macros/latex/contrib/easybook/doc/easybook-demo.tex2
-rw-r--r--macros/latex/contrib/easybook/doc/easybook.pdfbin260036 -> 260079 bytes
-rw-r--r--macros/latex/contrib/easybook/easybook.dtx30
13 files changed, 680 insertions, 49 deletions
diff --git a/macros/latex/contrib/dimnum/README b/macros/latex/contrib/dimnum/README
new file mode 100644
index 0000000000..426c859331
--- /dev/null
+++ b/macros/latex/contrib/dimnum/README
@@ -0,0 +1,22 @@
+NAME
+ dimnum -- Provides commands for Dimensionless numbers
+
+VERSION
+ Version: v1.0.0
+
+COPYRIGHT
+ Copyright (c) 2021 Miguel R. Clemente <miguel.clemente@dem.uc.pt>
+
+ This file may be distributed and/or modified under the conditions of
+ the LaTeX Project Public License, either version 1.3 of this license
+ or (at your option) any later version. The latest version of this
+ license is in:
+
+ http://www.latex-project.org/lppl.txt
+
+ and version 1.3 or later is part of all distributions of LaTeX version
+ 2005/12/01 or later.
+
+ This work has the LPPL maintenance status `maintained'.
+
+ The Current Maintainer of this work is Miguel R. Clemente. \ No newline at end of file
diff --git a/macros/latex/contrib/dimnum/dimnum.dtx b/macros/latex/contrib/dimnum/dimnum.dtx
new file mode 100644
index 0000000000..2020b088c7
--- /dev/null
+++ b/macros/latex/contrib/dimnum/dimnum.dtx
@@ -0,0 +1,337 @@
+% \iffalse meta-comment
+%
+% Copyright (C) 2021 by Miguel R. Clemente <miguel.clemente@dem.uc.pt>
+% ---------------------------------------------------------------------------
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Miguel R. Clemente.
+%
+% This work consists of the files dimnum.dtx and dimnum.ins
+% and the derived filebase dimnum.sty.
+%
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{dimnum.dtx}
+%</driver>
+%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
+%<package>\ProvidesPackage{dimnum}
+%<*package>
+ [2021/04/01 v1.0.0 Provides commands for Dimensionless numbers]
+%</package>
+%
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{dimnum}[2021/04/01]
+\usepackage{multirow}
+\usepackage{tabu}
+\usepackage{longtable}
+\usepackage{booktabs}
+\usepackage{caption}
+\usepackage{verbatim}
+\usepackage{indentfirst}
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\begin{document}
+ \DocInput{dimnum.dtx}
+ \PrintChanges
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{122}
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+%
+% \changes{v1.0.0}{2021/04/01}{Public release}
+%
+% \DoNotIndex{\newcommand,\newenvironment}
+%
+% \providecommand*{\url}{\texttt}
+% \GetFileInfo{dimnum.dtx}
+% \title{The \textsf{dimnum} package}
+% \author{Miguel R. Clemente \\ \url{miguel.clemente@dem.uc.pt}}
+% \date{\fileversion~from \filedate}
+%
+% \maketitle
+%
+% Note: \Pr[l] is redefined from the \verb!amsmath! package.
+%
+% \section{Introduction}
+%
+% This package simplifies the calling of Dimensionless Numbers in math or text mode.
+%
+% In Table~\ref{Tab:DimNum} you can find all available Dimensionless Numbers.
+%
+% \section{Usage}
+%
+% A Dimensionless number is composed of four items:
+% \begin{itemize}
+% \item the command,
+% \item the symbol,
+% \item the name,
+% \item its identifier.
+% \end{itemize}
+
+% You can call a Dimensionless Number in three distinct ways:
+% \begin{itemize}
+% \item by its symbol -- using the command (i.e. \verb!\Ar! -- \Ar).
+% \item by its name (short version) -- appending [s] to the command (i.e. \verb!\Bi[s]! -- \Bi[s]).
+% \item by its name and identifier (long version) -- appending [l] to the command (i.e. \verb!\Kn[l]! -- \Kn[l]).
+% \end{itemize}
+
+% Symbol, short and long versions, all work in math or text mode without the need of further commands.
+
+% Besides the comprehensive list of included Dimensionless Numbers, this package also introduces a command to create new Dimensionless Numbers. Creating a Dimensionless Number is achieved by using $$\verb!\newdimnum{\command}{symbol}{name}{identifier}!$$ for example, to add the \Mo[l] we write $$\verb!\newdimnum{\Mo}{Mo}{Morton}{number}!$$
+
+% The identifier can be left empty, such as in the case of \Cd[l] $$\verb!\newdimnum{Cd}{\ensuremath{C_d}}{Drag Coefficient}{}!$$
+% in this example we also introduce an important command. When the Dimensionless Number symbol is always expressed in math mode -- either by definition or the use of subscripts or superscripts -- we add \verb!\ensuremath{}! to encompass the symbol, ensuring a proper representation of the Dimensionless Number.
+
+% You can add your own Dimensionless Numbers to your projects. Requests and suggestions to increment Table~\ref{Tab:DimNum} are accepted and encouraged.
+%
+%\begin{longtabu*} to \textwidth {>{\small}X[2,m] >{\small}X[m,c] >{\small}X[m,c] >{\small}X[2,m,c]}
+% \centering \\
+% \captionsetup{justification=centering} \\
+% \caption{List of Dimensionless Numbers Available} \\
+% \label{Tab:DimNum} \\
+% \toprule \toprule
+% \rowfont[]{\bf}Long Name & Symbol & Command & Application Fields\\ \midrule
+% \endfirsthead
+% \multicolumn{4}{c}%
+% {{\footnotesize{\tablename\ \thetable{} -- continued from the previous page}}} \\
+% \toprule
+% \rowfont[]{\bf}Long Name & Symbol & Command & Application Fields\\ \midrule
+% \endhead
+% \midrule \multicolumn{4}{r}{{\footnotesize{Continues on the next page}}} \\
+% \endfoot
+% \bottomrule
+% \endlastfoot
+% \Ar[l] & \Ar & \verb!\Ar! & Fluid Mechanics \\
+% \At[l] & \At & \verb!\At! & Fluid Mechanics \\
+% \Ba[l] & \Ba & \verb!\Ba! & Geology, Fluid Mechanics \\
+% \Be[l] & \Be & \verb!\Be! & Fluid Mechanics, Thermodynamics \\
+% \Bm[l] & \Bm & \verb!\Bm! & Fluid Mechanics, Rheology \\
+% \Bi[l] & \Bi & \verb!\Bi! & Heat Transfer, Mass Transfer \\
+% \Bl[l] & \Bl & \verb!\Bl! & Geology, Fluid Mechanics, Porous Media \\
+% \Bs[l] & \Bs & \verb!\Bs! & Chemistry \\
+% \Bo[l] & \Bo & \verb!\Bo! & Geology, Fluid Mechanics, Porous Media \\
+% \Br[l] & \Br & \verb!\Br! & Fluid Mechanics, Heat Transfer \\
+% \Bk[l] & \Bk & \verb!\Bk! & Fluid Mechanics \\
+% \Cap[l] & \Cap & \verb!\Cap! & Fluid Mechanics, Porous Media \\
+% \Cau[l] & \Cau & \verb!\Cau! & \\
+% \Ch[l] & \Ch & \verb!\Ch! & Magnetohydrodynamics \\
+% \Cf[l] & \Cf & \verb!\Cf! & \\
+% \Co[l] & \Co & \verb!\Co! & \\
+% \Dah[l] & \Dah & \verb!\Dah! & Chemistry \\
+% \Dar[l] & \Dar & \verb!\Dar! & Porous Media \\
+% \De[l] & \De & \verb!\De! & Fluid Mechanics \\
+% \Deb[l] & \Deb & \verb!\Deb! & Rheology \\
+% \Cd[l] & \Cd & \verb!\Cd! & \\
+% \Du[l] & \Du & \verb!\Du! & Colloid Science \\
+% \Ec[l] & \Ec & \verb!\Ec! & Heat Transfer \\
+% \Ek[l] & \Ek & \verb!\Ek! & Geophysics \\
+% \Ela[l] & \Ela & \verb!\Ela! & \\
+% \El[l] & \El & \verb!\El! & \\
+% \Eo[l] & \Eo & \verb!\Eo! & Fluid Mechanics \\
+% \Er[l] & \Er & \verb!\Er! & Fluid Dynamics \\
+% \Eu[l] & \Eu & \verb!\Eu! & Hydrodynamics \\
+% \Fo[l] & \Fo & \verb!\Fo! & Heat Transfer, Mass Transfer \\
+% \Fr[l] & \Fr & \verb!\Fr! & Fluid Mechanics \\
+% \Ga[l] & \Ga & \verb!\Ga! & Fluid Mechanics \\
+% \Go[l] & \Go & \verb!\Go! & Fluid Dynamics \\
+% \Gz[l] & \Gz & \verb!\Gz! & Fluid Mechanics, Heat Transfer \\
+% \Gr[l] & \Gr & \verb!\Gr! & Heat Transfer \\
+% \Ha[l] & \Ha & \verb!\Ha! & Chemistry \\
+% \Hg[l] & \Hg & \verb!\Hg! & Heat Transfer \\
+% \Ho[l] & \Ho & \verb!\Ho! & \\
+% \Ir[l] & \Ir & \verb!\Ir! & Wave Mechanics \\
+% \Ja[l] & \Ja & \verb!\Ja! & Chemistry \\
+% \Ka[l] & \Ka & \verb!\Ka! & Combustion \\
+% \Kc[l] & \Kc & \verb!\Kc! & Fluid Dynamics \\
+% \Kn[l] & \Kn & \verb!\Kn! & Gas Dynamics \\
+% \Ku[l] & \Ku & \verb!\Ku! & Fluid Mechanics \\
+% \La[l] & \La & \verb!\La! & Fluid Dynamics \\
+% \Le[l] & \Le & \verb!\Le! & Heat Transfer, Mass Transfer \\
+% \Ma[l] & \Ma & \verb!\Ma! & Gas Dynamics \\
+% \Mg[l] & \Mg & \verb!\Mg! & Fluid Mechanics \\
+% \Mo[l] & \Mo & \verb!\Mo! & Fluid Dynamics \\
+% \Nus[l] & \Nus & \verb!\Nus! & Heat Transfer \\
+% \Oh[l] & \Oh & \verb!\Oh! & Fluid Dynamics \\
+% \Pe[l] & \Pe & \verb!\Pe! & Heat Transfer \\
+% \pH[l] & \pH & \verb!\pH! & Chemistry \\
+% \Pr[l] & \Pr & \verb!\Pr! & Heat Transfer \\
+% \Ra[l] & \Ra & \verb!\Ra! & Heat Transfer \\
+% \Rey[l] & \Rey & \verb!\Rey! & Fluid Mechanics \\
+% \Ri[l] & \Ri & \verb!\Ri! & Fluid Dynamics \\
+% \Ro[l] & \Ro & \verb!\Ro! & Fluid Dynamics \\
+% \Ros[l] & \Ros & \verb!\Ros! & Geophysics \\
+% \Rou[l] & \Rou & \verb!\Rou! & Sediment Transport \\
+% \Sc[l] & \Sc & \verb!\Sc! & Mass Transfer \\
+% \Sh[l] & \Sh & \verb!\Sh! & Mass Transfer \\
+% \So[l] & \So & \verb!\So! & Hydrodynamic Lubrication \\
+% \St[l] & \St & \verb!\St! & Fluid Dynamics, Mass Transfer \\
+% \Ste[l] & \Ste & \verb!\Ste! & Thermodynamics \\
+% \Stk[l] & \Stk & \verb!\Stk! & Particles Suspensions \\
+% \Sr[l] & \Sr & \verb!\Sr! & Fluid Dynamics \\
+% \Stu[l] & \Stu & \verb!\Stu! & Magnetohydrodynamics \\
+% \Sv[l] & \Sv & \verb!\Sv! & Design \\
+% \Ta[l] & \Ta & \verb!\Ta! & Fluid Dynamics \\
+% \Ur[l] & \Ur & \verb!\Ur! & Wave Mechanics \\
+% \Va[l] & \Va & \verb!\Va! & Porous Media \\
+% \Wa[l] & \Wa & \verb!\Wa! & Electrochemistry \\
+% \Wea[l] & \Wea & \verb!\Wea! & Combustion \\
+% \We[l] & \We & \verb!\We! & Multiphase Flow \\
+% \Wei[l] & \Wei & \verb!\Wei! & Viscoelastic Flows \\
+% \bottomrule
+% \end{longtabu*}
+%
+%
+% \StopEventually{}
+%
+% \section{Implementation}
+%
+% \iffalse
+%<*package>
+% \fi
+%
+% \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{dimnum}
+[2021/04/01 v1.0.0 Provides commands for Dimensionless numbers]
+\RequirePackage{amsmath}
+\RequirePackage{xifthen}
+\let\Pr\relax
+\newif\ifstartedinmathmode
+% \end{macrocode}
+%
+% \begin{macro}{\newdimnum}
+% \begin{macrocode}
+\newcommand{\newdimnum}[4]{%
+\expandafter\newcommand\csname #1\endcsname[1][]{%
+\ifthenelse{\equal{##1}{}}{%
+\relax\ifmmode\startedinmathmodetrue\else\startedinmathmodefalse\fi%
+\ifstartedinmathmode\operatorname{#2}\else#2\fi}{%
+\ifthenelse{\equal{##1}{s}}{\text{#3}}{%
+\ifthenelse{\equal{##1}{l}}{%
+\ifthenelse{\equal{#4}{}}{\text{#3}}{\text{#3 #4}}}{%
+\ifthenelse{\equal{#4}{}}{\text{#3}}{\text{#3 #4}}}%
+ }%
+ }%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+%\newdimnum{command}{symbol}{name}{identifier}
+% \begin{macrocode}
+\newdimnum{Ar}{Ar}{Archimedes}{number}
+\newdimnum{At}{A}{Atwood}{number}
+\newdimnum{Ba}{Ba}{Bagnold}{number}
+\newdimnum{Be}{Be}{Bejan}{number}
+\newdimnum{Bm}{Bm}{Bingham}{number}
+\newdimnum{Bi}{Bi}{Biot}{number}
+\newdimnum{Bl}{Bl}{Blake}{number}
+\newdimnum{Bs}{Bs}{Bodenstein}{number}
+\newdimnum{Bo}{Bo}{Bond}{number}
+\newdimnum{Br}{Br}{Brinkman}{number}
+\newdimnum{Bk}{\ensuremath{N_{BK}}}{Brownell-Katz}{number}
+\newdimnum{Cap}{Ca}{Capillary}{number}
+\newdimnum{Cau}{C}{Cauchy}{number}
+\newdimnum{Ch}{Q}{Chandrasekhar}{number}
+\newdimnum{Cf}{\ensuremath{C_f}}{Coefficient of Frication}{}
+\newdimnum{Co}{Co}{Condensation}{number}
+\newdimnum{Dah}{Da}{Dahmköhler}{number}
+\newdimnum{Dar}{Da}{Darcy}{number}
+\newdimnum{De}{De}{Dean}{number}
+\newdimnum{Deb}{De}{Deborah}{number}
+\newdimnum{Cd}{\ensuremath{C_d}}{Drag Coefficient}{}
+\newdimnum{Du}{Du}{Dukhin}{number}
+\newdimnum{Ec}{Ec}{Eckert}{number}
+\newdimnum{Ek}{Ek}{Ekman}{number}
+\newdimnum{Ela}{El}{Elasticity}{number}
+\newdimnum{El}{El}{Elenbass}{number}
+\newdimnum{Eo}{Eo}{Eötvös}{number}
+\newdimnum{Er}{Er}{Ericksen}{number}
+\newdimnum{Eu}{Eu}{Euler}{number}
+\newdimnum{Fo}{Fo}{Fourier}{number}
+\newdimnum{Fr}{Fr}{Froude}{number}
+\newdimnum{Ga}{Ga}{Galilei}{number}
+\newdimnum{Go}{G}{Görtier}{number}
+\newdimnum{Gz}{Gz}{Graetz}{number}
+\newdimnum{Gr}{Gr}{Grashof}{number}
+\newdimnum{Ha}{Ha}{Hatta}{number}
+\newdimnum{Hg}{Hg}{Hagen}{number}
+\newdimnum{Ho}{H}{Hodgson}{number}
+\newdimnum{Ir}{Ir}{Iribarren}{number}
+\newdimnum{Ja}{Ja}{Jakob}{number}
+\newdimnum{Ka}{Ka}{Karlovitz}{number}
+\newdimnum{Kc}{\ensuremath{K_C}}{Keulegan-Carpenter}{number}
+\newdimnum{Kn}{Kn}{Knudsen}{number}
+\newdimnum{Ku}{Ku}{Kutateladze}{number}
+\newdimnum{La}{La}{Laplace}{number}
+\newdimnum{Le}{Le}{Lewis}{number}
+\newdimnum{Ma}{Ma}{Mach}{number}
+\newdimnum{Mg}{Mg}{Marangoni}{number}
+\newdimnum{Mo}{Mo}{Morton}{number}
+\newdimnum{Nus}{Nu}{Nusselt}{number}
+\newdimnum{Oh}{Oh}{Ohnesorge}{number}
+\newdimnum{Pe}{Pe}{Péclet}{number}
+\newdimnum{pH}{pH}{pH}{}
+\newdimnum{Po}{Po}{Poiseuille}{constant}
+\newdimnum{Pr}{Pr}{Prandtl}{number}
+\newdimnum{Ra}{Ra}{Rayleigh}{number}
+\newdimnum{Rey}{Re}{Reynolds}{number}
+\newdimnum{Ri}{Ri}{Richardson}{number}
+\newdimnum{Ro}{Ro}{Roshko}{number}
+\newdimnum{Ros}{Ro}{Rossby}{number}
+\newdimnum{Rou}{P}{Rouse}{number}
+\newdimnum{Sc}{Sc}{Schmidt}{number}
+\newdimnum{Sh}{Sh}{Sherwood}{number}
+\newdimnum{So}{S}{Sommerfield}{number}
+\newdimnum{St}{St}{Stanton}{number}
+\newdimnum{Ste}{Ste}{Stefan}{number}
+\newdimnum{Stk}{Stk}{Stokes}{number}
+\newdimnum{Sr}{Sr}{Strouhal}{number}
+\newdimnum{Stu}{N}{Stuart}{number}
+\newdimnum{Sv}{Sv}{Svelteness}{}
+\newdimnum{Ta}{Ta}{Taylor}{number}
+\newdimnum{Ur}{U}{Ursell}{number}
+\newdimnum{Va}{Va}{Vadasz}{number}
+\newdimnum{Wa}{Wa}{Wagner}{number}
+\newdimnum{Wea}{Wea}{Weaver flame speed}{number}
+\newdimnum{We}{We}{Weber}{number}
+\newdimnum{Wei}{Wi}{Weissenberg}{number}
+\endinput
+% \end{macrocode}
+%
+% \iffalse
+%</package>
+% \fi
+%
+% \Finale
+\endinput
diff --git a/macros/latex/contrib/dimnum/dimnum.ins b/macros/latex/contrib/dimnum/dimnum.ins
new file mode 100644
index 0000000000..96a9253467
--- /dev/null
+++ b/macros/latex/contrib/dimnum/dimnum.ins
@@ -0,0 +1,63 @@
+%% dimnum.ins
+%% Copyright (C) 2021 by Miguel R. Clemente
+%%
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3 of this license or (at your option) any later
+%% version. The latest version of this license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Miguel R. Clemente.
+%%
+
+\input docstrip.tex
+\keepsilent
+
+\usedir{tex/latex/dimnum}
+
+\preamble
+
+This is a generated file.
+
+Copyright (C) 2021 by Miguel R. Clemente
+
+This file may be distributed and/or modified under the conditions of
+the LaTeX Project Public License, either version 1.3 of this license
+or (at your option) any later version. The latest version of this
+license is in:
+
+ http://www.latex-project.org/lppl.txt
+
+and version 1.3 or later is part of all distributions of LaTeX version
+2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is Miguel R. Clemente.
+
+\endpreamble
+
+\generate{\file{dimnum.sty}{\from{dimnum.dtx}{package}}}
+
+\obeyspaces
+\Msg{*************************************************************}
+\Msg{* *}
+\Msg{* To finish the installation you have to move the following *}
+\Msg{* file into a directory searched by TeX: *}
+\Msg{* *}
+\Msg{* dimnum.sty *}
+\Msg{* *}
+\Msg{* To produce the documentation run the file dimnum.dtx *}
+\Msg{* through LaTeX. *}
+\Msg{* *}
+\Msg{* Happy TeXing! *}
+\Msg{* *}
+\Msg{*************************************************************}
+
+\endbatchfile \ No newline at end of file
diff --git a/macros/latex/contrib/dimnum/dimnum.pdf b/macros/latex/contrib/dimnum/dimnum.pdf
new file mode 100644
index 0000000000..24473874ec
--- /dev/null
+++ b/macros/latex/contrib/dimnum/dimnum.pdf
Binary files differ
diff --git a/macros/latex/contrib/dynbrackets/README.md b/macros/latex/contrib/dynbrackets/README.md
new file mode 100644
index 0000000000..3a256937b7
--- /dev/null
+++ b/macros/latex/contrib/dynbrackets/README.md
@@ -0,0 +1,20 @@
+# dynbrackets
+LaTeX package that implements commands to simplify the syntax of calling dynamic math brackets
+
+Version: v1.0.0
+
+Copyright (c) 2021 Miguel R. Clemente <miguel.clemente@dem.uc.pt>
+
+This file may be distributed and/or modified under the conditions of
+the LaTeX Project Public License, either version 1.3 of this license
+or (at your option) any later version. The latest version of this
+license is in:
+
+http://www.latex-project.org/lppl.txt
+
+and version 1.3 or later is part of all distributions of LaTeX version
+2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is Miguel R. Clemente. \ No newline at end of file
diff --git a/macros/latex/contrib/dynbrackets/dynbrackets.dtx b/macros/latex/contrib/dynbrackets/dynbrackets.dtx
new file mode 100644
index 0000000000..4b0b8dc006
--- /dev/null
+++ b/macros/latex/contrib/dynbrackets/dynbrackets.dtx
@@ -0,0 +1,168 @@
+% \iffalse meta-comment
+%
+% Copyright (C) 2021 by Miguel R. Clemente <miguel.clemente@dem.uc.pt>
+% ---------------------------------------------------------------------------
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Miguel R. Clemente.
+%
+% This work consists of the files dynbrackets.dtx and dynbrackets.ins
+% and the derived filebase dynbrackets.sty.
+%
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{dynbrackets.dtx}
+%</driver>
+%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
+%<package>\ProvidesPackage{dynbrackets}
+%<*package>
+ [2021/04/01 v1.0.0 Simplifies the syntax of calling dynamic math brackets]
+%</package>
+%
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{dynbrackets}[2021/04/01]
+\usepackage{amsmath}
+\usepackage{indentfirst}
+\usepackage{booktabs}
+\usepackage{caption}
+\EnableCrossrefs
+\CodelineIndex
+\RecordChanges
+\begin{document}
+ \DocInput{dynbrackets.dtx}
+ \PrintChanges
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{122}
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+%
+% \changes{v1.0.0}{2021/04/01}{Public release}
+%
+% \DoNotIndex{\newcommand,\newenvironment}
+%
+% \providecommand*{\url}{\texttt}
+% \GetFileInfo{dynbrackets.dtx}
+% \title{The \textsf{dynbrackets} package}
+% \author{Miguel R. Clemente \\ \url{miguel.clemente@dem.uc.pt}}
+% \date{\fileversion~from \filedate}
+%
+% \maketitle
+%
+% \section{Introduction}
+%
+% This package simplifies the syntax of calling dynamic math brackets.
+
+% Dynamic math brackets builds on \verb!\left! and \verb!\right! syntax of deploying size sensible brackets in math mode.
+
+% \section{Usage}
+% \verb!dynbrackets! implements commands to the math braces and parentheses found in Table~\ref{Tab:MathBrackets}. Note that \LaTeX markup on the table doesn't correspond to dynamic brackets, just the brackets themselves.
+%
+% To have the brackets change size dynamically with the content one would have to use \verb!\left! and \verb!\right! on each bracket respectively. To simplify the syntax, \verb!dynbrackets! implements a command for each bracket pair. When calling a dynamic bracket, content inside the bracket will automatically be in math mode.
+%
+% \begin{table}[]
+% \centering
+% \captionsetup{justification=centering}
+% \caption{List of Math Brackets}
+% \label{Tab:MathBrackets}
+% \begin{tabular}{@{} l c c c @{}}
+% \toprule
+% \toprule
+% \textbf{Type} & \textbf{\LaTeX} & \verb!dynbrackets! & \textbf{Renders as} \\ \midrule
+% Parentheses; round brackets & \verb!( x+y )! & \verb!\dbr{}! & $( x+y )$ \\
+% Brackets; square brackets & \verb![ x+y ]! & \verb!\dbs{}! & $[ x+y ]$ \\
+% Braces; curly brackets & \verb!\{ x+y\}! & \verb!\dbc{}! & $\{ x+y \}$ \\
+% Angle brackets & \verb!\langle x+y \rangle! & \verb!\dba{}! & $\langle x+y \rangle$ \\
+% Pipes; vertical bars & \verb!| x+y |! & \verb!\dbp{}! & $| x+y |$ \\
+% Double pipes & \verb!\| x+y \|! & \verb!\dbdp{}! & $\| x+y \|$\\ \bottomrule
+% \bottomrule
+% \end{tabular}
+% \end{table}
+%
+% \StopEventually{}
+%
+% \section{Implementation}
+%
+% \iffalse
+%<*package>
+% \fi
+%
+% \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{dynbrackets}
+[2021/04/01 v1.0.0 Simplifies the syntax of calling dynamic math brackets]
+% \end{macrocode}
+%
+% \begin{macro}{\dbr}
+% \begin{macrocode}
+\newcommand{\dbr}[1]{\ensuremath{\left(#1\right)}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\dbs}
+% \begin{macrocode}
+\newcommand{\dbs}[1]{\ensuremath{\left[#1\right]}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\dbc}
+% \begin{macrocode}
+\newcommand{\dbc}[1]{\ensuremath{\left\{#1\right\}}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\dba}
+% \begin{macrocode}
+\newcommand{\dba}[1]{\ensuremath{\left\langle#1\right\rangle}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\dbp}
+% \begin{macrocode}
+\newcommand{\dbp}[1]{\ensuremath{\left|#1\right|}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\dbdp}
+% \begin{macrocode}
+\newcommand{\dbdp}[1]{\ensuremath{\left\|#1\right\|}}
+% \end{macrocode}
+% \end{macro}
+%
+\endinput
+% \end{macrocode}
+%
+% \iffalse
+%</package>
+% \fi
+%
+% \Finale
+\endinput
diff --git a/macros/latex/contrib/dynbrackets/dynbrackets.ins b/macros/latex/contrib/dynbrackets/dynbrackets.ins
new file mode 100644
index 0000000000..6dbf699be3
--- /dev/null
+++ b/macros/latex/contrib/dynbrackets/dynbrackets.ins
@@ -0,0 +1,63 @@
+%% dynbrackets.ins
+%% Copyright (C) 2021 by Miguel R. Clemente
+%%
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3 of this license or (at your option) any later
+%% version. The latest version of this license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Miguel R. Clemente.
+%%
+
+\input docstrip.tex
+\keepsilent
+
+\usedir{tex/latex/dynbrackets}
+
+\preamble
+
+This is a generated file.
+
+Copyright (C) 2021 by Miguel R. Clemente
+
+This file may be distributed and/or modified under the conditions of
+the LaTeX Project Public License, either version 1.3 of this license
+or (at your option) any later version. The latest version of this
+license is in:
+
+ http://www.latex-project.org/lppl.txt
+
+and version 1.3 or later is part of all distributions of LaTeX version
+2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is Miguel R. Clemente.
+
+\endpreamble
+
+\generate{\file{dynbrackets.sty}{\from{dynbrackets.dtx}{package}}}
+
+\obeyspaces
+\Msg{*************************************************************}
+\Msg{* *}
+\Msg{* To finish the installation you have to move the following *}
+\Msg{* file into a directory searched by TeX: *}
+\Msg{* *}
+\Msg{* dynbrackets.sty *}
+\Msg{* *}
+\Msg{* To produce the documentation run the file dynbrackets.dtx *}
+\Msg{* through LaTeX. *}
+\Msg{* *}
+\Msg{* Happy TeXing! *}
+\Msg{* *}
+\Msg{*************************************************************}
+
+\endbatchfile \ No newline at end of file
diff --git a/macros/latex/contrib/dynbrackets/dynbrackets.pdf b/macros/latex/contrib/dynbrackets/dynbrackets.pdf
new file mode 100644
index 0000000000..e435f9acbd
--- /dev/null
+++ b/macros/latex/contrib/dynbrackets/dynbrackets.pdf
Binary files differ
diff --git a/macros/latex/contrib/easybook/README.md b/macros/latex/contrib/easybook/README.md
index e33ecae209..0424a5b29f 100644
--- a/macros/latex/contrib/easybook/README.md
+++ b/macros/latex/contrib/easybook/README.md
@@ -2,18 +2,6 @@
Easybook is a minimalist style template based on the ctexbook book document class. It is mainly suitable for typesetting Chinese books or notes, and can even be slightly modified to become a dissertation template. Some commonly used macro packages have been loaded to achieve general typesetting requirements. Although some details have been considered as much as possible, there are still deficiencies. This project is currently under active development. If you have good suggestions, please feel free to give feedback.
-## Compilation method
-
-Please use the UTF8 encoding and enter the following command on the command line
-
-```
-xelatex -shell-escape easybook-demo
-bibtex easybook-demo
-makeindex easybook-demo
-xelatex -shell-escape easybook-demo
-xelatex -shell-escape easybook-demo
-```
-
## Reference documents
- [CTeX macro collection manual](https://ctan.org/pkg/ctex)
@@ -34,18 +22,6 @@ This work may be distributed and/or modified under the conditions of the CC-BY 4
easybook 是基于 ctexbook 书籍文档类的极简风格模板。它主要适用于中文书籍或笔记的排版,甚至可以稍作调整成为学位论文模板。已加载一些常用的宏包以实现一般的排版要求。尽管已尽可能多地考虑了一些细节,但仍然存在不足。目前本项目处于活跃的开发状态,如果您有好的建议欢迎进行反馈。
-## 编译方法
-
-请使用 UTF8 编码,并在命令行上输入以下命令
-
-```
-xelatex -shell-escape easybook-demo
-bibtex easybook-demo
-makeindex easybook-demo
-xelatex -shell-escape easybook-demo
-xelatex -shell-escape easybook-demo
-```
-
## 参考文档
- [CTeX 宏集手册](https://ctan.org/pkg/ctex)
diff --git a/macros/latex/contrib/easybook/doc/easybook-demo.pdf b/macros/latex/contrib/easybook/doc/easybook-demo.pdf
index 3c9dc0400a..3698e95626 100644
--- a/macros/latex/contrib/easybook/doc/easybook-demo.pdf
+++ b/macros/latex/contrib/easybook/doc/easybook-demo.pdf
Binary files differ
diff --git a/macros/latex/contrib/easybook/doc/easybook-demo.tex b/macros/latex/contrib/easybook/doc/easybook-demo.tex
index ada6feaa91..cd8eefc46d 100644
--- a/macros/latex/contrib/easybook/doc/easybook-demo.tex
+++ b/macros/latex/contrib/easybook/doc/easybook-demo.tex
@@ -99,7 +99,7 @@
\url{https://latexstudio.net} \\
\url{https://gitee.com/texl3/easybook}\thanks{Gitee为项目的主要发布地址。}
}
-\date{2021/03/31\hskip\ccwd\relax v1.24a}
+\date{2021/04/01\hskip\ccwd\relax v1.24b}
\frontmatter[roman]
\maketitle
diff --git a/macros/latex/contrib/easybook/doc/easybook.pdf b/macros/latex/contrib/easybook/doc/easybook.pdf
index e288be0575..ffdc2ab9d5 100644
--- a/macros/latex/contrib/easybook/doc/easybook.pdf
+++ b/macros/latex/contrib/easybook/doc/easybook.pdf
Binary files differ
diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx
index 6578c6d5fe..05a6d65991 100644
--- a/macros/latex/contrib/easybook/easybook.dtx
+++ b/macros/latex/contrib/easybook/easybook.dtx
@@ -53,27 +53,9 @@ The latest version of this license is in
% \changes{v1.20}{2021/01/09}{模板更改为使用 CC-BY 许可协议。}
% \changes{v1.23}{2021/03/19}{修复在 \pkg{ctex} v2.5.6 更新后 \cls{easybook} 与 \pkg{hyperref} 冲突问题。}
%
-% \CheckSum{0}
-%
-% \CharacterTable
-% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-% Digits \0\1\2\3\4\5\6\7\8\9
-% Exclamation \! Double quote \" Hash (number) \#
-% Dollar \$ Percent \% Ampersand \&
-% Acute accent \' Left paren \( Right paren \)
-% Asterisk \* Plus \+ Comma \,
-% Minus \- Point \. Solidus \/
-% Colon \: Semicolon \; Less than \<
-% Equals \= Greater than \> Question mark \?
-% Commercial at \@ Left bracket \[ Backslash \\
-% Right bracket \] Circumflex \^ Underscore \_
-% Grave accent \` Left brace \{ Vertical bar \|
-% Right brace \} Tilde \~}
-%
% \title{\sffamily easybook书籍文档类}
% \author{瞿毅}
-% \date{2021/03/31\hskip\ccwd\relax v1.24a\thanks{\url{https://gitee.com/texl3/easybook}}}
+% \date{2021/04/01\hskip\ccwd\relax v1.24b\thanks{\url{https://gitee.com/texl3/easybook}}}
% \maketitle
% \begin{abstract}
% \cls{easybook} 是基于 \cls{ctexbook} 书籍文档类创建以极简为风格的模板,可以看作对 \cls{ctexbook} 的进一步包装。虽然\CTeX 文档类提供了较好的中文支持,但想实现个性化功能一般需要在其基础上载入更多宏包来定制。\cls{easybook} 考虑了一些细节并载入一些常用宏包实现一般的排版需求,它适用于排版中英文书籍或笔记,甚至可稍加调整成为学位论文模板。
@@ -197,7 +179,7 @@ The latest version of this license is in
% \begin{syntax}
% \tn{ctexset}\marg{键值列表}
% \end{syntax}
-% \cls{easybook} 扩展了\CTeX 宏集\LaTeX 3风格键值的通用控制命令 \tn{ctexset},接口选项同样用它设置, 原有的键值列表仍然可用。本文档类目前有九个模块用于完成排版的常规功能,如下表所示,它们也是相关接口的命令名
+% \cls{easybook} 扩展了\CTeX 宏集\LaTeX 3风格键值的通用控制命令 \tn{ctexset},接口选项同样可用它设置, 原有的键值列表仍然可用。本文档类目前有九个模块用于实现常规的排版功能,如下表所示,它们既是统一接口 \tn{ctexset} 的路径,也是相关模块的接口命令名
% \begin{center}
% \begin{tabular}{*{5}{c}}
% \toprule
@@ -498,9 +480,9 @@ The latest version of this license is in
% {
% head-foot =
% {
-% \easyhead[ER]{\leftmark}
-% \easyhead[OL]{\rightmark}
-% \easyhead[EL,OR]{\textbf{\thepage}}
+% \easyhead[ER]{\leftmark}
+% \easyhead[OL]{\rightmark}
+% \easyhead[EL,OR]{\textbf{\thepage}}
% },
% sec-mark = {\CTEXthesection\hspace{0.5\ccwd}},
% headrule = {\hrule width \textwidth height 1pt}
@@ -796,7 +778,7 @@ The latest version of this license is in
%<*class>
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/03/31}{1.24a}{beta}
+\ProvidesExplClass{easybook}{2021/04/01}{1.24b}{beta}
\cs_generate_variant:Nn \keys_define:nn {nx}
\cs_generate_variant:Nn \int_to_arabic:n {v}