doc-src/TutorialI/isabellesym.sty
author wenzelm
Sun, 15 Oct 2000 19:50:35 +0200
changeset 10220 2a726de6e124
parent 10211 1bece7f35762
child 10226 2c0ad01ddaf7
permissions -rw-r--r--
proper symbol markup with \isamath, \isatext; support sub/super scripts:

%%
%% $Id$
%% Author: Markus Wenzel, TU Muenchen
%% License: GPL (GNU GENERAL PUBLIC LICENSE)
%%
%% definitions of standard Isabelle symbols
%%

% Required packages for unusual symbols -- see below for details.
%\usepackage{latexsym}
%\usepackage{amssymb}
%\usepackage[english]{babel}
%\usepackage[latin1]{inputenc}
%\usepackage[only,bigsqcap]{stmaryrd}
%\usepackage{wasysym}

% Note: \emph is important for proper spacing in fake math mode, it
% automatically inserts italic corrections around symbols wherever
% appropriate.

\newcommand{\isamath}[1]{\emph{$#1$}}
\newcommand{\isatext}[1]{\emph{#1}}


% symbol definitions

\newcommand{\isasymspacespace}{\isamath{~~}}
\newcommand{\isasymGamma}{\isamath{\Gamma}}
\newcommand{\isasymDelta}{\isamath{\Delta}}
\newcommand{\isasymTheta}{\isamath{\Theta}}
\newcommand{\isasymLambda}{\isamath{\Lambda}}
\newcommand{\isasymXi}{\isamath{\Xi}}
\newcommand{\isasymPi}{\isamath{\Pi}}
\newcommand{\isasymSigma}{\isamath{\Sigma}}
\newcommand{\isasymUpsilon}{\isamath{\Upsilon}}
\newcommand{\isasymPhi}{\isamath{\Phi}}
\newcommand{\isasymPsi}{\isamath{\Psi}}
\newcommand{\isasymOmega}{\isamath{\Omega}}
\newcommand{\isasymalpha}{\isamath{\alpha}}
\newcommand{\isasymbeta}{\isamath{\beta}}
\newcommand{\isasymgamma}{\isamath{\gamma}}
\newcommand{\isasymdelta}{\isamath{\delta}}
\newcommand{\isasymepsilon}{\isamath{\varepsilon}}
\newcommand{\isasymzeta}{\isamath{\zeta}}
\newcommand{\isasymeta}{\isamath{\eta}}
\newcommand{\isasymtheta}{\isamath{\vartheta}}
\newcommand{\isasymiota}{\isamath{\iota}}
\newcommand{\isasymkappa}{\isamath{\kappa}}
\newcommand{\isasymlambda}{\isamath{\lambda}}
\newcommand{\isasymmu}{\isamath{\mu}}
\newcommand{\isasymnu}{\isamath{\nu}}
\newcommand{\isasymxi}{\isamath{\xi}}
\newcommand{\isasympi}{\isamath{\pi}}
\newcommand{\isasymrho}{\isamath{\varrho}}
\newcommand{\isasymsigma}{\isamath{\sigma}}
\newcommand{\isasymtau}{\isamath{\tau}}
\newcommand{\isasymupsilon}{\isamath{\upsilon}}
\newcommand{\isasymphi}{\isamath{\varphi}}
\newcommand{\isasymchi}{\isamath{\chi}}
\newcommand{\isasympsi}{\isamath{\psi}}
\newcommand{\isasymomega}{\isamath{\omega}}
\newcommand{\isasymnot}{\isamath{\neg}}
\newcommand{\isasymand}{\isamath{\wedge}}
\newcommand{\isasymor}{\isamath{\vee}}
\newcommand{\isasymforall}{\isamath{\forall\,}}
\newcommand{\isasymexists}{\isamath{\exists\,}}
\newcommand{\isasymAnd}{\isamath{\bigwedge\,}}
\newcommand{\isasymlceil}{\isamath{\lceil}}
\newcommand{\isasymrceil}{\isamath{\rceil}}
\newcommand{\isasymlfloor}{\isamath{\lfloor}}
\newcommand{\isasymrfloor}{\isamath{\rfloor}}
\newcommand{\isasymturnstile}{\isamath{\vdash}}
\newcommand{\isasymTurnstile}{\isamath{\models}}
\newcommand{\isasymlbrakk}{\isamath{\mathopen{\lbrack\mkern-3mu\lbrack}}}
\newcommand{\isasymrbrakk}{\isamath{\mathclose{\rbrack\mkern-3mu\rbrack}}}
\newcommand{\isasymcdot}{\isamath{\cdot}}
\newcommand{\isasymin}{\isamath{\in}}
\newcommand{\isasymsubseteq}{\isamath{\subseteq}}
\newcommand{\isasyminter}{\isamath{\cap}}
\newcommand{\isasymunion}{\isamath{\cup}}
\newcommand{\isasymInter}{\isamath{\bigcap\,}}
\newcommand{\isasymUnion}{\isamath{\bigcup\,}}
\newcommand{\isasymsqinter}{\isamath{\sqcap}}
\newcommand{\isasymsqunion}{\isamath{\sqcup}}
\newcommand{\isasymSqinter}{\isamath{\bigsqcap\,}}  %requires stmaryrd
\newcommand{\isasymSqunion}{\isamath{\bigsqcup\,}}
\newcommand{\isasymbottom}{\isamath{\bot}}
\newcommand{\isasymdoteq}{\isamath{\doteq}}
\newcommand{\isasymequiv}{\isamath{\equiv}}
\newcommand{\isasymnoteq}{\isamath{\not=}}
\newcommand{\isasymsqsubset}{\isamath{\sqsubset}}
\newcommand{\isasymsqsubseteq}{\isamath{\sqsubseteq}}
\newcommand{\isasymprec}{\isamath{\prec}}
\newcommand{\isasympreceq}{\isamath{\preceq}}
\newcommand{\isasymsucc}{\isamath{\succ}}
\newcommand{\isasymapprox}{\isamath{\approx}}
\newcommand{\isasymsim}{\isamath{\sim}}
\newcommand{\isasymsimeq}{\isamath{\simeq}}
\newcommand{\isasymle}{\isamath{\le}}
\newcommand{\isasymColon}{\isamath{\mathrel{::}}}
\newcommand{\isasymleftarrow}{\isamath{\leftarrow}}
\newcommand{\isasymmidarrow}{\isamath{\relbar}}
\newcommand{\isasymrightarrow}{\isamath{\rightarrow}}
\newcommand{\isasymLeftarrow}{\isamath{\Leftarrow}}
\newcommand{\isasymMidarrow}{\isamath{\Relbar}}
\newcommand{\isasymRightarrow}{\isamath{\Rightarrow}}
\newcommand{\isasymfrown}{\isamath{\frown}}
\newcommand{\isasymmapsto}{\isamath{\mapsto}}
\newcommand{\isasymleadsto}{\isamath{\leadsto}}  %requires latexsym
\newcommand{\isasymup}{\isamath{\uparrow}}
\newcommand{\isasymdown}{\isamath{\downarrow}}
\newcommand{\isasymnotin}{\isamath{\notin}}
\newcommand{\isasymtimes}{\isamath{\times}}
\newcommand{\isasymoplus}{\isamath{\oplus}}
\newcommand{\isasymominus}{\isamath{\ominus}}
\newcommand{\isasymotimes}{\isamath{\otimes}}
\newcommand{\isasymoslash}{\isamath{\oslash}}
\newcommand{\isasymsubset}{\isamath{\subset}}
\newcommand{\isasyminfinity}{\isamath{\infty}}
\newcommand{\isasymbox}{\isamath{\Box}}  %requires latexsym
\newcommand{\isasymdiamond}{\isamath{\Diamond}}  %requires latexsym
\newcommand{\isasymcirc}{\isamath{\circ}}
\newcommand{\isasymbullet}{\isamath{\bullet}}
\newcommand{\isasymparallel}{\isamath{\parallel}}
\newcommand{\isasymsurd}{\isamath{\surd}}
\newcommand{\isasymcopyright}{\isatext{\copyright}}
\newcommand{\isasymplusminus}{\isamath{\pm}}
\newcommand{\isasymdiv}{\isamath{\div}}
\newcommand{\isasymlongrightarrow}{\isamath{\longrightarrow}}
\newcommand{\isasymlongleftarrow}{\isamath{\longleftarrow}}
\newcommand{\isasymlongleftrightarrow}{\isamath{\longleftrightarrow}}
\newcommand{\isasymLongrightarrow}{\isamath{\Longrightarrow}}
\newcommand{\isasymLongleftarrow}{\isamath{\Longleftarrow}}
\newcommand{\isasymLongleftrightarrow}{\isamath{\Longleftrightarrow}}
\newcommand{\isasymbar}{\isamath{\mid}}
\newcommand{\isasymhyphen}{\isatext{\rm-}}
\newcommand{\isasymmacron}{\isatext{\rm\=\relax}}
\newcommand{\isasymexclamdown}{\isatext{\rm\textexclamdown}}
\newcommand{\isasymquestiondown}{\isatext{\rm\textquestiondown}}
\newcommand{\isasymguillemotleft}{\isatext{\flqq}}  %requires babel
\newcommand{\isasymguillemotright}{\isatext{\frqq}}  %requires babel
\newcommand{\isasymdegree}{\isatext{\rm\textdegree}}  %requires latin1
\newcommand{\isasymonesuperior}{\isamath{\mathonesuperior}}  %requires latin1
\newcommand{\isasymonequarter}{\isatext{\rm\textonequarter}}  %requires latin1
\newcommand{\isasymtwosuperior}{\isamath{\mathtwosuperior}}  %requires latin1
\newcommand{\isasymonehalf}{\isatext{\rm\textonehalf}}  %requires latin1
\newcommand{\isasymthreesuperior}{\isamath{\maththreesuperior}}  %requires latin1
\newcommand{\isasymthreequarters}{\isatext{\rm\textthreequarters}}  %requires latin1
\newcommand{\isasymparagraph}{\isatext{\P}}
\newcommand{\isasymregistered}{\isatext{\rm\textregistered}}
\newcommand{\isasymordfeminine}{\isatext{\rm\textordfeminine}}
\newcommand{\isasymordmasculine}{\isatext{\rm\textordmasculine}}
\newcommand{\isasymsection}{\isatext{\S}}
\newcommand{\isasympounds}{\isamath{\pounds}}
\newcommand{\isasymyen}{\isatext{\yen}}  %requires amssymb
\newcommand{\isasymcent}{\isatext{\cent}}  %requires wasysym
\newcommand{\isasymcurrency}{\isatext{\currency}}  %requires wasysym
\newcommand{\isasymlbrace}{\isamath{\mathopen{\lbrace\mkern-4.5mu\mid}}}
\newcommand{\isasymrbrace}{\isamath{\mathclose{\mid\mkern-4.5mu\rbrace}}}
\newcommand{\isasymtop}{\isamath{\top}}
\newcommand{\isasymcong}{\isamath{\cong}}
\newcommand{\isasymclubsuit}{\isamath{\clubsuit}}
\newcommand{\isasymdiamondsuit}{\isamath{\diamondsuit}}
\newcommand{\isasymheartsuit}{\isamath{\heartsuit}}
\newcommand{\isasymspadesuit}{\isamath{\spadesuit}}
\newcommand{\isasymleftrightarrow}{\isamath{\leftrightarrow}}
\newcommand{\isasymge}{\isamath{\ge}}
\newcommand{\isasympropto}{\isamath{\propto}}
\newcommand{\isasympartial}{\isamath{\partial}}
\newcommand{\isasymdots}{\isamath{\dots}}
\newcommand{\isasymaleph}{\isamath{\aleph}}
\newcommand{\isasymIm}{\isamath{\Im}}
\newcommand{\isasymRe}{\isamath{\Re}}
\newcommand{\isasymwp}{\isamath{\wp}}
\newcommand{\isasymemptyset}{\isamath{\emptyset}}
\newcommand{\isasymangle}{\isamath{\angle}}
\newcommand{\isasymnabla}{\isamath{\nabla}}
\newcommand{\isasymProd}{\isamath{\prod\,}}
\newcommand{\isasymLeftrightarrow}{\isamath{\Leftrightarrow}}
\newcommand{\isasymUparrow}{\isamath{\Uparrow}}
\newcommand{\isasymDownarrow}{\isamath{\Downarrow}}
\newcommand{\isasymlozenge}{\isamath{\lozenge}}  %requires amssym
\newcommand{\isasymlangle}{\isamath{\langle}}
\newcommand{\isasymrangle}{\isamath{\rangle}}
\newcommand{\isasymSum}{\isamath{\sum\,}}
\newcommand{\isasymintegral}{\isamath{\int\,}}
\newcommand{\isasymdagger}{\isamath{\dagger}}
\newcommand{\isasymsharp}{\isamath{\sharp}}
\newcommand{\isasymstar}{\isamath{\star}}
\newcommand{\isasymtriangleright}{\isamath{\triangleright}}
\newcommand{\isasymlhd}{\isamath{\lhd}}
\newcommand{\isasymtriangle}{\isamath{\triangle}}
\newcommand{\isasymrhd}{\isamath{\rhd}}
\newcommand{\isasymunlhd}{\isamath{\unlhd}}
\newcommand{\isasymunrhd}{\isamath{\unrhd}}
\newcommand{\isasymtriangleleft}{\isamath{\triangleleft}}
\newcommand{\isasymnatural}{\isamath{\natural}}
\newcommand{\isasymflat}{\isamath{\flat}}
\newcommand{\isasymamalg}{\isamath{\amalg}}
\newcommand{\isasymmho}{\isamath{\mho}}  %requires latexsym
\newcommand{\isasymupdownarrow}{\isamath{\updownarrow}}
\newcommand{\isasymlongmapsto}{\isamath{\longmapsto}}
\newcommand{\isasymUpdownarrow}{\isamath{\Updownarrow}}
\newcommand{\isasymhookleftarrow}{\isamath{\hookleftarrow}}
\newcommand{\isasymhookrightarrow}{\isamath{\hookrightarrow}}
\newcommand{\isasymrightleftharpoons}{\isamath{\rightleftharpoons}}
\newcommand{\isasymleftharpoondown}{\isamath{\leftharpoondown}}
\newcommand{\isasymrightharpoondown}{\isamath{\rightharpoondown}}
\newcommand{\isasymleftharpoonup}{\isamath{\leftharpoonup}}
\newcommand{\isasymrightharpoonup}{\isamath{\rightharpoonup}}
\newcommand{\isasymasymp}{\isamath{\asymp}}
\newcommand{\isasymminusplus}{\isamath{\mp}}
\newcommand{\isasymbowtie}{\isamath{\bowtie}}
\newcommand{\isasymcdots}{\isamath{\cdots}}
\newcommand{\isasymodot}{\isamath{\odot}}
\newcommand{\isasymsupset}{\isamath{\supset}}
\newcommand{\isasymsupseteq}{\isamath{\supseteq}}
\newcommand{\isasymsqsupset}{\isamath{\sqsupset}}  %requires latexsym
\newcommand{\isasymsqsupseteq}{\isamath{\sqsupseteq}}
\newcommand{\isasymll}{\isamath{\ll}}
\newcommand{\isasymgg}{\isamath{\gg}}
\newcommand{\isasymuplus}{\isamath{\uplus}}
\newcommand{\isasymsmile}{\isamath{\smile}}
\newcommand{\isasymsucceq}{\isamath{\succeq}}
\newcommand{\isasymstileturn}{\isamath{\dashv}}
\newcommand{\isasymOr}{\isamath{\bigvee}}
\newcommand{\isasymbiguplus}{\isamath{\biguplus}}
\newcommand{\isasymddagger}{\isamath{\ddagger}}
\newcommand{\isasymJoin}{\isamath{\Join}}  %requires latexsym
\newcommand{\isasymbool}{\isamath{\mathrm{I}\mkern-3.8mu\mathrm{B}}}
\newcommand{\isasymcomplex}{\isamath{\mathrm{C}\mkern-15mu{\phantom{\mathrm{t}}\vrule}\mkern9mu}}
\newcommand{\isasymnat}{\isamath{\mathrm{I}\mkern-3.8mu\mathrm{N}}}
\newcommand{\isasymrat}{\isamath{\mathrm{Q}\mkern-16mu{\phantom{\mathrm{t}}\vrule}\mkern10mu}}
\newcommand{\isasymreal}{\isamath{\mathrm{I}\mkern-3.8mu\mathrm{R}}}
\newcommand{\isasymint}{\isamath{\mathsf{Z}\mkern-7.5mu\mathsf{Z}}}
\newcommand{\isasymlesssim}{\isamath{\lesssim}}  %requires amssymb
\newcommand{\isasymgreatersim}{\isamath{\gtrsim}}  %requires amssymb
\newcommand{\isasymlessapprox}{\isamath{\lessapprox}}  %requires amssymb
\newcommand{\isasymgreaterapprox}{\isamath{\gtrapprox}}  %requires amssymb
\newcommand{\isasymtriangleq}{\isamath{\triangleq}}  %requires amssymb
\newcommand{\isasymlparr}{\isamath{\mathopen{(\mkern-3mu\mid}}}
\newcommand{\isasymrparr}{\isamath{\mathclose{\mid\mkern-3mu)}}}