summaryrefslogtreecommitdiff
path: root/info/examples/ltt/eqno.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 /info/examples/ltt/eqno.sty
Initial commit
Diffstat (limited to 'info/examples/ltt/eqno.sty')
-rw-r--r--info/examples/ltt/eqno.sty14
1 files changed, 14 insertions, 0 deletions
diff --git a/info/examples/ltt/eqno.sty b/info/examples/ltt/eqno.sty
new file mode 100644
index 0000000000..cf5ec30567
--- /dev/null
+++ b/info/examples/ltt/eqno.sty
@@ -0,0 +1,14 @@
+% EQNO.STY. Erweitert die Formelnumerierung um ein
+% beliebiges Zeichen, das referiert werden kann.
+\newcounter{oldeqno}
+
+\newcommand{\startquote}{
+ \setcounter{oldeqno}{\value{equation}}}
+
+\newcommand{\quotedeqno}[1]{
+ \let\oldequation\theequation
+ \renewcommand{\theequation}{\oldequation#1}
+ \setcounter{equation}{\value{oldeqno}}}
+
+\newcommand{\normaleqno}{
+ \let\theequation\oldequation} \ No newline at end of file