Difference between revisions of "MediaWiki:TexInclude"

From Monoskop
Jump to navigation Jump to search
(Created page with "% default include file for the WikiTex extension % this is prepended to the formula to be typeset % this is plain tex % \def\frac#1#2{{\begingroup#1\endgroup\over#2}} \font\te...")
 
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 13:49, 18 November 2011

% 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{}

%