summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ncclatex/nccold.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/ncclatex/nccold.sty
Initial commit
Diffstat (limited to 'macros/latex/contrib/ncclatex/nccold.sty')
-rw-r--r--macros/latex/contrib/ncclatex/nccold.sty37
1 files changed, 37 insertions, 0 deletions
diff --git a/macros/latex/contrib/ncclatex/nccold.sty b/macros/latex/contrib/ncclatex/nccold.sty
new file mode 100644
index 0000000000..8cf6bc70e9
--- /dev/null
+++ b/macros/latex/contrib/ncclatex/nccold.sty
@@ -0,0 +1,37 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{nccold}
+ [2002/02/19 v1.01 Obsolete NCC-LaTeX Commands (NCC)]
+\RequirePackage{nccboxes}
+\RequirePackage{nccmath}[2002/02/19]
+%
+% This package contains commands of NCC-LaTeX which are not remcommended
+% for use because new equivalents exist or commands depend on dvi-driver.
+%
+% \eref in NCC-LaTeX is equivalent to \eqref in AMS-LaTeX.
+% \no in NCC-LaTeX is equivalent to \tag* in AMS-LaTeX.
+% \Eq, \Eqs, and \Eqalign are equivalent to \eq*, \eqs*, and \eqalign*.
+%
+\newcommand{\eref}{\eqref}
+\newcommand{\no}{\tag*}
+\newcommand{\Eq}{\eq*}
+\newcommand{\Eqs}{\eqs*}
+\newcommand{\Eqalign}{\eqalign*}
+%
+% Support for emlines (emTeX dvi-driver specific commands)
+%
+\newcommand*{\emlinewidth}[1]{\special{em:linewidth #1}}
+\newcommand*{\emline}[6]{%
+ \put(#1,#2){\special{em:moveto}}%
+ \put(#3,#4){\special{em:lineto}}%
+}
+%
+% Use \tstrut, \bstrut, and \tbstrut instead of the following commands:
+%
+% \tbox{TEXT} = \addbox{\NCC@strutsep}{0mm}{TEXT}
+% \bbox{TEXT} = \addbox{0mm}{\NCC@strutsep}{TEXT}
+% \tbbox{TEXT} = \addbox{\NCC@strutsep}{\NCC@strutsep}{TEXT}
+%
+\def\tbox{\NCC@setstrut{\addbox\NCC@strutsep\z@}\z@}
+\def\bbox{\NCC@setstrut{\addbox\z@\NCC@strutsep}\z@}
+\def\tbbox{\NCC@setstrut{\addbox\NCC@strutsep\NCC@strutsep}\z@}
+\endinput