[comp.text.tex] How do I make a greater than approx

man@whizzle.stanford.edu (Michael Nowak) (11/13/90)

I want it so that I can use it like I would a \le sign, roughly the same
size, well centered vertically and horizontally, etc., etc.

By the way, I'm using Textures on the Mac.  I don't know if that's significant
or not.

Thanks in advance.

Mike Nowak

myers@ut-emx.uucp (Eric Myers) (11/13/90)

%       \simge and \simle make the "greater than about" and the "less
% than about" symbols with spacing as relations.

\def\simge{\mathrel{%
   \rlap{\raise 0.511ex \hbox{$>$}}{\lower 0.511ex \hbox{$\sim$}}}}
\def\simle{\mathrel{
   \rlap{\raise 0.511ex \hbox{$<$}}{\lower 0.511ex \hbox{$\sim$}}}}

-- 
Eric Myers		"Frankie say '\relax'"

Center for Relativity, Department of Physics, University of Texas at Austin
myers@emx.utexas.edu  |   myers@utaphy.bitnet   |   myers@ut-emx.UUCP

edgar@function.mps.ohio-state.edu (Gerald Edgar) (11/13/90)

In the AMS fonts, it is called \gtrsim, code 1326.  It is in the font
msam10, at position 26 hex.
--
  Gerald A. Edgar          
  Department of Mathematics             Bitnet:    EDGAR@OHSTPY
  The Ohio State University             Internet:  edgar@mps.ohio-state.edu
  Columbus, OH 43210   ...!{att,pyramid}!osu-cis!shape.mps.ohio-state.edu!edgar

hanche@imf.unit.no (Harald Hanche-Olsen) (11/14/90)

In article <39611@ut-emx.uucp> myers@ut-emx.uucp (Eric Myers) writes:

   %       \simge and \simle make the "greater than about" and the "less
   % than about" symbols with spacing as relations.

   \def\simge{\mathrel{%
      \rlap{\raise 0.511ex \hbox{$>$}}{\lower 0.511ex \hbox{$\sim$}}}}
   \def\simle{\mathrel{
      \rlap{\raise 0.511ex \hbox{$<$}}{\lower 0.511ex \hbox{$\sim$}}}}

Or better yet, if you find you need to do this kind of things very
often, get AMSFonts.  These symbols are in the msam font.

- Harald Hanche-Olsen <hanche@imf.unit.no>
  Division of Mathematical Sciences
  The Norwegian Institute of Technology
  N-7034 Trondheim, NORWAY

mrm@cfa.HARVARD.EDU (Michael Merrifield) (11/15/90)

From article <MAN.90Nov12143849@whizzle.stanford.edu>, by man@whizzle.stanford.edu (Michael Nowak):
> I want it so that I can use it like I would a \le sign, roughly the same
> size, well centered vertically and horizontally, etc., etc.
> 

If you don't have the AmS-TeX fonts, here's a set of definitions (courtesy of
Bill Press) that does the trick:

\newbox\grsign \setbox\grsign=\hbox{$>$} \newdimen\grdimen \grdimen=\ht\grsign
\newbox\simlessbox \newbox\simgreatbox
\setbox\simgreatbox=\hbox{\raise.5ex\hbox{$>$}\llap
     {\lower.5ex\hbox{$\sim$}}}\ht1=\grdimen\dp1=0pt
\setbox\simlessbox=\hbox{\raise.5ex\hbox{$<$}\llap
     {\lower.5ex\hbox{$\sim$}}}\ht2=\grdimen\dp2=0pt
\def\simgreat{\mathrel{\copy\simgreatbox}}
\def\simless{\mathrel{\copy\simlessbox}}

then just use \simgreat and \simless just like any other math relations