Re: Package siunitx Error: Unit \rem already defined!



On Oct 22, 7:49 am, Hongyi Zhao <hongyi.z...@xxxxxxxxx> wrote:
On Oct 22, 12:23  AM +0800, Joseph Wright<joseph.wri...@xxxxxxxxxxxxxxxxxxx> wrote:

[snip]



The unit "rem" is defined by si-addn.cfg:

\newunit{\rem}{rem}

Now, I've redefine the command \degree used by my to \mydegree then I
load the sinuitx like this and it works well:

\usepackage[noload={addn}]{siunitx}



So either:
1) Use \renewunit

Do you mean what?  From where can I redefine this command and how to
load the package siunitx in preamble?

Ignore that: I was thinking about a slightly different issue.

or
2) Don't load si-addn.cfg (\usepackage[noload=addn]{siunitx}).

If I don't load this confiure file, does it mean that some predefined
functions by it will ber unavailable, if true, how to workaround this
issue with unloading this file?

Each config file sets up certain units. They are all listed in the
documentation in separate tables, so if you look at the information
for the "addn" table you will see what units are missed out. If you
then need them, you can define them manually later.

An alternative:

\documentclass{CASthesis}
\let\CASrem\rem
\let\rem\undefined
\let\CASdegree\degree
\let\degree\undefined
\usepackage{siunitx}
....

should work as it renames the problematic macros from the document
class.

As I said, I'll alter the config files so that this won't be an issue
for later releases.
--
Joseph Wright

.



Relevant Pages

  • Re: Usernames on desktop wallpaper
    ... You have to use a login script to do this, ... > Usernames starting with '2005' load the config file from ... > All users have the same logon script so was thinking of a command such as ...
    (microsoft.public.windows.server.networking)
  • Re: IIS-bug - CGI-applikation terminates when loading standard DLL
    ... Hit refresh and the page will load fine second time round. ... not executed with the CreateProcessAsUserAPI call by IIS anymore. ... Here is a description of how to set the metabase property which control ... If the command is successful, it will tell you it updated the setting, ...
    (microsoft.public.inetserver.iis)
  • Re: UserForm Is A Class
    ... I have a simple userform with one command button. ... I see the behaviour that you point out about Load and Show and wil then ... Load myForm ... the Unload is done implictly when then routine ends and the ...
    (microsoft.public.word.vba.general)
  • Re: The Spectrum is a computer for GIRLS !!!
    ... have a load of code after it but all programs were basic programs ... that start out like this are machine code. ... Four POKES and a SYS command and the block of memory you specify is saved to ... the load is finished, is pointing to a new piece of machine code. ...
    (comp.sys.cbm)
  • Re: New TRS80 User & TRS32
    ... All versions of TRSDOS I have can give me a directory but when I load ... There are differences between the dos'es there, the program can be specified on the BASIC command but generally what I describe above works. ... I did have a look at the available downloads and found that they come as cas bas and dsk (for disk). ...
    (comp.sys.tandy)