Difference between revisions of "MediaWiki:TexInclude"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
% this is plain tex | % this is plain tex | ||
% | % | ||
− | \def\frac#1#2{{\begingroup#1\endgroup\over#2}} | + | \def\frac#1#2{{\begingroup#1\endgroup\over#2}} |
− | \font\tenfrak=eufm10 | + | \font\tenfrak=eufm10 |
− | \font\eightfrak=eufm8 | + | \font\eightfrak=eufm8 |
− | \newfam\eufm | + | \newfam\eufm |
− | \textfont\eufm=\tenfrak\scriptfont\eufm=\eightfrak | + | \textfont\eufm=\tenfrak\scriptfont\eufm=\eightfrak |
− | \def\frak#1{{\fam\eufm #1}} | + | \def\frak#1{{\fam\eufm #1}} |
− | \def\mathcal#1{{\cal #1}} | + | \def\mathcal#1{{\cal #1}} |
− | \def\mathbb#1{\mathord{\mathchoice{\hbox{\tenbf #1}}{\hbox{\tenbf #1}}% | + | \def\mathbb#1{\mathord{\mathchoice{\hbox{\tenbf #1}}{\hbox{\tenbf #1}}% |
− | % this is for entering math inside math | + | {\hbox{\sevenbf #1}}{\hbox{\fivebf #1}}}} |
− | \def\math#1{$#1$} | + | % this is for entering math inside math |
− | % this is for equation numbers: | + | \def\math#1{$#1$} |
− | \def\eqno#1{} | + | % this is for equation numbers: |
+ | \def\eqno#1{} | ||
% | % |
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{}
%