dva krat navestie

Rudo Blasko beerb at frcatel.utc.sk
Fri Mar 19 14:19:02 CET 1999


> > Zdravim,
> > potrebujem v latexu (resp. v AMSlatexu) oznacit
> > dve rovnice rovnakym cislom,
> > skusal som
> > \tag{\ref{navestie}}
> > ale vynadal mi,
> > aj ked som namiesto tag pouzil leqno.
> > knihy pisu \tag, ale mne to nefunguje.
> > Moze mi niekto poradit. Vdaka.
>
> ja som sice \ref nikdy nepotreboval, ale toto by malo fungovat a to tak, ze
> na mieste, kde chcete rovnake cisla rovnic napisete \toiste. Znizi sa
> premenna \theequation o jeden a tym padom bude to iste dva krat.
>
> Zdravi
>                   Ladislav Bitto
>
>
> \def\zmenarovnic#1#2#3{\def\theequation{#1\arabic{equation}#3}
> \setcounter{equation}{#2}}
> \newcount\ja
> \def\toiste{\ja=\theequation \advance\ja by -1 \zmenarovnic{}{\ja}{} }
>
> \begin{equation}D_1+\alpha =K \end{equation}
> \begin{equation}D_1+\alpha =K \end{equation}
> \toiste
> \begin{equation}D_1+\alpha =K \end{equation}
> \begin{equation}D_1+\alpha =K \end{equation}
> \toiste
> \begin{equation}D_1+\alpha =K \end{equation}
> \begin{equation}D_1+\alpha =K \end{equation}
> \begin{equation}D_1+\alpha =K \end{equation}
> \begin{equation}D_1+\alpha =K \end{equation}
> \begin{equation}D_1+\alpha =K \end{equation}
>

Vdaka, toto funguje, ale ja to potrebujem trochu
inac. Medzi dvoma rovnicami s rovnakym cislom
moze byt aj desat inych, ktore cislujeme dalej
a navyse, ked prvu rovnicu oznacim napr. (1a),
chcel by som aj tu dalsiu oznacit (1a).

Dakujem
         R.Blasko

P.S. este sa vratim k otazke, ako oznacit prvu
rovnicu (1a), ked mi tag nefunguje?






More information about the csTeX mailing list