• Re: S equation numbering

    From David Dalton@21:1/5 to All on Sat Sep 14 20:07:53 2024
    On Sep 14, 2024, db wrote
    (in article <vc460a$1gk1b$[email protected]>):

    I will be writing a text meant as Supplementary
    Material, including equations. How do ensure that
    the equation numbers are S1, S2, etc?

    Shouldn’t it work to

    \setcounter{equation}{0}
    \renewcommand{\theequation}{S\arabic{equation}}

    ?

    --
    David Dalton [email protected] https://www.nfld.com/~dalton (home page) https://www.nfld.com/~dalton/dtales.html Salmon on the Thorns (mystic page) “And the cart is on a wheel; And the wheel is on a hill;
    And the hill is shifting sand; And inside these laws we stand" (Ferron)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ulrich D i e z@21:1/5 to All on Sun Sep 15 17:29:17 2024
    db wrote:

    I will be writing a text meant as Supplementary
    Material, including equations. How do ensure that
    the equation numbers are S1, S2, etc?

    What TeX format do you intend to use?

    Plain TeX?
    OpTeX?
    LaTeX 2e? (What documentclass? What additional packages?)

    With LaTeX2e s.th. like: \renewcommand\theequation{S\arabic{equation}}
    When using the package hyperref, you may wish to do redefine
    \theHequation as well.


    Sincerely

    Ulrich

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dr Engelbert Buxbaum@21:1/5 to All on Wed Sep 18 14:48:39 2024
    In article <[email protected]l-
    september.org>, [email protected] says...

    On Sep 14, 2024, db wrote
    (in article <vc460a$1gk1b$[email protected]>):

    I will be writing a text meant as Supplementary
    Material, including equations. How do ensure that
    the equation numbers are S1, S2, etc?

    Shouldn’t it work to

    \setcounter{equation}{0}
    \renewcommand{\theequation}{S\arabic{equation}}

    ?

    Just of the top of my head, without much testing: It should be possible
    to redefine the "Appendix"-string as "Supplement". Everything should
    work automatically from there. \renewcommand{\appendixname}{Supplement}
    or so

    --
    DIN EN ISO 9241 Ergonomic requirements for office work with visual
    display terminals (VDTs) - Part 13: User guidance
    9.5.3 Error messages should convey what is wrong, what corrective
    actions can be taken, and the cause of the error.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)