Article View: comp.text.tex
Article #10291Group symbols ( nature numbers etc.)
From: flash
Date: Sat, 15 Jun 1991 19:52
Date: Sat, 15 Jun 1991 19:52
74 lines
2794 bytes
2794 bytes
Here are some nice little macros that will do the trick.
---- hier mit e'm wellenschlifigem messer endfernen ---
%************************************************************************
%* macro group: mathematics *
%* *
%* Erik Walter Quanstrom *
%* 21. March 1990 *
%* *
%* macros: *
%* Group symbols *
%* \natural natural numbers *
%* \integer integers *
%* \complex complex numbers *
%* \rational rational numbers *
%* \real real numbers *
%* \imaginary Imaginary numbers *
%* *
%* Group relations *
%* \norm Normal subgroup *
%* *
%* miscellainous *
%* \mcr ragged right cr *
%* \mod typesets a(mod b) properly *
%* \: no-space : *
%* \qforall \forall with padding *
%* \qexists \exists with padding *
%* *
%************************************************************************
%
% the following macros are group symbols and they work in either math
% or normal mode.
\def\groupsym#1{%
\ifmmode%
\hbox{\msym #1}%
\else%
{\msym #1}%
\fi}
\def\natural{\groupsum{N}}
\def\integer{\groupsym{Z}}
\def\rational{\groupsym{Q}}
\def\complex{\groupsym{C}}
\def\real{\groupsym{R}}
\def\poly{\groupsym{P}}
\def\imaginary{\groupsym{I}}
\def\identity{\groupsym{I}}
\def\I{\groupsym{I}}
\def\mcr{\hfill\cr}
\def\norm{\triangleleft}
\def\mod{%
\ifmmode%
$mod $%
\else%
mod\,%
\fi}
\def\qforall{\,\forall\,}
\def\qexists{\,\exists\,}
\def\:{\colon}
% define a shorthand for such that.
\def\st{%
\ifmmode%
${\rm\ s.t. }$%
\else%
{\rm\ s.t. }%
\fi}
--
%-----cut here with a sharp machete or an 19.95 ginsu knife
quanstro@stolaf.edu after Erik Quanstrom % S. Baumann
Erik Quanstrom 20. Jan -> Malinckrodtstra\3e 50
Technical Details
Message-ID:
<1991Jun15.195206.9038@news.stolaf.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!cs.umn.edu!msi.umn.edu!noc.MR.NET!news.stolaf.edu!thor.acc.stolaf.edu!quanstroShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!cs.umn.edu!msi.umn.edu!noc.MR.NET!news.stolaf.edu!thor.acc.stolaf.edu!quanstro From: quanstro@thor.acc.stolaf.edu (flash) Newsgroups: comp.text.tex Subject: Group symbols ( nature numbers etc.) Message-ID: <1991Jun15.195206.9038@news.stolaf.edu> Date: 15 Jun 91 19:52:06 GMT Sender: news@news.stolaf.edu Organization: St. Olaf College; Northfield, MN USA Lines: 74