summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-01-17 16:30:43 +0000
committerKarl Berry <karl@freefriends.org>2024-01-17 16:30:43 +0000
commit31fe966e09508db1864ad11ca0a7069a29e513af (patch)
treebeedc670f5d8798b3f9e4f54049d552d8cf27825 /Master/texmf-dist/doc
parentb4d149ff60112869b17ba1f395cd9bc649bcc5d4 (diff)
medmath (15jan24)
git-svn-id: svn://tug.org/texlive/trunk@69466 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/medmath/README3
-rw-r--r--Master/texmf-dist/doc/latex/medmath/medmath.pdfbin0 -> 24585 bytes
-rw-r--r--Master/texmf-dist/doc/latex/medmath/medmath.tex82
3 files changed, 85 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/medmath/README b/Master/texmf-dist/doc/latex/medmath/README
new file mode 100644
index 00000000000..e7bebf7d9d3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/medmath/README
@@ -0,0 +1,3 @@
+Package: Better medium-size math commands
+Author: Jianrui Lyu <tolvjr@163.com>
+License: The LaTeX Project Public License 1.3c \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/medmath/medmath.pdf b/Master/texmf-dist/doc/latex/medmath/medmath.pdf
new file mode 100644
index 00000000000..db30b6bf8f3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/medmath/medmath.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/medmath/medmath.tex b/Master/texmf-dist/doc/latex/medmath/medmath.tex
new file mode 100644
index 00000000000..f57e2133d38
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/medmath/medmath.tex
@@ -0,0 +1,82 @@
+% -*- coding: utf-8 -*-
+\documentclass[oneside,11pt]{article}
+\usepackage[a4paper,margin=2cm]{geometry}
+
+\newcommand*{\myversion}{2024D}
+\newcommand*{\mydate}{Version \myversion\ (\the\year-\mylpad\month-\mylpad\day)}
+\newcommand*{\mylpad}[1]{\ifnum#1<10 0\the#1\else\the#1\fi}
+
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{4pt plus 1pt minus 1pt}
+
+\usepackage{enumerate}
+\usepackage{codehigh}
+\usepackage{hyperref}
+\hypersetup{
+ colorlinks=true,
+ urlcolor=blue3,
+ linkcolor=green3,
+}
+
+%% The \oiint operator is defined with utopia font
+\usepackage[utopia]{mathdesign}
+
+\usepackage[mediummath]{nccmath}
+\usepackage{medmath}
+\booltrue{mdm@bare}
+
+\begin{document}
+
+\title{\textsf{\color{green3}The \texttt{medmath} package}}
+\author{Jianrui Lyu (tolvjr@163.com)}
+\date{\mydate}
+\maketitle
+
+\section{The \texttt{mediummath} option in \texttt{nccmath} package}
+
+There are several problems with \texttt{mediummath} option in \texttt{nccmath} package.
+
+\begin{enumerate}
+ \item The big operators in superscripts and subscripts are too large.
+\begin{demohigh}
+\[A^{\sum_{0}^{1}x}=B\]
+\end{demohigh}
+ \item The definite integrals inside \texttt{cases} environment sometimes cause infinite loops.
+\begin{codehigh}
+\[\begin{cases}
+ a & \int_1^t
+\end{cases}\]
+\end{codehigh}
+ \item The \verb!\oiint! operators are not scaled to medium size.
+\begin{demohigh}
+\[\oiint_{\Sigma}xyzdS=\frac{\sqrt{3}}{120}\]
+\end{demohigh}
+\end{enumerate}
+
+\section{The \texttt{medmath} package}
+
+\makeatletter
+\mdm@activate@all
+\makeatother
+
+The \texttt{medmath} package started as a fork of \texttt{mediummath} code in \texttt{nccmath}
+package, aiming to provide more stable and flexible medium-size math commands.
+
+\begin{enumerate}
+ \item The big operators in superscripts and subscripts are in medium size.
+\begin{demohigh}
+\[A^{\sum_{0}^{1}x}=B\]
+\end{demohigh}
+ \item The definite integrals inside \texttt{cases} environment always work.
+\begin{demohigh}
+\[\begin{cases}
+ a & \int_1^t
+\end{cases}\]
+\end{demohigh}
+ \item The \verb!\oiint! operators are scaled to medium size.
+\begin{demohigh}
+\[\oiint_{\Sigma}xyzdS=\frac{\sqrt{3}}{120}\]
+\end{demohigh}
+\end{enumerate}
+
+\end{document}