summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mhequ
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-08-27 22:06:01 +0000
committerKarl Berry <karl@freefriends.org>2015-08-27 22:06:01 +0000
commitdb4fd443694f20540291b70e4a74b5e9720ed6ea (patch)
treee732bba4e1355c60fea3c80e85bf48c91767cee7 /Master/texmf-dist/doc/latex/mhequ
parent2509d23a392a22006da62bd20f982f36fd391a63 (diff)
mhequ (27aug15)
git-svn-id: svn://tug.org/texlive/trunk@38224 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/mhequ')
-rw-r--r--Master/texmf-dist/doc/latex/mhequ/README19
-rw-r--r--Master/texmf-dist/doc/latex/mhequ/example.pdfbin45071 -> 98452 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mhequ/example.tex35
3 files changed, 41 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/mhequ/README b/Master/texmf-dist/doc/latex/mhequ/README
new file mode 100644
index 00000000000..66890d3eefb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mhequ/README
@@ -0,0 +1,19 @@
+mhequ package by Martin Hairer
+Version 1.7 dated 25/08/2015
+
+This package provides an easy way to typeset multilign / multicolumn
+equations and to add subequation numbering. See the example and the
+comments at the beginning of mhequ.sty for usage instructions.
+
+Files included in the package:
+====== Documentation ======
+
+README
+example.pdf
+example.tex
+
+===== Files for LaTeX =====
+
+mhequ.sty
+
+===========================
diff --git a/Master/texmf-dist/doc/latex/mhequ/example.pdf b/Master/texmf-dist/doc/latex/mhequ/example.pdf
index 136b1f5b578..d6813c2b839 100644
--- a/Master/texmf-dist/doc/latex/mhequ/example.pdf
+++ b/Master/texmf-dist/doc/latex/mhequ/example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/mhequ/example.tex b/Master/texmf-dist/doc/latex/mhequ/example.tex
index f8b49eb0b19..c0eca63f65c 100644
--- a/Master/texmf-dist/doc/latex/mhequ/example.tex
+++ b/Master/texmf-dist/doc/latex/mhequ/example.tex
@@ -11,9 +11,14 @@
\begin{document}
-\section*{Use of ``mhequ.sty'' (v1.6.1)}
+\title{Using the mhequ package}
+\author{Martin Hairer}
+\date{Version 1.7, \today}
+\maketitle
+\thispagestyle{empty}
+
\label{mySec}
-A simple labelled equation:
+Here is a simple labelled equation:
\begin{equ}[onelab]
\sum_{i=1}^5 X_i^j X^j_i = y^j \;.
\end{equ}
@@ -21,6 +26,8 @@ Removing or adding the label does not require a change of environment:
\begin{equ}
\sum_{i=1}^5 X_i^j X^j_i = y^j \;.
\end{equ}
+However, if the option \texttt{numberall} is set, then every single
+equation is numbered.
A simple list of equations can be displayed either with one number
per equation
\begin{equs}
@@ -44,20 +51,22 @@ Let us make a first group:
g(x) &= \cos(x) - x^2 + 4\;,\label{e:g}\\[3mm]
h(x) &= f(x) + g(x) -3\;. \label{e:h}
\end{equs}
-You can refer to the whole block \eref{otherlabel} or to one
+One can refer to the whole block \eref{otherlabel} or to one
line, like \eref{e:f} for example.
-You can use any tag you like with the \texttt{\string\tag}
+It is possible to use any tag one likes with the \texttt{\string\tag}
command
\begin{equ}[mylabel]
x = y\;. \tag{$\star$}
\end{equ}
-Of course, you can also refer to it as usual: \eref{mylabel}.
-You can mix \texttt{mhequ} with the usual \texttt{equation} environment. (But why would you?)
+Such an equation can be referred to as usual: \eref{mylabel}.
+Of course, \texttt{mhequ} can be used in conjunction with the usual \texttt{equation} environment,
+but \texttt{mhequ} is great, so why would you want to do this?
\begin{equation}
x=y+z
\end{equation}
-If you want to typeset several columns of equations, it is quite easy:
-\begin{equs}[3]
+Typesetting several columns of equations is quite easy and doesn't require 10 different environments
+with awkward names:
+\begin{equs}
x&=y+z &\qquad a&= b+c &\qquad x&= v \label{laba}\\
x&=y+z &\qquad a&= b+c &\qquad x&= u+1\tag{\ref{laba}'}\label{labtag}\\
\multicol{4}{\text{(multicol)}} &\qquad x&=y \\
@@ -66,18 +75,18 @@ If you want to typeset several columns of equations, it is quite easy:
\intertext{and also (this is some \texttt{\string\intertext})}
x&=y+z &\qquad a&= (b+c)^2 - 5 &\qquad \ell&= m\label{labb}
\end{equs}
-You can even extend the block \eref{otherlabel} much later like
+We can even extend the block \eref{otherlabel} much later like
\minilab{otherlabel}
-\begin{equs}[3]
+\begin{equs}
x&=y+z &\quad x&=y+z &\quad f(x)&= b\label{e:x1}\\
x&=y+z & x&=y+z &\quad g(x)&= b\label{e:x2} \\
\multicol{6}{\sin^2 x + \cos^2 x = 1} \label{e:x3}
\end{equs}
-You can also change the type of the subnumbering and use the
-\texttt{\string\text} command without having to load \texttt{amstext}. Like for example
+It is possible to change the type of subnumbering and to use the
+\texttt{\string\text} command without having to load \texttt{amstext}, like so
\setlabtype{Alph}
\minilab{alab}
-\begin{equs}[2]
+\begin{equs}
I_1 &= \int_a^b g(x)\,dx\;,&\quad&\text{(First equation)} \label{e:1}\\
I_2 &= \int_a^b g(x^2-1)\,dx\;.&\quad&\text{(Second equation)} \label{e:2}
\end{equs}