it seems that \square is defined in both amsfonts (presumably
generating a square box) and SIunits (generating a superscript 2). So
what should I do?
Here are the details:
(/net/kogs1/local/kogs1/teTeX/texmf/tex/latex/amsfonts/amsfonts.sty)
(/home/utcke/TeX/inputs/SIunits.sty
Package: `SIunits' v0.02 <1998/10/09> (MH)
! LaTeX Error: Command \square already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.113 \newcommand*{\square}[1]{\power{#1}{2}}
)
with
%%% @LaTeX-file{
%%% filename = "amsfonts.dtx",
%%% version = "2.2e",
%%% date = "1997/09/17",
%%% time = "10:26:27 EDT",
and
%%% @LaTeX-package-file{
%%% author = "Heldoorn M.",
%%% version = "0.02",
%%% date = "09 October 1998",
%%% time = "12:00:00 MET",
Any ideas?
Thanks
Sven
--
_ _ _____ Artificial Intelligence Unit
| | | |/ /_ _| University of Hamburg
| |__| ' < | | phone: +49 (0)40 42883-2576 Vogt-Koelln-Strasse 30
|____|_|\_\___| fax : +49 (0)40 42883-2572 D-22527 Hamburg
mailto:ut...@informatik.uni-freiburg.de www.informatik.uni-freiburg.de/~utcke
>it seems that \square is defined in both amsfonts (presumably
>generating a square box) and SIunits (generating a superscript 2). So
>what should I do?
>
>
>with
>
>%%% @LaTeX-package-file{
>%%% author = "Heldoorn M.",
>%%% version = "0.02",
>%%% date = "09 October 1998",
>%%% time = "12:00:00 MET",
>
>Any ideas?
>
Update to the current version (SIunits v0.06) and choose the desired behaviour
by using one of the options:
* amssymb : SIunits redefines the \square command;
* squaren : \square as in amssymb, \squaren can be used as a replacement
Bye,
read the readme.txt that comes with the SIunits package!
This is form it:
2. The amssymb package defines the \square command. Two possible
solutions to
avoid
conflicts:
- use option amssymb: \usepackage[amssymb]{SIunits}
When using this option the amssymb command \square is
redefined to the SIunits command.
- use option squaren: \usepackage[squaren]{SIunits}
When using this option the amssymb command \square is
not redefined. Use the newly defined SIunits command
\squaren to get the desired behaviour.
--
Have nice docs
Andreas zum Winkel
Email: Andreas.H....@math.uni-giessen.de
----- Original Message -----
From: Sven Utcke <ut...@tu-harburg.de>
Newsgroups: comp.text.tex
Sent: Wednesday, March 01, 2000 1:24 PM
Subject: \square defined in amsfonts AND SIunits
> Hi,
This conflict is mentioned in the SIunits documentation, subsections
6.2.1 and 7.2, and in the readme.txt file. There are two options to
deal with it:
\usepackage[amssymb]{SIunits} % use SIunits definition of \square
\usepackage[squaren]{SIunits} % define \squaren as replacement for
% SIunits \square, and retain AMS
% definition of \square
Load SIunits after the AMS package.
--
John Wingate If there is a God he must have
win...@worldpath.net an odd sense of humour.
--- Chaim Bermant
read SIunits.dvi
either use amssymb to SI units
(\usepackage[amssymb]{SIunits}) \square is redefined to the SIunits
defintion (load the ams package first)
or \usepackge[squaren]{SIunits} \square is not changed, and the SIunits
definition of square is accesible with \squaren
James