MediaWiki:TexInclude

From Monoskop
Revision as of 12:49, 18 November 2011 by Dusan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

% default include file for the WikiTex extension % this is prepended to the formula to be typeset % this is plain tex %

\def\frac#1#2Template:\begingroup
\font\tenfrak=eufm10
\font\eightfrak=eufm8
\newfam\eufm
\textfont\eufm=\tenfrak\scriptfont\eufm=\eightfrak
\def\frak#1Template:\fam\eufm
\def\mathcal#1Template:\cal
\def\mathbb#1{\mathord{\mathchoice{\hbox{\tenbf #1}}{\hbox{\tenbf #1}}%
    {\hbox{\sevenbf #1}}{\hbox{\fivebf #1}}}}
% this is for entering math inside math
\def\math#1{$#1$}
% this is for equation numbers: 
\def\eqno#1{}

%