--
You're never too young to have a Vietnam flashback
> which of the two is the "right" way to write an empty set (\varnothing or
> \emptyset)? what are your arguments for your choice?
It's a matter of taste.
Yours sincerely
Heiko <ober...@uni-freiburg.de>
> which of the two is the "right" way to write an empty set (\varnothing or
> \emptyset)? what are your arguments for your choice?
Well, \emptyset is *extremely* ugly in many fonts, so I would go for
\varnothing. On the other hand, \varnothing is not defined for all fonts,
so \emptyset is a 'safer' choice.
--
Karl Ove Hufthammer
E-post/Jabber: ka...@huftis.org
> filox skreiv:
>
>> which of the two is the "right" way to write an empty set (\varnothing or
>> \emptyset)? what are your arguments for your choice?
>
> Well, \emptyset is *extremely* ugly in many fonts, so I would go for
> \varnothing. On the other hand, \varnothing is not defined for all fonts,
> so \emptyset is a 'safer' choice.
Would something like
\let\OLDemptyset\emptyset
\ifundefined{\varnothing}
\def\emptyset{\OLDemptyset}
\else
\def\emptyset{\varnothing}
\fi
solve this problem?
--
Rasmus Villemoes
<http://home.imf.au.dk/burner/>
> \let\OLDemptyset\emptyset
> \ifundefined{\varnothing}
> \def\emptyset{\OLDemptyset}
> \else
> \def\emptyset{\varnothing}
> \fi
\makeatletter
\newcommand*{\OLDemtpyset}{}% check
\let\OLDemptyset\emptyset
\@ifundefined{varnothing}{%
% nothing to do
}{%
\renewcommand*{\emptyset}{\varnothing}%
}
\makeatother
or without side effect of \@ifundefined to define
an undefined \varnothing with meaning \relax:
\newcommand*{\OLDemptyset}{}
\let\OLDemptyset\emptyset
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname varnothing\endcsname\relax
\else
\let\emptyset\varnothing
\fi
Yours sincerely
Heiko <ober...@uni-freiburg.de>