diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/examples/ltt/eqno.sty |
Initial commit
Diffstat (limited to 'info/examples/ltt/eqno.sty')
-rw-r--r-- | info/examples/ltt/eqno.sty | 14 |
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 |