Re: Package siunitx Error: Unit \rem already defined!
- From: Joseph Wright <joseph.wright@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 22 Oct 2008 00:14:34 -0700 (PDT)
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
.
- References:
- Re: Package siunitx Error: Unit \rem already defined!
- From: Joseph Wright
- Re: Package siunitx Error: Unit \rem already defined!
- Prev by Date: Re: Package siunitx Error: Unit \rem already defined!
- Next by Date: Re: too long text \texttt overflow page width
- Previous by thread: Re: Package siunitx Error: Unit \rem already defined!
- Next by thread: Chapter number, chapter title and paragraph - How to keep them on the same page with chappell chapterstyle
- Index(es):
Relevant Pages
|