%--------------------------------------------------------------- % pjnotation LaTeX2e package - version 1.2 % % Download: % http://sites.google.com/site/latexpj/ % % This package introduces several groups of LaTeX commands: % \pspace, \np, \p % (text) symbols for 'PSPACE', 'NP' and 'P' % the style of these symbols can be modified by redefining '\textcomplfont' % \eur % (both math and text) symbol for the euro % \argmax, \argmin % (math) new operators to be used in the same way as \max, \min % \Probability, \Expectation % (math) new operators writing 'P' and 'E' symbols to be typically followed by '[ operand ]' % \gap, \agap % (math) new operators writing 'rsg' and 'arsg', meaning "(adjusted) relative suboptimality gap" % \complement % (math) symbol 'C' to be typically used in superscript (Note: it keeps the original definition if already defined) % \Nset, \Zset, \Qset, \Rset, \Cset, \Hset % (math) symbols for number sets (natural, integer, rational, real, complex, quaternions) % the style of these symbols can be modified by redefining '\mathnumsetfont' % \Psymb, \Esymb % (math) symbols for probability and expectation % the style of these symbols can be modified by redefining '\mathprobfont' % \setA, \setB, \setC, ... % (math) symbols for sets % the style of these symbols can be modified by redefining '\mathsetfont' % \veczero, \vecone, \vecpi, \veca, \vecb, \vecc, ..., \vecA, \vecB, \vecC, ... % (math) boldsymbols for vectors % \matA, \matB, \matC, ... % (math) boldsymbols for matrices % \bigO, \smallo % (math) symbols for 'big O' and 'small o' % the style of these symbols can be modified by redefining '\mathOfont' % % Standard loading: % \usepackage{pjnotation} % % Example of use: % trivial (?) % % Version: % 1.1 (2010/03/09): % created by Peter Jacko, % following http://www.latex-project.org/guides/clsguide.pdf % 1.2 (2010/03/17): % modified by Peter Jacko, % definitions of operators %--------------------------------------------------------------- %-------------------------- identification --------------------- \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{pjnotation}[2010/03/17 - version 1.2. A package for notation] %-------------------------- identification --------------------- %-------------------------- preliminary declarations ----------- %-------------------------- preliminary declarations ----------- %-------------------------- packages --------------------------- \RequirePackage{eurosym} %-------------------------- packages --------------------------- %-------------------------- more declarations ------------------ % Complexity theory \let\textcomplfont\textsc \newcommand\pspace{\textcomplfont{pspace}} \newcommand\np{\textcomplfont{np}} \newcommand\p{\textcomplfont{p}} % EURO \newcommand{\eur}{\textrm{\officialeuro}} % New operators \DeclareMathOperator*{\argmax}{arg\,max} \DeclareMathOperator*{\argmin}{arg\,min} \DeclareMathOperator{\gap}{rsg} \DeclareMathOperator{\agap}{arsg} \DeclareMathOperator{\Probability}{\Psymb} \DeclareMathOperator{\Expectation}{\Esymb} % Complement \providecommand\complement{\text{\normalfont C}} % Number sets \let\mathnumsetfont\mathbb \newcommand\Nset{\mathnumsetfont N} % set of positive integer numbers \newcommand\Zset{\mathnumsetfont Z} % set of integer numbers \newcommand\Qset{\mathnumsetfont Q} % set of rational numbers \newcommand\Rset{\mathnumsetfont R} % set of real numbers \newcommand\Cset{\mathnumsetfont C} % set of complex numbers \newcommand\Hset{\mathnumsetfont H} % set of quaternions % Probability symbols \let\mathprobfont\mathbb \newcommand\Psymb{\mathprobfont P} % Probability symbol P \newcommand\Esymb{\mathprobfont E} % Expectation symbol E % Sets \let\mathsetfont\mathcal \newcommand\setA{\mathsetfont A} \newcommand\setB{\mathsetfont B} \newcommand\setC{\mathsetfont C} \newcommand\setD{\mathsetfont D} \newcommand\setE{\mathsetfont E} \newcommand\setF{\mathsetfont F} \newcommand\setG{\mathsetfont G} \newcommand\setH{\mathsetfont H} \newcommand\setI{\mathsetfont I} \newcommand\setJ{\mathsetfont J} \newcommand\setK{\mathsetfont K} \newcommand\setL{\mathsetfont L} \newcommand\setM{\mathsetfont M} \newcommand\setN{\mathsetfont N} \newcommand\setO{\mathsetfont O} \newcommand\setP{\mathsetfont P} \newcommand\setQ{\mathsetfont Q} \newcommand\setR{\mathsetfont R} \newcommand\setS{\mathsetfont S} \newcommand\setT{\mathsetfont T} \newcommand\setU{\mathsetfont U} \newcommand\setV{\mathsetfont V} \newcommand\setW{\mathsetfont W} \newcommand\setX{\mathsetfont X} \newcommand\setY{\mathsetfont Y} \newcommand\setZ{\mathsetfont Z} % Vectors \newcommand\veczero{\boldsymbol 0} \newcommand\vecone{\boldsymbol 1} \newcommand\vecpi{\boldsymbol \pi} \newcommand\veca{\boldsymbol a} \newcommand\vecb{\boldsymbol b} \newcommand\vecc{\boldsymbol c} \newcommand\vecd{\boldsymbol d} \newcommand\vece{\boldsymbol e} \newcommand\vecf{\boldsymbol f} \newcommand\vecg{\boldsymbol g} \newcommand\vech{\boldsymbol h} \newcommand\veci{\boldsymbol i} \newcommand\vecj{\boldsymbol j} \newcommand\veck{\boldsymbol k} \newcommand\vecl{\boldsymbol l} \newcommand\vecm{\boldsymbol m} \newcommand\vecn{\boldsymbol n} \newcommand\veco{\boldsymbol o} \newcommand\vecp{\boldsymbol p} \newcommand\vecq{\boldsymbol q} \newcommand\vecr{\boldsymbol r} \newcommand\vecs{\boldsymbol s} \newcommand\vect{\boldsymbol t} \newcommand\vecu{\boldsymbol u} \newcommand\vecv{\boldsymbol v} \newcommand\vecw{\boldsymbol w} \newcommand\vecx{\boldsymbol x} \newcommand\vecy{\boldsymbol y} \newcommand\vecz{\boldsymbol z} \newcommand\vecA{\boldsymbol A} \newcommand\vecB{\boldsymbol B} \newcommand\vecC{\boldsymbol C} \newcommand\vecD{\boldsymbol D} \newcommand\vecE{\boldsymbol E} \newcommand\vecF{\boldsymbol F} \newcommand\vecG{\boldsymbol G} \newcommand\vecH{\boldsymbol H} \newcommand\vecI{\boldsymbol I} \newcommand\vecJ{\boldsymbol J} \newcommand\vecK{\boldsymbol K} \newcommand\vecL{\boldsymbol L} \newcommand\vecM{\boldsymbol M} \newcommand\vecN{\boldsymbol N} \newcommand\vecO{\boldsymbol O} \newcommand\vecP{\boldsymbol P} \newcommand\vecQ{\boldsymbol Q} \newcommand\vecR{\boldsymbol R} \newcommand\vecS{\boldsymbol S} \newcommand\vecT{\boldsymbol T} \newcommand\vecU{\boldsymbol U} \newcommand\vecV{\boldsymbol V} \newcommand\vecW{\boldsymbol W} \newcommand\vecX{\boldsymbol X} \newcommand\vecY{\boldsymbol Y} \newcommand\vecZ{\boldsymbol Z} % Matrices \newcommand\matA{\boldsymbol A} \newcommand\matB{\boldsymbol B} \newcommand\matC{\boldsymbol C} \newcommand\matD{\boldsymbol D} \newcommand\matE{\boldsymbol E} \newcommand\matF{\boldsymbol F} \newcommand\matG{\boldsymbol G} \newcommand\matH{\boldsymbol H} \newcommand\matI{\boldsymbol I} \newcommand\matJ{\boldsymbol J} \newcommand\matK{\boldsymbol K} \newcommand\matL{\boldsymbol L} \newcommand\matM{\boldsymbol M} \newcommand\matN{\boldsymbol N} \newcommand\matO{\boldsymbol O} \newcommand\matP{\boldsymbol P} \newcommand\matQ{\boldsymbol Q} \newcommand\matR{\boldsymbol R} \newcommand\matS{\boldsymbol S} \newcommand\matT{\boldsymbol T} \newcommand\matU{\boldsymbol U} \newcommand\matV{\boldsymbol V} \newcommand\matW{\boldsymbol W} \newcommand\matX{\boldsymbol X} \newcommand\matY{\boldsymbol Y} \newcommand\matZ{\boldsymbol Z} % Big O, small o \let\mathOfont\mathcal \newcommand\bigO{\mathOfont O} \newcommand\smallo{\mathOfont o} %-------------------------- more declarations ------------------ \endinput