From abafe1d7d1ca92c9645e291388958bfb4d206ac8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 1 May 2008 21:35:11 +0000 Subject: mhequ update (1may08) git-svn-id: svn://tug.org/texlive/trunk@7789 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/mhequ/example.dvi | Bin 4208 -> 0 bytes Master/texmf-dist/doc/latex/mhequ/example.pdf | Bin 0 -> 45071 bytes Master/texmf-dist/doc/latex/mhequ/example.tex | 25 +++++++++++-------------- 3 files changed, 11 insertions(+), 14 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/mhequ/example.dvi create mode 100644 Master/texmf-dist/doc/latex/mhequ/example.pdf (limited to 'Master/texmf-dist/doc/latex/mhequ') diff --git a/Master/texmf-dist/doc/latex/mhequ/example.dvi b/Master/texmf-dist/doc/latex/mhequ/example.dvi deleted file mode 100644 index 0536617185a..00000000000 Binary files a/Master/texmf-dist/doc/latex/mhequ/example.dvi and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/mhequ/example.pdf b/Master/texmf-dist/doc/latex/mhequ/example.pdf new file mode 100644 index 00000000000..136b1f5b578 Binary files /dev/null and b/Master/texmf-dist/doc/latex/mhequ/example.pdf differ diff --git a/Master/texmf-dist/doc/latex/mhequ/example.tex b/Master/texmf-dist/doc/latex/mhequ/example.tex index c5b39f293b5..f8b49eb0b19 100644 --- a/Master/texmf-dist/doc/latex/mhequ/example.tex +++ b/Master/texmf-dist/doc/latex/mhequ/example.tex @@ -11,15 +11,13 @@ \begin{document} -\section*{Use of "mhequ.sty" (v1.5)} +\section*{Use of ``mhequ.sty'' (v1.6.1)} \label{mySec} A simple labelled equation: \begin{equ}[onelab] \sum_{i=1}^5 X_i^j X^j_i = y^j \;. \end{equ} -The name of the label at the right of the equation is generated by -the \texttt{draft} option of the package. Without label, one gets -the same: +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} @@ -30,14 +28,14 @@ per equation h(x) &= f(x) + g(x) -3\;, \label{e:equ3} \end{equs} or with one number for the whole list -\begin{equa}[e:block] +\begin{equs}[e:block] f(x) &= \sin(x) + 1\;, \\ - h(x) &= f(x) + g(x) -3\;. -\end{equa} -Of course, it can have no numbering at all. + h(x) &= f(x) + g(x) -3\;, +\end{equs} +using only a very small modification in the syntax. Of course, it can also have no number at all: \begin{equs} f(x) &= \sin(x) + 1\;, \\ - h(x) &= f(x) + g(x) -3\;, + h(x) &= f(x) + g(x) -3\;. \end{equs} Let us make a first group: \minilab{otherlabel} @@ -51,11 +49,10 @@ line, like \eref{e:f} for example. You can use any tag you like with the \texttt{\string\tag} command \begin{equ}[mylabel] - x = y\;. \tag{tag} + x = y\;. \tag{$\star$} \end{equ} -Of course, you can also refer to \eref{mylabel}. -You can use the usual \texttt{equation} environment, but it will not -display its label. +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?) \begin{equation} x=y+z \end{equation} @@ -77,7 +74,7 @@ You can even extend the block \eref{otherlabel} much later like \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 loading \texttt{amstext}. Like for example +\texttt{\string\text} command without having to load \texttt{amstext}. Like for example \setlabtype{Alph} \minilab{alab} \begin{equs}[2] -- cgit v1.2.3