1%D \module 2%D [ file=math-mis, 3%D version=2013.04.06, % 2007.07.19, 4%D title=\CONTEXT\ Math Macros, 5%D subtitle=Miscellaneous, 6%D author=Hans Hagen, 7%D date=\currentdate, 8%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] 9%C 10%C This module is part of the \CONTEXT\ macro||package and is 11%C therefore copyrighted by \PRAGMA. See mreadme.pdf for 12%C details. 13 14\writestatus{loading}{ConTeXt Math Macros / Miscellaneous} 15 16\unprotect 17 18%D This file contains left-overs moved from other files. It's mostly old stuff 19%D that we keep around for compatbility reasons. 20 21%D \macros 22%D {qedsymbol} 23%D 24%D [HH] The general Quod Erat Demonstrandum symbol is defined in such a way that 25%D we can configure it. Because this symbol is also used in text mode, we make it 26%D a normal text symbol with special behavior. 27 28% THIS IS OLD: 29 30\permanent\protected\def\qedsymbol#1% 31 {\ifhmode 32 \unskip\nobreakspace\hfill#1\par 33 \orelse\ifmmode 34 #1\relax % leading \eqno removed 35 \else 36 \dontleavehmode\emptyhbox\hfill#1\par 37 \fi} 38 39\definesymbol [qed] [\qedsymbol{\mathematics{\square}}] 40 41%D \macros 42%D {QED} 43%D 44%D [HH] For compatbility reasons we also provide the \type {\QED} command. In case 45%D this command is overloaded, we still have the symbol available. \symbol[qed] 46 47\permanent\protected\def\QED{\symbol[qed]} 48 49%D \macros 50%D {boxed} 51%D 52%D [HH] Another macro that users might expect (slightly adapted): 53 54\permanent\protected\def\boxed % maybe obsolete 55 {\ifmmode\expandafter\mframed\else\expandafter\framed\fi} 56 57%D Something low level for scientific calculator notation: 58 59\permanent\protected\def\scinot#1#2% 60 {#1\times10^{#2}} 61 62\protect \endinput 63 |