Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to Get \Box and \Diamond in EMTeX LaTeX 2.09

1,219 views
Skip to first unread message

Raymond Kan

unread,
Apr 1, 1997, 3:00:00 AM4/1/97
to

Hi,

I am using the LaTeX 2.09 package from EMTeX, and I don't seem
to be able to get \Box and \Diamond to work. My friend has PCTeX and
it works there, so I am wondering if the EMTeX had forgotten to
include these two commands.

Any help would be appreciated.


Raymond Kan
k...@wuolin.wustl.edu

David Kastrup

unread,
Apr 2, 1997, 3:00:00 AM4/2/97
to Raymond Kan

k...@wuolin.wustl.edu (Raymond Kan) writes:

> I am using the LaTeX 2.09 package from EMTeX, and I don't seem
> to be able to get \Box and \Diamond to work. My friend has PCTeX and
> it works there, so I am wondering if the EMTeX had forgotten to
> include these two commands.

I guess LaTeX2.09 has just forgotten to include those two commands.
But you have to forgive it: it's old. In fact it is that old (more
than 5 years, and software ages 20 times faster than people) that you
should send it t retirement and use LaTeX2e in a suitably new version.

If you do, you'll get a message like:
This is TeX, Version 3.14159 (C version 6.1) (format=latex 95.12.21) 2 APR 1997 10:10

*\Box

! LaTeX Error: Command \Box not provided in base LaTeX2e.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

<*> \Box

? h
Load the latexsym or the amsfonts package to define this symbol

So while it is not defined in current versions of LaTeX, you can
either use
\usepackage{latexsym}
or
\usepackage{amsfonts}
(providing you have AMSLaTeX installed, which is a good idea)
in order to have it available.


--
David Kastrup Phone: +49-234-700-5570
Email: d...@neuroinformatik.ruhr-uni-bochum.de Fax: +49-234-709-4209
Institut für Neuroinformatik, Universitätsstr. 150, 44780 Bochum, Germany

Young U. Ryu

unread,
Apr 2, 1997, 3:00:00 AM4/2/97
to

David Kastrup <d...@mailhost.neuroinformatik.ruhr-uni-bochum.de>
>
> [... There was a question about \Box ...]


>
> Load the latexsym or the amsfonts package to define this symbol
>
> So while it is not defined in current versions of LaTeX, you can
> either use
> \usepackage{latexsym}
> or
> \usepackage{amsfonts}
> (providing you have AMSLaTeX installed, which is a good idea)
> in order to have it available.

In amsfonts.sty,

\def\@tempa{\not@base\lhd}
\ifx\lhd\@tempa
...
\global\let\Box\square
...
\fi

In latex.ltx,

\def\lhd{\not@base\lhd}

I thought that if \lhd is not defined (strictly speaking, it is defined
to be "not provided in base LaTeX2e"), matching AMS symbols
are to used for LaTeX symbols, when latexsym package is not used.
However, the use amsfonts package still gives:

LaTeX2e <1996/12/01> patch level 1
(D:/TEX/TEXINPUT/article.cls
Document Class: article 1996/10/31 v1.3u Standard LaTeX document class
(D:/TEX/TEXINPUT/size10.clo)) (D:/TEX/TEXINPUT/amsfonts.sty) (test.aux)
(D:/TEX/TEXINPUT/umsa.fd) (D:/TEX/TEXINPUT/umsb.fd)

! LaTeX Error: Command \Box not provided in base LaTeX2e.

Perhaps, definitions of \Box, etc. in amsfonts.sty are not right.

Any comment?

Young


--
_______________________________________________________________________
__ __ ______ ______
/\ \/\ \ /\__ _\ /\ __ \ Young U. Ryu, Ph.D. Box 830688, JO 4.4
\ \ \_\ \\/_/\ \/ \ \ \_\ \ Asst. Prof. Info. Sys. 2061 N. Floyd Rd.
\ \_____\ \ \_\ \ \_____\ FAX: 972-883-2799 Richardson
\/_____/ \/_/ \/_____/ Voice: 972-883-???? Texas 75083-0688
The Univ. of Texas at Dallas mailto:ryo...@utdallas.edu
School of Management http://www.utdallas.edu/~ryoung/
Decision Sciences Dept. ftp://pc29112.utdallas.edu
_______________________________________________________________________


David Carlisle

unread,
Apr 2, 1997, 3:00:00 AM4/2/97
to Young U. Ryu

> Perhaps, definitions of \Box, etc. in amsfonts.sty are not right.

> Any comment?

The AMS package and the LaTeX error message are currently in disagreement.
In `native' mode the AMS package no longer defines \Box, but the error message
hasn't changed. See amslatex/1415.


David

ro...@scylla.math.mcgill.ca

unread,
Apr 3, 1997, 3:00:00 AM4/3/97
to

In article <01bc3f7e$b1d22620$701d...@pc29112.utdallas.edu>,

Young U. Ryu <ryo...@utdallas.edu> wrote:
>David Kastrup <d...@mailhost.neuroinformatik.ruhr-uni-bochum.de>
>>
>> [... There was a question about \Box ...]
>>
>> Load the latexsym or the amsfonts package to define this symbol
[ comments about latex2e, and other things cut ]

>>
>
>Perhaps, definitions of \Box, etc. in amsfonts.sty are not right.
>

People let ideology get in the way perhaps - the original question asked
about emtex and latex2.09 - still an excellent piece of software, even if
not "current" - and whether \Box and \Diamond worked in that context.

Well, I tried this file: (first line taken from the log file to
verify the version of emtex used):

%% This is emTeX (tex386), Version 3.1415 [3c-beta11] (preloaded
%% format=lplain 94.9.29) 2 APR 1997 17:44
\documentstyle{article}
\begin{document}
This is a $\Box$, and this a $\Diamond$.
\end{document}

and it produced a box and a diamond, exactly as required - I wonder if
this wasn't just a "oops, I forgot the $$s" question?

= rags =


0 new messages