[texhax] if related def

Popescu Cezar pc_mario at email.ro
Wed Aug 27 01:20:01 CEST 2003


hello,

i got a small problem: i have a counter, let's say ``Cap'',
and a command that uses this counter, let's say \parte. the
Cap is stepped externally. what i want is this:
    - if counter Cap equals 1 then \parte should typeset
      ``Partea I'';
    - if counter Cap greater than 1, then \parte should
      typeset ''Partea a~\Roman{Cap}-a''.
any suggestion about how to define \parte, please?

thank you



-------------
   piticu 8)
-------------

______________________________________________________________________
Do you want a free e-mail for life ? Get it at http://www.email.ro/



More information about the texhax mailing list