diff options
author | Karl Berry <karl@freefriends.org> | 2012-12-21 17:18:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-12-21 17:18:31 +0000 |
commit | 1b512e2a067c98afcd3edcbdfe2743953ddd337d (patch) | |
tree | 581c5b6baf825a2d9789259d2a857c38cafb7224 /Master/texmf-dist/tex/csplain/fonts | |
parent | 55f452fc0f663684549d2d2d603fb5ac7320f45a (diff) |
csplain (20dec12)
git-svn-id: svn://tug.org/texlive/trunk@28597 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/csplain/fonts')
27 files changed, 2185 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/csplain/fonts/ams-math.tex b/Master/texmf-dist/tex/csplain/fonts/ams-math.tex new file mode 100644 index 00000000000..9f204220f8d --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/ams-math.tex @@ -0,0 +1,509 @@ +% This file loads AMS math fonts by plainTeX macros +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Petr Olsak, 2012 + +% todo: find bold AMS symbols + +\message{FONT: AMS math fonts - + \string\mathchardef's prepared, 12 math families preloaded.} + +% After \input ams-math +% +% you can use hundreds characters from AMS math fonts +% (see \mathchardefs below). +% By default: - the fonts are loaded at 10/7/5 sizes. +% - variables are typeset by \mit (fam1) +% - digits and \sin, \cos, etc. are typeset by fam0 +% +% You can use the following alphabets: +% \mit ... mathematical variables +% \rm, \it .. text fonts in math +% \bf, \bi .. bold sans fonts (may be different than text fonts) +% \cal ... normal calligraphics +% \script ... script +% \frak ... fraktur +% \bbchar ... double stroked letters +% +% You can reload all math family fonts in two shapes: +% \normalmath ... normal shape +% \boldmath ... bold shape at implicit sizes or sizes set by +% Before reloading the fonts by previous comand you can set the sizes: +% \setmathsizes[text/script/scriptscript] +% Example \setmathsizes[12/8.4/6]\normalmath ... loads fonts at given sizes +% +% You can set typesetting of math variables from current text font +% by the command: \itvariavles. The \mitvariables reverts to the +% default. + +\def\normalmath{% + \loadmathfamily 0 cmr % CM Roman + \loadmathfamily 1 cmmi % CM Math Italic + \loadmathfamily 2 cmsy % CM Standard symbols + \loadmathfamily 3 cmex % CM extra symbols + \loadmathfamily 4 msam % AMS symbols A + \loadmathfamily 5 msbm % AMS symbols B + \loadmathfamily 6 rsfs % script + \loadmathfamily 7 eufm % fractur + \loadmathfamily 8 bfsans % sans serif bold + \loadmathfamily 9 bisans % sans serif bold slanted (for vectors) + \chardef\rmfam 10 \setmathfamily \rmfam \tenrm + \chardef\itfam 11 \setmathfamily \itfam \tenit + \setmathdimens +} +\def\boldmath{% + \loadmathfamily 0 cmbx % CM Roman Bold Extended + \loadmathfamily 1 cmmib % CM Math Italic Bold + \loadmathfamily 2 cmbsy % CM Standard symbols Bold + \loadmathfamily 3 cmexb % CM extra symbols Bold + \loadmathfamily 4 msam % AMS symbols A (bold not available?) + \loadmathfamily 5 msbm % AMS symbols B (bold not available?) + \loadmathfamily 6 rsfs % script (bold not available?) + \loadmathfamily 7 eufb % fractur bold + \loadmathfamily 8 bbfsans % sans serif extra bold + \loadmathfamily 9 bbisans % sans serif extra bold slanted (for vectors) + \chardef\rmfam 10 \setmathfamily \rmfam \tenrm + \chardef\itfam 11 \setmathfamily \itfam \tenit + \setmathdimens +} +\count18=11 % families declared by \newfam are 12, 13, ... + +\let\normalAMSmath=\normalmath \let\boldAMSmath=\boldmath + +\def\bi{\tenbi \fam\bifam} % in csplain is done \def\bi{\tenbi} only +\def\bbchar{\fam5 } % double stroked letters +\def\frak{\fam7 } % fraktur +\def\script{\fam6 } % more extensive script than \cal +\chardef\bffam 8 % sans serif bold +\chardef\bifam 9 % sans serif bold slanted +\chardef\slfam 10 % similar to slanted font from plainTeX +\chardef\ttfam 11 % \tt in math is unusable + +% \regtfm formal-name 0 tfm[1] p[1] tfm[2] p[2] ... tfm[n] * +% +% Imagine the interval [0,\infty) represented here by [0,*) with internal +% points p[i]. Between each two points (measured in pt), there is the name +% of a real tfm metric. The tfm[i] is the result of the expansion-only macro +% \whichtfm{formal-name} iff \dgsize is in the interval [p[i-1], p[i]). +% Example of the usage: \font\foo=\whichtfm{cmr} at\dgsize + +\def\regtfm #1 0 #2 *{\expandafter + \def\csname#1:reg\endcsname{#2 16380 \relax}% + \def\tmpa{#1}\reversetfm #2 * % +} +\def\reversetfm #1 #2 {% we need this data for \setmathfamily + \expandafter\let\csname#1:reg\expandafter\endcsname + \csname\tmpa:reg\endcsname + \if*#2\else \expandafter\reversetfm \fi +} + +\ifx\font\lmfonts \else % lmfonts setting has a precedence + +% CM text fonts which have the CSfont alternative: +\regtfm cmr 0 csr5 5.5 csr6 6.5 csr7 7.5 csr8 8.5 csr9 9.5 + csr10 11.1 csr12 15 csr17 * +\regtfm cmbx 0 csbx5 5.5 csbx6 6.5 csbx7 7.5 csbx8 8.5 csbx9 9.5 + csbx10 11.1 csbx12 * +\regtfm cmsl 0 cssl8 8.5 cssl9 9.5 cssl10 11.1 cssl12 * +\regtfm cmtt 0 cstt8 8.5 cstt9 9.5 cstt10 11.1 cstt12 * +\regtfm cmss 0 csss8 8.5 csss9 9.5 csss10 11.1 csss12 15 csss17 * +\regtfm cmssi 0 csssi8 8.5 csssi9 9.5 csssi10 11.1 csssi12 15 csssi17 * +\regtfm cmti 0 csti7 7.5 csti8 8.5 csti9 9.5 csti10 11.1 csti12 * +\regtfm cmbxti 0 csbxti10 * +% CM math fonts +\regtfm cmmi 0 cmmi5 5.5 cmmi6 6.5 cmmi7 7.5 cmmi8 8.5 cmmi9 9.5 + cmmi10 11.1 cmmi12 * +\regtfm cmmib 0 cmmib5 5.5 cmmib6 6.5 cmmib7 7.5 cmmib8 8.5 cmmib9 + 9.5 cmmib10 * +\regtfm cmtex 0 cstex8 8.5 cstex9 9.5 cstex10 * +\regtfm cmsy 0 cmsy5 5.5 cmsy6 6.5 cmsy7 7.5 cmsy8 8.5 cmsy9 9.5 + cmsy10 * +\regtfm cmbsy 0 cmbsy5 5.5 cmbsy6 6.5 cmbsy7 7.5 cmbsy8 8.5 cmbsy9 9.5 + cmbsy10 * +\regtfm cmex 0 cmex7 7.5 cmex8 8.5 cmex9 9.5 cmex10 * +\regtfm cmexb 0 cmexb10 * +% AMS fonts +\regtfm msam 0 msam5 5.5 msam6 6.5 msam7 7.5 msam8 8.5 msam9 + 9.5 msam10 * +\regtfm msbm 0 msbm5 5.5 msbm6 6.5 msbm7 7.5 msbm8 8.5 msbm9 + 9.5 msbm10 * +\regtfm eufm 0 eufm5 5.5 eufm6 6.5 eufm7 7.5 eufm8 8.5 eufm9 + 9.5 eufm10 * +\regtfm eufb 0 eufb5 5.5 eufb6 6.5 eufb7 7.5 eufb8 8.5 eufb9 + 9.5 eufb10 * +% other fonts +\regtfm rsfs 0 rsfs5 6 rsfs7 8.5 rsfs10 * +\regtfm bfsans 0 ecsx0500 5.5 ecsx0600 6.5 ecsx0700 7.5 ecsx0800 + 8.5 ecsx0900 9.5 ecsx1000 11.1 ecsx1200 * +\regtfm bisans 0 ecso0500 5.5 ecso0600 6.5 ecso0700 7.5 ecso0800 + 8.5 ecso0900 9.5 ecso1000 11.1 ecso1200 * +\regtfm bbfsans 0 ecsx0500 5.5 ecsx0600 6.5 ecsx0700 7.5 ecsx0800 + 8.5 ecsx0900 9.5 ecsx1000 11.1 ecsx1200 * +\regtfm bbisans 0 ecso0500 5.5 ecso0600 6.5 ecso0700 7.5 ecso0800 + 8.5 ecso0900 9.5 ecso1000 11.1 ecso1200 * + +\fi + +% User can re-register these tfm's mentioned above after \input ams-math.tex +% if he/she want to load other fonts than these defaults. + +% The new size of font produced by csplain \resizefont macro would be +% derived using \regtmf data. In order to do this you can re-define this +% csplain macro (see csfontsm.tex file): +% \def\resizefontskipat#1 #2\relax{\whichtfm{#1} \sizespec\relax} +% but now there is a different usage of the \resizefont: +% \def\dgsize{17pt}\def\sizespec{at\dgsize}\resizefont\tenrm + +\ifx\corrmsizes\undefined \def\corrmsizes#1{}\fi % see tx-math for the + % example of \corrmsizes + +%% macros: + +\def\itvariables{\def\rm{\fam\rmfam \tenrm}% + \mathcodechanges A:0-9\mathcodechanges B:A-Z\mathcodechanges B:a-z} +\def\mitvariables{\def\rm{\fam0\tenrm}% + \mathcodechanges 0:0-9\mathcodechanges 1:A-Z\mathcodechanges 1:a-z} + +\def\loadmathfamily #1 #2 {\corrmsizes{#1}% + \let\dgsize=\sizemtext + \font\tmp=\whichtfm{#2} at\dgsize \textfont#1=\tmp + \let\dgsize=\sizemscript + \font\tmp=\whichtfm{#2} at \dgsize \scriptfont#1=\tmp + \let\dgsize=\sizemsscript + \font\tmp=\whichtfm{#2} at\dgsize \scriptscriptfont#1=\tmp + \ptmunit=1pt +} +\def\setmathfamily #1#2{\corrmsizes{#1}% + \let\dgsize=\sizemtext + \font\tmp = \specfontname #2 at\sizemtext \textfont#1=\tmp + \let\dgsize=\sizemscript + \font\tmp = \specfontname #2 at\sizemscript \scriptfont#1=\tmp + \let\dgsize=\sizemsscript + \font\tmp = \specfontname #2 at\sizemsscript \scriptscriptfont#1=\tmp + \ptmunit=1pt +} +\def\specfontname #1{\expandafter \ignoreatpt \fontname #1 \relax} +\def\ignoreatpt #1 #2\relax{\whichtfm{#1}} +\def\mathcodechanges#1:#2-#3{\chardef\tmp=\count0 \chardef\tmpa=\count1 + \count0=`#2 \count1=\count0 \advance\count1 by"7#100 + \loop \mathcode\count0=\count1 + \ifnum\count0<`#3 \advance\count0 by1 \advance\count1 by1 \repeat + \count0=\tmp \count1=\tmpa +} +\def\whichtfm #1{\expandafter \ifx\csname#1:reg\endcsname\relax + #1% + \else + \expandafter\expandafter\expandafter \dowhichtfm + \csname #1:reg\expandafter\endcsname + \fi +} +\def\dowhichtfm #1 #2 {% + \ifdim\dgsize<#2pt #1\expandafter\ignoretfm\else \expandafter\dowhichtfm +\fi +} +\def\ignoretfm #1\relax{} + +\def\setmathdimens{% PlainTeX sets these dimens for 10pt size only: + \delimitershortfall=0.5\fontdimen6\textfont3 + \nulldelimiterspace=0.12\fontdimen6\textfont3 + \scriptspace=0.05\fontdimen6\textfont3 + \skewchar\textfont1=127 \skewchar\scriptfont1=127 + \skewchar\scriptscriptfont1=127 + \skewchar\textfont2=48 \skewchar\scriptfont2=48 + \skewchar\scriptscriptfont2=48 +} + +% \setmathsizes: + +\def\setmathsizes[#1/#2/#3]{% + \def\sizemtext{#1\ptmunit}\def\sizemscript{#2\ptmunit}% + \def\sizemsscript{#3\ptmunit}% +} +\newdimen\ptmunit \ptmunit=1pt % used in \corrmsizes + +\setmathsizes[10/7/5] + +\ifx\tenbi\undefined \font\tenbi=ptmbi8z \relax \fi +\normalmath % load families, normal shape +\mitvariables % \rm in \fam0 and avriables in math by \mit + +%% \mathchardef declarations + +\def\amsafam{4} \def\amsbfam{5} + +%% AMSA + +\mathchardef \boxdot "2\amsafam 00 +\mathchardef \boxplus "2\amsafam 01 +\mathchardef \boxtimes "2\amsafam 02 +\mathchardef \square "0\amsafam 03 +\mathchardef \blacksquare "0\amsafam 04 +\mathchardef \centerdot "2\amsafam 05 +\mathchardef \lozenge "0\amsafam 06 +\mathchardef \blacklozenge "0\amsafam 07 +\mathchardef \circlearrowright "3\amsafam 08 +\mathchardef \circlearrowleft "3\amsafam 09 +\mathchardef \rightleftharpoons "3\amsafam 0A +\mathchardef \leftrightharpoons "3\amsafam 0B +\mathchardef \boxminus "2\amsafam 0C +\mathchardef \Vdash "3\amsafam 0D +\mathchardef \Vvdash "3\amsafam 0E +\mathchardef \vDash "3\amsafam 0F +\mathchardef \twoheadrightarrow "3\amsafam 10 +\mathchardef \twoheadleftarrow "3\amsafam 11 +\mathchardef \leftleftarrows "3\amsafam 12 +\mathchardef \rightrightarrows "3\amsafam 13 +\mathchardef \upuparrows "3\amsafam 14 +\mathchardef \downdownarrows "3\amsafam 15 +\mathchardef \upharpoonright "3\amsafam 16 +\mathchardef \downharpoonright "3\amsafam 17 +\mathchardef \upharpoonleft "3\amsafam 18 +\mathchardef \downharpoonleft "3\amsafam 19 +\mathchardef \rightarrowtail "3\amsafam 1A +\mathchardef \leftarrowtail "3\amsafam 1B +\mathchardef \leftrightarrows "3\amsafam 1C +\mathchardef \rightleftarrows "3\amsafam 1D +\mathchardef \Lsh "3\amsafam 1E +\mathchardef \Rsh "3\amsafam 1F +\mathchardef \rightsquigarrow "3\amsafam 20 +\mathchardef \leftrightsquigarrow "3\amsafam 21 +\mathchardef \looparrowleft "3\amsafam 22 +\mathchardef \looparrowright "3\amsafam 23 +\mathchardef \circeq "3\amsafam 24 +\mathchardef \succsim "3\amsafam 25 +\mathchardef \gtrsim "3\amsafam 26 +\mathchardef \gtrapprox "3\amsafam 27 +\mathchardef \multimap "3\amsafam 28 +\mathchardef \therefore "3\amsafam 29 +\mathchardef \because "3\amsafam 2A +\mathchardef \doteqdot "3\amsafam 2B +\mathchardef \triangleq "3\amsafam 2C +\mathchardef \precsim "3\amsafam 2D +\mathchardef \lesssim "3\amsafam 2E +\mathchardef \lessapprox "3\amsafam 2F +\mathchardef \eqslantless "3\amsafam 30 +\mathchardef \eqslantgtr "3\amsafam 31 +\mathchardef \curlyeqprec "3\amsafam 32 +\mathchardef \curlyeqsucc "3\amsafam 33 +\mathchardef \preccurlyeq "3\amsafam 34 +\mathchardef \leqq "3\amsafam 35 +\mathchardef \leqslant "3\amsafam 36 +\mathchardef \lessgtr "3\amsafam 37 +\mathchardef \backprime "0\amsafam 38 +\mathchardef \risingdotseq "3\amsafam 3A +\mathchardef \fallingdotseq "3\amsafam 3B +\mathchardef \succcurlyeq "3\amsafam 3C +\mathchardef \geqq "3\amsafam 3D +\mathchardef \geqslant "3\amsafam 3E +\mathchardef \gtrless "3\amsafam 3F +\mathchardef \sqsubset "3\amsafam 40 +\mathchardef \sqsupset "3\amsafam 41 +\mathchardef \vartriangleright "3\amsafam 42 +\mathchardef \vartriangleleft "3\amsafam 43 +\mathchardef \trianglerighteq "3\amsafam 44 +\mathchardef \trianglelefteq "3\amsafam 45 +\mathchardef \bigstar "0\amsafam 46 +\mathchardef \between "3\amsafam 47 +\mathchardef \blacktriangledown "0\amsafam 48 +\mathchardef \blacktriangleright "3\amsafam 49 +\mathchardef \blacktriangleleft "3\amsafam 4A +\mathchardef \vartriangle "3\amsafam 4D +\mathchardef \blacktriangle "0\amsafam 4E +\mathchardef \triangledown "0\amsafam 4F +\mathchardef \eqcirc "3\amsafam 50 +\mathchardef \lesseqgtr "3\amsafam 51 +\mathchardef \gtreqless "3\amsafam 52 +\mathchardef \lesseqqgtr "3\amsafam 53 +\mathchardef \gtreqqless "3\amsafam 54 +\mathchardef \Rrightarrow "3\amsafam 56 +\mathchardef \Lleftarrow "3\amsafam 57 +\mathchardef \veebar "2\amsafam 59 +\mathchardef \barwedge "2\amsafam 5A +\mathchardef \doublebarwedge "2\amsafam 5B +\mathchardef \angle "0\amsafam 5C +\mathchardef \measuredangle "0\amsafam 5D +\mathchardef \sphericalangle "0\amsafam 5E +\mathchardef \varpropto "3\amsafam 5F +\mathchardef \smallsmile "3\amsafam 60 +\mathchardef \smallfrown "3\amsafam 61 +\mathchardef \Subset "3\amsafam 62 +\mathchardef \Supset "3\amsafam 63 +\mathchardef \Cup "2\amsafam 64 +\mathchardef \Cap "2\amsafam 65 +\mathchardef \curlywedge "2\amsafam 66 +\mathchardef \curlyvee "2\amsafam 67 +\mathchardef \leftthreetimes "2\amsafam 68 +\mathchardef \rightthreetimes "2\amsafam 69 +\mathchardef \subseteqq "3\amsafam 6A +\mathchardef \supseteqq "3\amsafam 6B +\mathchardef \bumpeq "3\amsafam 6C +\mathchardef \Bumpeq "3\amsafam 6D +\mathchardef \lll "3\amsafam 6E +\mathchardef \ggg "3\amsafam 6F +\def \ulcorner {\delimiter"4\amsafam 70\amsafam 70 } +\def \urcorner {\delimiter"5\amsafam 71\amsafam 71 } +\mathchardef \circledS "0\amsafam 73 +\mathchardef \pitchfork "3\amsafam 74 +\mathchardef \dotplus "2\amsafam 75 +\mathchardef \backsim "3\amsafam 76 +\mathchardef \backsimeq "3\amsafam 77 +\def \llcorner {\delimiter"4\amsafam 78\amsafam 78 } +\def \lrcorner {\delimiter"5\amsafam 79\amsafam 79 } +\mathchardef \complement "0\amsafam 7B +\mathchardef \intercal "2\amsafam 7C +\mathchardef \circledcirc "2\amsafam 7D +\mathchardef \circledast "2\amsafam 7E +\mathchardef \circleddash "2\amsafam 7F +\mathchardef \rhd "2\amsafam 42 +\mathchardef \lhd "2\amsafam 43 +\mathchardef \unrhd "2\amsafam 44 +\mathchardef \unlhd "2\amsafam 45 + + \let\restriction\upharpoonright + \let\Doteq\doteqdot + \let\doublecup\Cup + \let\doublecap\Cap + \let\llless\lll + \let\gggtr\ggg + \let\Box=\square % LaTeX symbol + \let\Box=\square % LaTeX symbol + +%% AMSB + +\mathchardef \lvertneqq "3\amsbfam 00 +\mathchardef \gvertneqq "3\amsbfam 01 +\mathchardef \nleq "3\amsbfam 02 +\mathchardef \ngeq "3\amsbfam 03 +\mathchardef \nless "3\amsbfam 04 +\mathchardef \ngtr "3\amsbfam 05 +\mathchardef \nprec "3\amsbfam 06 +\mathchardef \nsucc "3\amsbfam 07 +\mathchardef \lneqq "3\amsbfam 08 +\mathchardef \gneqq "3\amsbfam 09 +\mathchardef \nleqslant "3\amsbfam 0A +\mathchardef \ngeqslant "3\amsbfam 0B +\mathchardef \lneq "3\amsbfam 0C +\mathchardef \gneq "3\amsbfam 0D +\mathchardef \npreceq "3\amsbfam 0E +\mathchardef \nsucceq "3\amsbfam 0F +\mathchardef \precnsim "3\amsbfam 10 +\mathchardef \succnsim "3\amsbfam 11 +\mathchardef \lnsim "3\amsbfam 12 +\mathchardef \gnsim "3\amsbfam 13 +\mathchardef \nleqq "3\amsbfam 14 +\mathchardef \ngeqq "3\amsbfam 15 +\mathchardef \precneqq "3\amsbfam 16 +\mathchardef \succneqq "3\amsbfam 17 +\mathchardef \precnapprox "3\amsbfam 18 +\mathchardef \succnapprox "3\amsbfam 19 +\mathchardef \lnapprox "3\amsbfam 1A +\mathchardef \gnapprox "3\amsbfam 1B +\mathchardef \nsim "3\amsbfam 1C +\mathchardef \ncong "3\amsbfam 1D +\mathchardef \diagup "0\amsbfam 1E +\mathchardef \diagdown "0\amsbfam 1F +\mathchardef \varsubsetneq "3\amsbfam 20 +\mathchardef \varsupsetneq "3\amsbfam 21 +\mathchardef \nsubseteqq "3\amsbfam 22 +\mathchardef \nsupseteqq "3\amsbfam 23 +\mathchardef \subsetneqq "3\amsbfam 24 +\mathchardef \supsetneqq "3\amsbfam 25 +\mathchardef \varsubsetneqq "3\amsbfam 26 +\mathchardef \varsupsetneqq "3\amsbfam 27 +\mathchardef \subsetneq "3\amsbfam 28 +\mathchardef \supsetneq "3\amsbfam 29 +\mathchardef \nsubseteq "3\amsbfam 2A +\mathchardef \nsupseteq "3\amsbfam 2B +\mathchardef \nparallel "3\amsbfam 2C +\mathchardef \nmid "3\amsbfam 2D +\mathchardef \nshortmid "3\amsbfam 2E +\mathchardef \nshortparallel "3\amsbfam 2F +\mathchardef \nvdash "3\amsbfam 30 +\mathchardef \nVdash "3\amsbfam 31 +\mathchardef \nvDash "3\amsbfam 32 +\mathchardef \nVDash "3\amsbfam 33 +\mathchardef \ntrianglerighteq "3\amsbfam 34 +\mathchardef \ntrianglelefteq "3\amsbfam 35 +\mathchardef \ntriangleleft "3\amsbfam 36 +\mathchardef \ntriangleright "3\amsbfam 37 +\mathchardef \nleftarrow "3\amsbfam 38 +\mathchardef \nrightarrow "3\amsbfam 39 +\mathchardef \nLeftarrow "3\amsbfam 3A +\mathchardef \nRightarrow "3\amsbfam 3B +\mathchardef \nLeftrightarrow "3\amsbfam 3C +\mathchardef \nleftrightarrow "3\amsbfam 3D +\mathchardef \divideontimes "2\amsbfam 3E +\mathchardef \varnothing "0\amsbfam 3F +\mathchardef \nexists "0\amsbfam 40 +\mathchardef \Finv "0\amsbfam 60 +\mathchardef \Game "0\amsbfam 61 +\mathchardef \mho "0\amsbfam 66 +\mathchardef \eth "0\amsbfam 67 +\mathchardef \eqsim "3\amsbfam 68 +\mathchardef \beth "0\amsbfam 69 +\mathchardef \gimel "0\amsbfam 6A +\mathchardef \daleth "0\amsbfam 6B +\mathchardef \lessdot "2\amsbfam 6C +\mathchardef \gtrdot "2\amsbfam 6D +\mathchardef \ltimes "2\amsbfam 6E +\mathchardef \rtimes "2\amsbfam 6F +\mathchardef \shortmid "3\amsbfam 70 +\mathchardef \shortparallel "3\amsbfam 71 +\mathchardef \smallsetminus "2\amsbfam 72 +\mathchardef \thicksim "3\amsbfam 73 +\mathchardef \thickapprox "3\amsbfam 74 +\mathchardef \approxeq "3\amsbfam 75 +\mathchardef \precapprox "3\amsbfam 76 +\mathchardef \succapprox "3\amsbfam 77 +\mathchardef \curvearrowleft "3\amsbfam 78 +\mathchardef \curvearrowright "3\amsbfam 79 +\mathchardef \digamma "0\amsbfam 7A +\mathchardef \varkappa "0\amsbfam 7B +\mathchardef \Bbbk "0\amsbfam 7C +\mathchardef \hslash "0\amsbfam 7D +\mathchardef \hbar "0\amsbfam 7E +\mathchardef \backepsilon "3\amsbfam 7F + +%%% macros + +\def\joinrel{\mathrel{\mkern-2.5mu}} %-3mu in plain TeX + +\let\circledplus\oplus +\let\circledminus\ominus +\let\circledtimes\otimes +\let\circledslash\oslash +\let\circleddot\odot + +%%% \big, \bigg, etc: + +\def\scalebig#1#2{{\left#1\vbox to#2\fontdimen6\textfont3{}% + \kern-\nulldelimiterspace\right.}} +\def\big#1{\scalebig{#1}{.85}} +\def\Big#1{\scalebig{#1}{1.15}} +\def\bigg#1{\scalebig{#1}{1.45}} +\def\Bigg#1{\scalebig{#1}{1.75}} + +%%% \not redefined: +%%% \not< becomes \nless +%%% \not> becomes \ngtr +%%% if \notXXX is defined, \not\XXX becomes \notXXX; +%%% if \nXXX is defined, \not\XXX becomes \nXXX; +%%% otherwise, \not\XXX is done in the usual way. + +\mathchardef \notchar "3236 + +\def\not#1{% + \ifx\TeX\relax \noexpand\not \else % \let\TeX=\relax in \output routine + \ifx #1<\nless \else + \ifx #1>\ngtr \else + \bgroup\escapechar=-1\xdef\tmpn{\string#1}\egroup + \expandafter\ifx \csname not\tmpn\endcsname \relax + \expandafter\ifx \csname n\tmpn\endcsname \relax + \mathrel{\mathord{\notchar}\mathord{#1}}% + \else \csname n\tmpn\endcsname \fi + \else \csname not\tmpn\endcsname \fi + \fi\fi\fi} + +\endinput + +% end of ams-math.tex file + diff --git a/Master/texmf-dist/tex/csplain/fonts/cavantga.tex b/Master/texmf-dist/tex/csplain/fonts/cavantga.tex new file mode 100644 index 00000000000..8742df30e6f --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cavantga.tex @@ -0,0 +1,34 @@ +% The file cavantga.tex (C) Petr Olsak, 1996, 1999, 2012 +% Use "\input cavantga" to set the AvantGarde fonts family in text mode. + +\message{FONT: AvantGarde - + \string\rm, \string\it, \string\bf, \string\bi, \string\tt.} + + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded + \def\tmp{8t \sizespec}\def\tmpa{8t \sizespec} +\else \def\tmp{8z \sizespec}\def\tmpa{8u \sizespec} +\fi + +\font\tenrm=pagk\tmp +\font\tenbf=pagd\tmp +\font\tenit=pagko\tmp +\font\tenbi=pagdo\tmp +\font\tentt=pcrr\tmpa +\let\tensl=\tenit + +\tenrm + +\ifx\font\corkencoded \else \input chars-8z \fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +\let\setsimplemath=\relax % this command is obsolete + +% The \TeX logo corrected by Ivo Jancik for AvantGarde fonts family +\def\agTeX{T\kern-.08em\lower.3333ex\hbox{E}\kern-0.09emX} +\ifx\origTeX\undefined \let\origTeX=\TeX \fi +\let\TeX=\agTeX + +% end of cavantga.tex diff --git a/Master/texmf-dist/tex/csplain/fonts/cbookman.tex b/Master/texmf-dist/tex/csplain/fonts/cbookman.tex new file mode 100644 index 00000000000..d033df87182 --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cbookman.tex @@ -0,0 +1,33 @@ +% The file cbookman.tex (C) Petr Olsak, 1996, 1999, 2012 +% Use "\input cbookman" to set the Bookman fonts family in text mode + +\message{FONT: Bookman - + \string\rm, \string\it, \string\bf, \string\bi, \string\tt.} + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded + \def\tmp{8t \sizespec}\def\tmpa{8t \sizespec} +\else \def\tmp{8z \sizespec}\def\tmpa{8u \sizespec} +\fi + +\font\tenrm=pbkl\tmp +\font\tenbf=pbkd\tmp +\font\tenit=pbkli\tmp +\font\tenbi=pbkdi\tmp +\font\tentt=pcrr\tmpa +\let\tensl=\tenit + +\tenrm + +\ifx\font\corkencoded \else \input chars-8z \fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +\let\setsimplemath=\relax % this command is obsolete + +% The \TeX logo corrected by Ivo Jancik for Bookman fonts family +\def\bmTeX{T\kern-.14em\lower.4ex\hbox{E}\kern-.125emX} +\ifx\origTeX\undefined \let\origTeX=\TeX \fi +\let\TeX=\bmTeX + +% end of cbookman.tex diff --git a/Master/texmf-dist/tex/csplain/fonts/chars-8z.tex b/Master/texmf-dist/tex/csplain/fonts/chars-8z.tex new file mode 100644 index 00000000000..f774361d72a --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/chars-8z.tex @@ -0,0 +1,69 @@ +% chars-8z.tex file +% Petr Olsak, Oct 2012 + +% The simple declarations of more characters from 8z encoded fonts. + +\chardef\ellipsis 128 +\chardef\dag 129 % plain macro redefined +\chardef\ddag 130 % plain macro redefined +\chardef\texbullet 131 +\chardef\sterling 132 +\chardef\paragraphsign 133 +\chardef\euro 134 +\chardef\trademark 136 +\chardef\copyright 137 % plain macro redefined +\chardef\registered 138 +\chardef\Lslash 163 % plain macro redefined +\chardef\lslash 179 % plain macro redefined +\chardef\currency 164 +\chardef\section 167 +\chardef\clq 154 % czech single left quote +\chardef\crq 155 % czech single right quote +\chardef\flq 142 % french single left quote +\chardef\frq 143 % french single right quote + +\let\P=\paragraphsign % plain macro redefined +\let\S=\section % plain macro redefined +\let\pound=\sterling +\let\L=\Lslash % plain macro redefined +\let\l=\lslash % plain macro redefined +% \let\dots=\ellipsis, don't do it: \dots works in mathmode too. + +\chardef\Aogonek 161 +\chardef\aogonek 177 + +\let\oriogonek=\ogonek % defined in csplain +\def\ogonek#1{\ifx A#1\Aogonek\else\ifx a#1\aogonek\else \oriogonek{#1}\fi\fi} + +\chardef\Ccedilla 199 +\chardef\ccedilla 231 + +\let\oricedilla=\c % defined in plain +\def\c#1{\ifx C#1\Ccedilla\else\ifx c#1\ccedilla\else \oricedilla{#1}\fi\fi} + +\chardef\Edieresis 203 +\chardef\edieresis 235 + +\let\oridieresis=\" % defined in plain (or csplain after \csaccents) +\def\"#1{\ifx E#1\Edieresis\else\ifx e#1\edieresis\else \oridieresis{#1}\fi\fi} + +\chardef\Ihat 206 +\chardef\ihat 238 + +\let\oritexthat=\^ % defined in plain (or csplain after \csaccents) +\def\^#1{\ifx I#1\Ihat\else\ifx i#1\ihat\else \oritexthat{#1}\fi\fi} + +\ifx\mubyte\undefined \expandafter \endinput \fi + +% It seems to be usable to interpret these characterss as UTF-8 codes: +% The characters defined PlainTeX and csplain are set already. + +\mubyte \ellipsis ^^e2^^80^^a6\endmubyte +\mubyte \textbullet ^^e2^^80^^a2\endmubyte +\mubyte \sterling ^^c2^^a3\endmubyte +\mubyte \euro ^^e2^^82^^ac\endmubyte +\mubyte \trademark ^^e2^^84^^a2\endmubyte +\mubyte \registered ^^c2^^ae\endmubyte +\mubyte \currency ^^c2^^a4\endmubyte + +% end of file diff --git a/Master/texmf-dist/tex/csplain/fonts/chelvet.tex b/Master/texmf-dist/tex/csplain/fonts/chelvet.tex new file mode 100644 index 00000000000..38b9988dc1f --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/chelvet.tex @@ -0,0 +1,60 @@ +% The file chelvet.tex (C) Petr Olsak, 1996, 1999, 2012 +% Use "\input chelvet" to set the Helvetica fonts family in text mode + +\message{FONT: Helvetica - + \string\rm, \string\it, \string\bf, \string\bi, \string\tt, + \string\cond\string\rm, ..., \string\cond\string\bi, \string\narrow.} + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded + \def\tmp{8t \sizespec}\def\tmpa{8t \sizespec} +\else \def\tmp{8z \sizespec}\def\tmpa{8u \sizespec} +\fi + +\font\tenrm=phvr\tmp +\font\tenbf=phvb\tmp +\font\tenit=phvro\tmp +\font\tenbi=phvbo\tmp +\font\tentt=pcrr\tmpa +\let\tensl=\tenit + +\tenrm + +\ifx\font\corkencoded % Narrow variants + \font\tenrmn=phvr8tn + \font\tenbfn=phvb8tn + \font\tenitn=phvro8tn + \font\tenbin=phvbo8tn +\else + \font\tenrmn=phvrn8z + \font\tenbfn=phvbn8z + \font\tenitn=phvron8z + \font\tenbin=phvbon8z +\fi + +\ifx\regfont\undefined \else + \regfont\tenrmn \regfont\tenitn + \regfont\tenbfn \regfont\tenbin +\fi + +\def\narrow{% Switches to Narrow variants + \let\tenrm=\tenrmn \let\tenbf=\tenbfn + \let\tenit=\tenitn \let\tenbi=\tenbin \tenrm} + +\def\cond#1{{\escapechar=-1 \expandafter}% + \expandafter\csname\expandafter\tenonlytext\string#1n\endcsname} +\def\tenonlytext{ten} + + +\ifx\font\corkencoded \else \input chars-8z \fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +\let\setsimplemath=\relax % this command is obsolete + +% The \TeX logo corrected by Ivo Jancik for Helvetica fonts family +\def\hvTeX{T\kern-.12em\lower.4ex\hbox{E}\kern-0.09emX} +\ifx\origTeX\undefined \let\origTeX=\TeX \fi +\let\TeX=\hvTeX + +% end of chelvet.tex diff --git a/Master/texmf-dist/tex/csplain/fonts/cncent.tex b/Master/texmf-dist/tex/csplain/fonts/cncent.tex new file mode 100644 index 00000000000..7ff72a57173 --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cncent.tex @@ -0,0 +1,33 @@ +% The file cncent.tex (C) Petr Olsak, 1996, 1999, 2012 +% Use "\input cncent" to set the NewCentury fonts family in text mode + +\message{FONT: NewCentury - + \string\rm, \string\it, \string\bf, \string\bi, \string\tt.} + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded + \def\tmp{8t \sizespec}\def\tmpa{8t \sizespec} +\else \def\tmp{8z \sizespec}\def\tmpa{8u \sizespec} +\fi + +\font\tenrm=pncr\tmp +\font\tenbf=pncb\tmp +\font\tenit=pncri\tmp +\font\tenbi=pncbi\tmp +\font\tentt=pcrr\tmpa +\let\tensl=\tenit + +\tenrm + +\ifx\font\corkencoded \else \input chars-8z \fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +\let\setsimplemath=\relax % this command is obsolete + +% The \TeX logo corrected by Ivo Jancik for NewCentury fonts family +\def\ncTeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX} +\ifx\origTeX\undefined \let\origTeX=\TeX \fi +\let\TeX=\ncTeX + +% end of cncent.tex diff --git a/Master/texmf-dist/tex/csplain/fonts/cpalatin.tex b/Master/texmf-dist/tex/csplain/fonts/cpalatin.tex new file mode 100644 index 00000000000..c8299d91c4c --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cpalatin.tex @@ -0,0 +1,33 @@ +% The file cpalatin.tex (C) Petr Olsak, 1996, 1999, 2012 +% Use "\input cpalatin" to set the Palatino fonts family in text mode + +\message{FONT: Palatino - + \string\rm, \string\it, \string\bf, \string\bi, \string\tt.} + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded + \def\tmp{8t \sizespec}\def\tmpa{8t \sizespec} +\else \def\tmp{8z \sizespec}\def\tmpa{8u \sizespec} +\fi + +\font\tenrm=pplr\tmp +\font\tenbf=pplb\tmp +\font\tenit=pplri\tmp +\font\tenbi=pplbi\tmp +\font\tentt=pcrr\tmpa +\let\tensl=\tenit + +\tenrm + +\ifx\font\corkencoded \else \input chars-8z \fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +\let\setsimplemath=\relax % this command is obsolete + +% The \TeX logo corrected by Ivo Jancik for Palatino fonts family +\def\palTeX{T\kern-.1667em\lower.3333ex\hbox{E}\kern-.125emX} +\ifx\origTeX\undefined \let\origTeX=\TeX \fi +\let\TeX=\palTeX + +% end of cpalatin.tex diff --git a/Master/texmf-dist/tex/csplain/fonts/cs-adventor.tex b/Master/texmf-dist/tex/csplain/fonts/cs-adventor.tex new file mode 100644 index 00000000000..ed0d9b7ac4b --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cs-adventor.tex @@ -0,0 +1,36 @@ +% The file cs-adventor.tex (C) Petr Olsak, 2012 +% Use "\input cs-adventor" to set the Termes fonts family in text mode + +\message{FONT: Adventor - + \string\rm, \string\it, \string\bf, \string\bi, \string\caps\string\rm...} + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded \def\tmp{ec}\else \def\tmp{cs}\fi + +\ifx\font\unicoded \def\famname{texgyreadventor} \input unifam +\else + +\font\tenrm=\tmp-qagr \sizespec +\font\tenbf=\tmp-qagb \sizespec +\font\tenit=\tmp-qagri \sizespec +\font\tenbi=\tmp-qagbi \sizespec + +\font\tenrmc=\tmp-qagr-sc \sizespec +\font\tenbfc=\tmp-qagb-sc \sizespec +\font\tenitc=\tmp-qagri-sc \sizespec +\font\tenbic=\tmp-qagbi-sc \sizespec + +\fi + +\tenrm + +\def\caps#1{{\escapechar=-1 \expandafter}% + \expandafter\csname\expandafter\tenonlytext\string#1c\endcsname} +\def\tenonlytext{ten} + +\ifx\font\corkencoded \else \input chars-8z \fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +% end of cs-adventor.tex + diff --git a/Master/texmf-dist/tex/csplain/fonts/cs-all.tex b/Master/texmf-dist/tex/csplain/fonts/cs-all.tex new file mode 100644 index 00000000000..b30ade6c19c --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cs-all.tex @@ -0,0 +1,35 @@ +% cs-all.tex : reports about font-macro-files only +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Petr Olsak, 2012 + +% If you make your new font-macro-file, add the information about it here, +% please + +\newtoks\ttoks +\def\w#1#2#3{\ttoks{#3}\immediate\write16{#1 : \space== #2 ==} + \immediate\write16{\space\space\space\the\ttoks}} + +\immediate\write16{----------- Font packages from csplain available -----------} +\w{ctimes}{Times}{\rm, \it, \bf, \bi, \tt} +\w{cavant}{AvantGarde}{\rm, \it, \bf, \bi, \tt} +\w{cbookman}{Bookman}{\rm, \it, \bf, \bi, \tt} +\w{chelvet}{Helvetica}{\rm, \it, \bf, \bi, \tt, \cond\rm, ..., \cond\bi} +\w{cncent}{NewCentury}{\rm, \it, \bf, \bi, \tt} +\w{cpalatin}{Palatino}{\rm, \it, \bf, \bi, \tt.} +\w{cs-bera}{Bera}{\rm, \it, \bf, \bi, \rms, ..., \bis, \tt, \ttit, \ttbf, \ttbi} +\w{cs-arev}{ArevSans}{\rm, \it, \bf, \bi} +\w{cs-charter}{Charter}{\rm, \it, \bf, \bi} +\w{cs-antt}{Antykwa Torunska}{\rm, \it, \bf, \bi, \lr, \li, \mr, \mi, \caps\rm...} +\w{cs-polta}{Antykwa Poltawskiego}{\rm,\it,\bf,\bi,\lr,\li,\mr,\mi,\caps\rm...} +\w{cs-termes}{TeX Gyre Termes}{\rm, \it, \bf, \bi, \caps\rm, ...} +\w{cs-adventor}{TeX Gyre Adventor}{\rm, \it, \bf, \bi, \caps\rm, ...} +\w{cs-bonum}{TeX Gyre Bonum}{\rm, \it, \bf, \bi, \caps\rm, ...} +\w{cs-heros}{TeX Grye Heros}{\rm, \it, \bf, \bi, \caps\rm, ..., \narrow} +\w{cs-pagella}{TeX Gyre Pagella}{\rm, \it, \bf, \bi, \caps\rm, ...} +\w{cs-schola}{TeX Gyre Schola}{\rm, \it, \bf, \bi, \caps\rm, ...} +\w{cs-cursor}{TeX Gyre Cursor}{\rm, \it, \bf, \bi, \caps\rm, ...} +\w{lmfonts}{Latin Modern}{\rm, \it, \bf, \bi + math} +\w{tx-math}{TX math fonts}{14 families, \mathchardef's prepared. Loaded automatically.} +\w{ams-math}{AMS math fonts}{12 families, \mathchardef's prepared. You can load it.} + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/csplain/fonts/cs-antt.tex b/Master/texmf-dist/tex/csplain/fonts/cs-antt.tex new file mode 100644 index 00000000000..3304fa32fba --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cs-antt.tex @@ -0,0 +1,56 @@ +% cs-antt.tex: fonts loading file of Antykwa Torunska +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Petr Olsak, 2012 + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded \def\tmp{ec}\else \def\tmp{cs}\fi + +\message{FONT: Antykwa Torunska - + \string\rm, \string\it, \string\bf, \string\bi, + \string\lr, \string\li, \string\mr, \string\mi, + \string\caps\string\rm...} + +\font\tenrm=\tmp-anttr \sizespec +\font\tenbf=\tmp-anttb \sizespec +\font\tenit=\tmp-anttri \sizespec +\font\tenbi=\tmp-anttbi \sizespec + +\font\tenlr=\tmp-anttl \sizespec \def\lr{\tenlr} +\font\tenli=\tmp-anttli \sizespec \def\li{\tenli} +\font\tenmr=\tmp-anttm \sizespec \def\mr{\tenmr} +\font\tenmi=\tmp-anttmi \sizespec \def\mi{\tenmi} + +\font\tenrmc=\tmp-anttrcap \sizespec +\font\tenbfc=\tmp-anttbcap \sizespec +\font\tenitc=\tmp-anttricap \sizespec +\font\tenbic=\tmp-anttbicap \sizespec + +\font\tenlrc=\tmp-anttlcap \sizespec +\font\tenlic=\tmp-anttlicap \sizespec +\font\tenmrc=\tmp-anttmcap \sizespec +\font\tenmic=\tmp-anttmicap \sizespec + +\tenrm + +% You can use \cap\rm, \cap\bf, \cap\li + +\def\caps#1{{\escapechar=-1 \expandafter}% + \expandafter\csname\expandafter\tenonlytext\string#1c\endcsname} +\def\tenonlytext{ten} + +\ifx\regfont\undefined \else + \regfont\tenlr \regfont\tenli + \regfont\tenmr \regfont\tenmi + \regfont\tenrmc \regfont\tenitc + \regfont\tenbfc \regfont\tenbic + \regfont\tenlrc \regfont\tenlic + \regfont\tenmrc \regfont\tenmic +\fi + +\def\txr{cs-anttr} \def\txmi{mi-anttri} +\def\txb{cs-anttb} \def\txbi{mi-anttbi} +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +\ifx\font\corkencoded \else \input chars-8z \fi + +% end of cs-antt.tex diff --git a/Master/texmf-dist/tex/csplain/fonts/cs-arev.tex b/Master/texmf-dist/tex/csplain/fonts/cs-arev.tex new file mode 100644 index 00000000000..d0b1cf6fae9 --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cs-arev.tex @@ -0,0 +1,21 @@ +% cs-arev.tex: fonts loading file of ArevSans +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Petr Olsak, 2012 + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded \def\tmp{8t \sizespec}\else + \errmessage{ArevSans is unavailable at CS-encoding. use \noexpand\input t1code.} +\fi + +\message{FONT: ArevSans - + \string\rm, \string\it, \string\bf, \string\bi\space and math loaded.} + +\font\tenrm=favr\tmp +\font\tenbf=favb\tmp +\font\tenit=favri\tmp +\font\tenbi=favbi\tmp + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + + +% end of cs-arev.tex diff --git a/Master/texmf-dist/tex/csplain/fonts/cs-bera.tex b/Master/texmf-dist/tex/csplain/fonts/cs-bera.tex new file mode 100644 index 00000000000..623795823fb --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cs-bera.tex @@ -0,0 +1,42 @@ +% cs-bera.tex: fonts loading file of Bera fonts +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Petr Olsak, 2012 + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded \def\tmp{8t \sizespec}\else + \errhelp{If you like this font you can try to generate the 8z metrics.} + \errmessage{Bera is unavailable at CS-encoding. use \noexpand\input t1code} +\fi + +\message{FONT: Bera + \string\rm, \string\it, \string\bf, \string\bi, + \string\rms, \string\its, \string\bfs, \string\bis, + \string\tt, \string\ttit, \string\ttbf, \string\ttbi.} + +\font\tenrm=fver\tmp +\font\tenbf=fveb\tmp +\font\tenit=fvero\tmp +\font\tenbi=fvebo\tmp + +\font\tenrms=fvsr\tmp \def\rms{\tenrms} +\font\tenbfs=fvsb\tmp \def\bfs{\tenbfs} +\font\tenits=fvsro\tmp \def\its{\tenits} +\font\tenbis=fvsbo\tmp \def\bis{\tenbis} + +\font\tentt=fvsr\tmp +\font\tenttbf=fvsb\tmp \def\ttbf{\tenttbf} +\font\tenttit=fvsro\tmp \def\ttit{\tenttit} +\font\tenttbi=fvsbo\tmp \def\ttbi{\tenttbi} + +\ifx\regfont\undefined \else + \regfont\tenrm \regfont\tenit + \regfont\tenbf \regfont\tenbi + \regfont\tenrms \regfont\tenits + \regfont\tenbfs \regfont\tenbis + \regfont\tentt \regfont\tenttit + \regfont\tenttbf \regfont\tenttbi +\fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +% end of cs-bera.tex diff --git a/Master/texmf-dist/tex/csplain/fonts/cs-bonum.tex b/Master/texmf-dist/tex/csplain/fonts/cs-bonum.tex new file mode 100644 index 00000000000..c563c5917fd --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cs-bonum.tex @@ -0,0 +1,36 @@ +% The file cs-bonum.tex (C) Petr Olsak, 2012 +% Use "\input cs-bonum" to set the Termes fonts family in text mode + +\message{FONT: Bonum - + \string\rm, \string\it, \string\bf, \string\bi, \string\caps\string\rm...} + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded \def\tmp{ec}\else \def\tmp{cs}\fi + +\ifx\font\unicoded \def\famname{texgyrebonum} \input unifam +\else + +\font\tenrm=\tmp-qbkr \sizespec +\font\tenbf=\tmp-qbkb \sizespec +\font\tenit=\tmp-qbkri \sizespec +\font\tenbi=\tmp-qbkbi \sizespec + +\font\tenrmc=\tmp-qbkr-sc \sizespec +\font\tenbfc=\tmp-qbkb-sc \sizespec +\font\tenitc=\tmp-qbkri-sc \sizespec +\font\tenbic=\tmp-qbkbi-sc \sizespec + +\fi + +\tenrm + +\def\caps#1{{\escapechar=-1 \expandafter}% + \expandafter\csname\expandafter\tenonlytext\string#1c\endcsname} +\def\tenonlytext{ten} + +\ifx\font\corkencoded \else \input chars-8z \fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +% end of cs-bonum.tex + diff --git a/Master/texmf-dist/tex/csplain/fonts/cs-charter.tex b/Master/texmf-dist/tex/csplain/fonts/cs-charter.tex new file mode 100644 index 00000000000..30a283c3033 --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cs-charter.tex @@ -0,0 +1,20 @@ +% cs-charter.tex: fonts loading file of Charter fonts +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Petr Olsak, 2012 + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded \def\tmp{8t \sizespec}\else \def\tmp{8z \sizespec}\fi + +\message{FONT: Charter - + \string\rm, \string\it, \string\bf, \string\bi} + +\font\tenrm=bchr\tmp +\font\tenbf=bchb\tmp +\font\tenit=bchri\tmp +\font\tenbi=bchbi\tmp + +\tenrm + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +% end of cs-charter.tex diff --git a/Master/texmf-dist/tex/csplain/fonts/cs-cursor.tex b/Master/texmf-dist/tex/csplain/fonts/cs-cursor.tex new file mode 100644 index 00000000000..d0fb9382978 --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cs-cursor.tex @@ -0,0 +1,31 @@ +% The file cs-cursor.tex (C) Petr Olsak, 2012 +% Use "\input cs-cursor" to set the Termes fonts family in text mode + +\message{FONT: Termes - + \string\rm, \string\it, \string\bf, \string\bi, \string\caps\string\rm...} + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded \def\tmp{ec}\else \def\tmp{cs}\fi + +\font\tenrm=\tmp-qcrr \sizespec +\font\tenbf=\tmp-qcrb \sizespec +\font\tenit=\tmp-qcrri \sizespec +\font\tenbi=\tmp-qcrbi \sizespec + +\font\tenrmc=\tmp-qcrr-sc \sizespec +\font\tenbfc=\tmp-qcrb-sc \sizespec +\font\tenitc=\tmp-qcrri-sc \sizespec +\font\tenbic=\tmp-qcrbi-sc \sizespec + +\tenrm + +\def\caps#1{{\escapechar=-1 \expandafter}% + \expandafter\csname\expandafter\tenonlytext\string#1c\endcsname} +\def\tenonlytext{ten} + +\ifx\font\corkencoded \else \input chars-8z \fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +% end of cs-cursor.tex + diff --git a/Master/texmf-dist/tex/csplain/fonts/cs-heros.tex b/Master/texmf-dist/tex/csplain/fonts/cs-heros.tex new file mode 100644 index 00000000000..9db72673eae --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cs-heros.tex @@ -0,0 +1,57 @@ +% The file cs-heros.tex (C) Petr Olsak, 2012 +% Use "\input cs-heros" to set the Termes fonts family in text mode + +\message{FONT: Heros - + \string\rm, \string\it, \string\bf, \string\bi, + \string\caps\string\rm..., \string\narrow} + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded \def\tmp{ec}\else \def\tmp{cs}\fi + +\ifx\font\unicoded + \def\famname{texgyreheroscn} \input unifam + \let\tenrmn=\tenrm \let\tenbfn=\tenbf \let\tenitn=\tenit \let\tenbin=\tenbi + \let\tenrmnc=\tenrmc \let\tenbfnc=\tenbfc \let\tenitnc=\tenitc \let\tenbinc=\tenbic + \def\famname{texgyreheros} \input unifam +\else + +\font\tenrm=\tmp-qhvr \sizespec +\font\tenbf=\tmp-qhvb \sizespec +\font\tenit=\tmp-qhvri \sizespec +\font\tenbi=\tmp-qhvbi \sizespec + +\font\tenrmc=\tmp-qhvr-sc \sizespec +\font\tenbfc=\tmp-qhvb-sc \sizespec +\font\tenitc=\tmp-qhvri-sc \sizespec +\font\tenbic=\tmp-qhvbi-sc \sizespec + +\fi + +\tenrm + +\font\tenrmn=\tmp-qhvcr \sizespec +\font\tenbfn=\tmp-qhvcb \sizespec +\font\tenitn=\tmp-qhvcri \sizespec +\font\tenbin=\tmp-qhvcbi \sizespec + +\font\tenrmnc=\tmp-qhvcr-sc \sizespec +\font\tenbfnc=\tmp-qhvcb-sc \sizespec +\font\tenitnc=\tmp-qhvcri-sc \sizespec +\font\tenbinc=\tmp-qhvcbi-sc \sizespec + +\def\caps#1{{\escapechar=-1 \expandafter}% + \expandafter\csname\expandafter\tenonlytext\string#1c\endcsname} +\def\tenonlytext{ten} + +\def\narrow{% Switches to Narrow variants + \let\tenrm=\tenrmn \let\tenbf=\tenbfn + \let\tenit=\tenitn \let\tenbi=\tenbin + \let\tenrmc=\tenrmnc \let\tenbfc=\tenbfnc + \let\tenitc=\tenitnc \let\tenbic=\tenbinc \tenrm} + +\ifx\font\corkencoded \else \input chars-8z \fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +% end of cs-heros.tex + diff --git a/Master/texmf-dist/tex/csplain/fonts/cs-pagella.tex b/Master/texmf-dist/tex/csplain/fonts/cs-pagella.tex new file mode 100644 index 00000000000..dde3b41c317 --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cs-pagella.tex @@ -0,0 +1,36 @@ +% The file cs-pagella.tex (C) Petr Olsak, 2012 +% Use "\input cs-pagella" to set the Termes fonts family in text mode + +\message{FONT: Pagella - + \string\rm, \string\it, \string\bf, \string\bi, \string\caps\string\rm...} + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded \def\tmp{ec}\else \def\tmp{cs}\fi + +\ifx\font\unicoded \def\famname{texgyrepagella} \input unifam +\else + +\font\tenrm=\tmp-qplr \sizespec +\font\tenbf=\tmp-qplb \sizespec +\font\tenit=\tmp-qplri \sizespec +\font\tenbi=\tmp-qplbi \sizespec + +\font\tenrmc=\tmp-qplr-sc \sizespec +\font\tenbfc=\tmp-qplb-sc \sizespec +\font\tenitc=\tmp-qplri-sc \sizespec +\font\tenbic=\tmp-qplbi-sc \sizespec + +\fi + +\tenrm + +\def\caps#1{{\escapechar=-1 \expandafter}% + \expandafter\csname\expandafter\tenonlytext\string#1c\endcsname} +\def\tenonlytext{ten} + +\ifx\font\corkencoded \else \input chars-8z \fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +% end of cs-pagella.tex + diff --git a/Master/texmf-dist/tex/csplain/fonts/cs-polta.tex b/Master/texmf-dist/tex/csplain/fonts/cs-polta.tex new file mode 100644 index 00000000000..01d38d03de0 --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cs-polta.tex @@ -0,0 +1,58 @@ +% cs-polta.tex: fonts loading file of Antykwa Poltawskiego +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Petr Olsak, 2012 + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded \def\tmp{ec}\else \def\tmp{cs}\fi + +\message{FONT: Antykwa Poltawskiego - + \string\rm,\string\it,\string\bf,\string\bi,% + \string\lr,\string\li,\string\mr,\string\mi,% + \string\caps\string\rm...} + +\ifx\dgsize\undefined \def\dgsize{10}\fi + +\font\tenrm=\tmp-antpr\dgsize \space\sizespec +\font\tenbf=\tmp-antpb\dgsize \space\sizespec +\font\tenit=\tmp-antpri\dgsize \space\sizespec +\font\tenbi=\tmp-antpbi\dgsize \space\sizespec + +\font\tenlr=\tmp-antpl\dgsize \space\sizespec \def\lr{\tenlr} +\font\tenli=\tmp-antpli\dgsize \space\sizespec \def\li{\tenli} +\font\tenmr=\tmp-antpm\dgsize \space\sizespec \def\mr{\tenmr} +\font\tenmi=\tmp-antpmi\dgsize \space\sizespec \def\mi{\tenmi} + +\font\tenrmc=\tmp-antpr\dgsize-sc \sizespec +\font\tenbfc=\tmp-antpb\dgsize-sc \sizespec +\font\tenitc=\tmp-antpri\dgsize-sc \sizespec +\font\tenbic=\tmp-antpbi\dgsize-sc \sizespec + +\font\tenlrc=\tmp-antpl\dgsize-sc \sizespec +\font\tenlic=\tmp-antpli\dgsize-sc \sizespec +\font\tenmrc=\tmp-antpm\dgsize-sc \sizespec +\font\tenmic=\tmp-antpmi\dgsize-sc \sizespec + +\tenrm + +% You can use \cap\rm, \cap\bf, \cap\li + +\def\caps#1{{\escapechar=-1 \expandafter}% + \expandafter\csname\expandafter\tenonlytext\string#1c\endcsname} +\def\tenonlytext{ten} + +\ifx\regfont\undefined \else + \regfont\tenrm \regfont\tenit + \regfont\tenbf \regfont\tenbi + \regfont\tenlr \regfont\tenli + \regfont\tenmr \regfont\tenmi + \regfont\tenrmc \regfont\tenitc + \regfont\tenbfc \regfont\tenbic + \regfont\tenlrc \regfont\tenlic + \regfont\tenmrc \regfont\tenmic +\fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +\ifx\font\corkencoded \else \input chars-8z \fi + +% end of cs-polta.tex diff --git a/Master/texmf-dist/tex/csplain/fonts/cs-schola.tex b/Master/texmf-dist/tex/csplain/fonts/cs-schola.tex new file mode 100644 index 00000000000..8c5504a56e4 --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cs-schola.tex @@ -0,0 +1,36 @@ +% The file cs-schola.tex (C) Petr Olsak, 2012 +% Use "\input cs-schola" to set the Termes fonts family in text mode + +\message{FONT: Schola - + \string\rm, \string\it, \string\bf, \string\bi, \string\caps\string\rm...} + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded \def\tmp{ec}\else \def\tmp{cs}\fi + +\ifx\font\unicoded \def\famname{texgyreschola} \input unifam +\else + +\font\tenrm=\tmp-qcsr \sizespec +\font\tenbf=\tmp-qcsb \sizespec +\font\tenit=\tmp-qcsri \sizespec +\font\tenbi=\tmp-qcsbi \sizespec + +\font\tenrmc=\tmp-qcsr-sc \sizespec +\font\tenbfc=\tmp-qcsb-sc \sizespec +\font\tenitc=\tmp-qcsri-sc \sizespec +\font\tenbic=\tmp-qcsbi-sc \sizespec + +\fi + +\tenrm + +\def\caps#1{{\escapechar=-1 \expandafter}% + \expandafter\csname\expandafter\tenonlytext\string#1c\endcsname} +\def\tenonlytext{ten} + +\ifx\font\corkencoded \else \input chars-8z \fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +% end of cs-schola.tex + diff --git a/Master/texmf-dist/tex/csplain/fonts/cs-termes.tex b/Master/texmf-dist/tex/csplain/fonts/cs-termes.tex new file mode 100644 index 00000000000..eb2a6e83e86 --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/cs-termes.tex @@ -0,0 +1,36 @@ +% The file cs-termes.tex (C) Petr Olsak, 2012 +% Use "\input cs-termes" to set the Termes fonts family in text mode + +\message{FONT: Termes - + \string\rm, \string\it, \string\bf, \string\bi, \string\caps\string\rm...} + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded \def\tmp{ec}\else \def\tmp{cs}\fi + +\ifx\font\unicoded \def\famname{texgyretermes} \input unifam +\else + +\font\tenrm=\tmp-qtmr \sizespec +\font\tenbf=\tmp-qtmb \sizespec +\font\tenit=\tmp-qtmri \sizespec +\font\tenbi=\tmp-qtmbi \sizespec + +\font\tenrmc=\tmp-qtmr-sc \sizespec +\font\tenbfc=\tmp-qtmb-sc \sizespec +\font\tenitc=\tmp-qtmri-sc \sizespec +\font\tenbic=\tmp-qtmbi-sc \sizespec + +\fi + +\tenrm + +\def\caps#1{{\escapechar=-1 \expandafter}% + \expandafter\csname\expandafter\tenonlytext\string#1c\endcsname} +\def\tenonlytext{ten} + +\ifx\font\corkencoded \else \input chars-8z \fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +% end of cs-termes.tex + diff --git a/Master/texmf-dist/tex/csplain/fonts/ctimes.tex b/Master/texmf-dist/tex/csplain/fonts/ctimes.tex new file mode 100644 index 00000000000..f9a85683fcb --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/ctimes.tex @@ -0,0 +1,34 @@ +% The file ctimes.tex (C) Petr Olsak, 1996, 1999, 2012 +% Use "\input ctimes" to set the Times fonts family in text mode + +\message{FONT: Times - + \string\rm, \string\it, \string\bf, \string\bi, \string\tt.} + +\ifx\sizespec\undefined \def\sizespec{}\fi +\ifx\font\corkencoded + \def\tmp{8t \sizespec}\def\tmpa{8t \sizespec} +\else \def\tmp{8z \sizespec}\def\tmpa{8u \sizespec} +\fi + +\font\tenrm=ptmr\tmp +\font\tenbf=ptmb\tmp +\font\tenit=ptmri\tmp +\font\tenbi=ptmbi\tmp +\font\tentt=pcrr\tmpa +\let\tensl=\tenit + +\tenrm + +\ifx\font\corkencoded \else \input chars-8z \fi + +\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi + +\let\setsimplemath=\relax % this command is obsolete + +% The \TeX logo corrected by Ivo Jancik for Times fonts family +\def\tmTeX{T\kern-.1667em\lower.3333ex\hbox{E}\kern-.125emX} +\ifx\origTeX\undefined \let\origTeX=\TeX \fi +\let\TeX=\tmTeX + +% end of ctimes.tex + diff --git a/Master/texmf-dist/tex/csplain/fonts/dcfonts.tex b/Master/texmf-dist/tex/csplain/fonts/dcfonts.tex new file mode 100644 index 00000000000..55a3c9288cc --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/dcfonts.tex @@ -0,0 +1,23 @@ +% The file dcfonts.tex (C) Petr Olsak, 2000 +% This file allows to use DC fonts in csplain format. +% Use (for example): %&csplain -translate-file=il2-t1 +% \input dcfonts +% \chyph +% at first three lines in your document. + +% Warning1: This works only in web2c implementations of TeX and derivatives. +% Warning2: Use DC fonts only for experimental or special reason. The +% typographics quality of CSfonts (in csplain default) is better. + +\input t1code + +\font\tenrm=dcr10 +\font\tenbf=dcbx10 +\font\tenit=dcti10 +\font\tentt=dctt10 +\font\tensl=dcsl10 +\tenrm + +\let\setsimplemath=\undefined % The math CS/CM fonts can be mixed with + % DC fonts + diff --git a/Master/texmf-dist/tex/csplain/fonts/ecfonts.tex b/Master/texmf-dist/tex/csplain/fonts/ecfonts.tex new file mode 100644 index 00000000000..4e784ca4bff --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/ecfonts.tex @@ -0,0 +1,23 @@ +% The file ecfonts.tex (C) Petr Olsak, 2000 +% This file allows to use EC fonts in csplain format. +% Use (for example): %&csplain -translate-file=il2-t1 +% \input ecfonts +% \chyph +% at the first three lines in your document. + +% Warning1: This works only in web2c implementations of TeX and derivatives. +% Warning2: Use EC fonts only for experimental or special reason. The +% typographics quality of CSfonts (in csplain default) is better. + +\input t1code + +\font\tenrm=ecrm1000 +\font\tenbf=ecbx1000 +\font\tenit=ecti1000 +\font\tentt=ectt1000 +\font\tensl=ecsl1000 +\tenrm + +\let\setsimplemath=\undefined % The math CS/CM fonts can be mixed with + % EC fonts + diff --git a/Master/texmf-dist/tex/csplain/fonts/lmfonts.tex b/Master/texmf-dist/tex/csplain/fonts/lmfonts.tex new file mode 100644 index 00000000000..36f8b69662b --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/lmfonts.tex @@ -0,0 +1,70 @@ +% lmfonts.tex: loads Latin Modern fonts by plainTeX macros +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Petr Olsak, 2012 + +\message{FONT: Latin Modern fonts - + \string\rm, \string\it, \string\bf, \string\bi, \string\caps\string\rm,... + math.} + +\ifx\sizespec\undefined \def\sizespec{}\fi + +\ifx\regtfm\undefined \input ams-math \fi +\ifx\font\corkencoded \else \input chars-8z \fi + +\ifx\font\corkencoded \def\tmp{ec}\else \def\tmp{cs}\fi + +\ifx\font\unicoded \def\famname{lmroman10} \input unifam + \font\tentt="[lmmono10-regular]" \sizespec +\else + \font\tenrm=\tmp-lmr10 \sizespec + \font\tenbf=\tmp-lmbx10 \sizespec + \font\tenit=\tmp-lmri10 \sizespec + \font\tenbi=\tmp-lmbxi10 \sizespec + \ifx\font\corkencoded + \font\tentt=\tmp-lmtt10 \sizespec + \else + \font\tentt=cstt10 \sizespec % there is no right-encoded LMfont + \fi + \font\tenrmc=\tmp-lmcsc10 \sizespec + \font\tenitc=\tmp-lmcsco10 \sizespec +\fi + +\tenrm + +\def\caps#1{{\escapechar=-1 \expandafter}% + \expandafter\csname\expandafter\tenonlytext\string#1c\endcsname} +\def\tenonlytext{ten} + +\def\exregtfm #1*{\edef\tmpa{#1*}\expandafter\regtfm\tmpa} + +\exregtfm cmr 0 \tmp-lmr5 5.5 \tmp-lmr6 6.5 \tmp-lmr7 7.5 \tmp-lmr8 8.5 + \tmp-lmr9 9.5 \tmp-lmr10 11.1 \tmp-lmr12 15 \tmp-lmr17 * +\exregtfm cmbx 0 \tmp-lmbx5 5.5 \tmp-lmbx6 6.5 \tmp-lmbx7 7.5 \tmp-lmbx8 8.5 + \tmp-lmbx9 9.5 \tmp-lmbx10 11.1 \tmp-lmbx12 * +\exregtfm cmsl 0 \tmp-lmro8 8.5 \tmp-lmro9 9.5 \tmp-lmro10 11.1 + \tmp-lmro12 15 \tmp-lmro17 * +\exregtfm cmtt 0 \tmp-lmtt8 8.5 \tmp-lmtt9 9.5 \tmp-lmtt10 11.1 \tmp-lmtt12 * +\exregtfm cmss 0 \tmp-lmss8 8.5 \tmp-lmss9 9.5 \tmp-lmss10 11.1 \tmp-lmss12 15 + \tmp-lmss17 * +\exregtfm cmssi 0 \tmp-lmsso8 8.5 \tmp-lmsso9 9.5 \tmp-lmsso10 11.1 + \tmp-lmsso12 15 \tmp-lmsso17 * +\exregtfm cmti 0 \tmp-lmri7 7.5 \tmp-lmri8 8.5 \tmp-lmri9 9.5 + \tmp-lmri10 11.1 \tmp-lmri12 * +\exregtfm cmbxti 0 \tmp-lmbxi10 * +% CM math fonts +\regtfm cmmi 0 lmmi5 5.5 lmmi6 6.5 lmmi7 7.5 lmmi8 8.5 lmmi9 9.5 + lmmi10 11.1 lmmi12 * +\regtfm cmmib 0 lmmib5 6 lmmib7 8.5 lmmib10 * +\regtfm cmsy 0 lmsy5 5.5 lmsy6 6.5 lmsy7 7.5 lmsy8 8.5 lmsy9 9.5 + lmsy10 * +\regtfm cmbsy 0 lmbsy5 6 lmbsy7 8.5 lmbsy10 * +\regtfm cmex 0 lmex10 * +\regtfm cmexb 0 lmex10 * +% Fonts Other +\exregtfm bfsans 0 \tmp-lmssbx10 * +\exregtfm bisans 0 \tmp-lmssbo10 * +\exregtfm bbfsans 0 \tmp-lmssbx10 * +\exregtfm bbisans 0 \tmp-lmssbo10 * + +\let\lmfonts=\font % macros can do test: \ifx\font\lmfonts ... + +% end of lmfonts.tex diff --git a/Master/texmf-dist/tex/csplain/fonts/luafonts.tex b/Master/texmf-dist/tex/csplain/fonts/luafonts.tex new file mode 100644 index 00000000000..cc157a5b1e0 --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/luafonts.tex @@ -0,0 +1,27 @@ +% I don't understand this. This is a result of my reverse engeneering of the +% fontspec package. +% LuaTeX needs these \directlua in order to \font primitive works like in XeTeX. +% Petr Olsak Nov. 2012 + +%\iffalse +\message{processing luaotfload.lua } +\directlua{luatexbase = luatexbase or {} + luatexbase.luatexversion = \the\luatexversion\space + luatexbase.luatexrevision = \luatexrevision\space + require('luatexbase.attr') + require('luatexbase.cctb') + require('luatexbase.modutils') + oriwrite = texio.write_nl % I don't need to see unusual info + function texio.write_nl(...) end + require('luatexbase.mcb') + luatexbase.require_module('lualibs') + luatexbase.require_module('luaotfload') + texio.write_nl = oriwrite % return to original meaning +} +%\fi +%\directlua { +% dofile(kpse.find_file("luatex-fonts.lua","tex")) +%} +\global\let\luafonts=\relax + +\endinput diff --git a/Master/texmf-dist/tex/csplain/fonts/tx-math.tex b/Master/texmf-dist/tex/csplain/fonts/tx-math.tex new file mode 100644 index 00000000000..e02a1bc3796 --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/tx-math.tex @@ -0,0 +1,710 @@ +% This file loads TX math fonts by plainTeX macros +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Petr Olsak, 2012 + +\message{FONT: TX math fonts - \string\mathchardef's prepared, 14 math families preloaded.} + +% After \input tx-math +% +% you can use hundreds characters from TX math fonts +% (see TX Fonts manual or \mathchardefs below). +% By default: - the fonts are loaded at 10/7/5 sizes. +% - variables are typeset by current text italic, +% - digits and \sin, \cos, etc. are typeset by current text rm +% +% You can use the following alphabets: +% \mit ...... mathematical variables +% \rm, \it .. text roman font, text italic +% \bf, \bi .. bold sans fonts (may be different than text fonts) +% \cal ... normal calligraphics +% \script ... script +% \frak ... fraktur +% \bbchar ... double stroked letters +% +% You can reload all families of math fonts in two shapes: +% \normalmath ... normal shape +% \boldmath ... bold shape at implicit sizes or sizes set by +% Before reloading the fonts by previous comand you can set the sizes: +% \setmathsizes[text/script/scriptscript] +% Example \setmathsizes[12/8.4/6]\normalmath ... load fonts at given sizes +% +% You can set typesetting of math variables from TX font, not from current +% text font, by the command: \mitvariables. The \itvariables reverts to the +% default. + +\def\normalmath{% + \loadmathfamily 0 {\txr} % TX Roman + \loadmathfamily 1 {\txmi} % TX Math Italic + \loadmathfamily 2 txsy % TX Standard symbols + \loadmathfamily 3 txex % TX extra symbols + \loadmathfamily 4 txsya % TX symbols from AMSTeX + \loadmathfamily 5 txsyb % TX symbols from AMSTeX + \loadmathfamily 6 txsyc % symbols from TX fonts + \loadmathfamily 7 txexa % TX new extra symbols + \loadmathfamily 8 txmia % fraktur, upright greek + \loadmathfamily 9 rsfs10 % script + \loadmathfamily 10 {\bfsans} % sans serif bold + \loadmathfamily 11 {\bisans} % sans serif bold slanted (for vectors) + \chardef\rmfam 12 \setmathfamily \rmfam \tenrm + \chardef\itfam 13 \setmathfamily \itfam \tenit + \setmathdimens +} +\def\boldmath{% + \loadmathfamily 0 {\txb} % TX Roman + \loadmathfamily 1 {\txbmi} % TX Math Italic + \loadmathfamily 2 txbsy % TX Standard symbols + \loadmathfamily 3 txbex % TX extra symbols + \loadmathfamily 4 txbsya % TX symbols from AMSTeX + \loadmathfamily 5 txbsyb % TX symbols from AMSTeX + \loadmathfamily 6 txbsyc % symbols from TX fonts + \loadmathfamily 7 txbexa % TX new extra symbols + \loadmathfamily 8 txbmia % fraktur, upright greek + \loadmathfamily 9 rsfs10 % \bf script is unavailable + \loadmathfamily 10 {\bbfsans} % sans serif bold + \loadmathfamily 11 {\bbisans} % sans serif bold slanted (for vectors) + \chardef\rmfam 12 \setmathfamily \rmfam \tenbf + \chardef\itfam 13 \setmathfamily \itfam \tenbi + \setmathdimens +} +\count18=13 % families declared by \newfam are 14, 15 only + +\let\normalTXmath=\normalmath \let\boldTXmath=\boldmath + +\chardef\bffam 10 % sans serif bold +\chardef\bifam 11 % sans serif bold slanted +\def\bi{\tenbi \fam\bifam} % in csplain is done \def\bi{\tenbi} only +\def\bbchar{\fam5 } % double stroked letters +\def\frak{\fam8 } % fraktur +\def\script{\fam9 } % more extensive script than \cal +\chardef\slfam 10 % similar to slanted font from plainTeX +\chardef\ttfam 13 % \tt in math is unusable + +% Macro engineer can define the \fam0, \fam1, \bffam and \bifam fonts +% by his opinion. For example: \def\txr{cs-anttr} \def\txmi{mi-anttri} +% in cs-antt.tex file. The following vaules are only defaults: + +\def\txxdef#1#2{\ifx#1\undefined\def#1{#2}\fi} + +\txxdef\txr{txr}\txxdef\txmi{txmi} % \fam0, \fam1 normal +\txxdef\txb{txb}\txxdef\txbmi{txbmi} % \fam0, \fam1 bold +\txxdef\bfsans{phvb8z}\txxdef\bisans{phvbo8z} % \bffam, \bifam normal +\txxdef\bbfsans{phvb8z}\txxdef\bbisans{phvbo8z} % \bffam, \bifam bold +\ifx\corrmsizes\undefined % wee need to correct + \def\corrmsizes#1{\ifnum#1=10 \ptmunit=.83pt \fi % the sizes o phvb8t and + \ifnum#1=11 \ptmunit=.83pt \fi} % phvbo8t fonts +\fi + +% macros: + +\def\itvariables{\def\rm{\fam\rmfam \tenrm}% + \mathcodechanges C:0-9\mathcodechanges D:A-Z\mathcodechanges D:a-z} +\def\mitvariables{\def\rm{\fam0\tenrm}% + \mathcodechanges 0:0-9\mathcodechanges 1:A-Z\mathcodechanges 1:a-z} + +\def\loadmathfamily #1 #2 {\corrmsizes{#1}% + \font\tmp = #2 at\sizemtext \textfont#1=\tmp + \font\tmp = #2 at\sizemscript \scriptfont#1=\tmp + \font\tmp = #2 at\sizemsscript \scriptscriptfont#1=\tmp + \ptmunit=1pt +} +\def\setmathfamily #1#2{% + \font\tmp = \specfontname #2 at\sizemtext \textfont#1=\tmp + \font\tmp = \specfontname #2 at\sizemscript \scriptfont#1=\tmp + \font\tmp = \specfontname #2 at\sizemsscript \scriptscriptfont#1=\tmp +} +\def\specfontname #1{\expandafter \ignoreatpt \fontname #1 \relax} +\def\ignoreatpt #1 #2\relax{#1} +\def\mathcodechanges#1:#2-#3{\chardef\tmp=\count0 \chardef\tmpa=\count1 + \count0=`#2 \count1=\count0 \advance\count1 by"7#100 + \loop \mathcode\count0=\count1 + \ifnum\count0<`#3 \advance\count0 by1 \advance\count1 by1 \repeat + \count0=\tmp \count1=\tmpa +} +\def\setmathdimens{% PlainTeX sets these dimens for 10pt size only: + \delimitershortfall=0.5\fontdimen6\textfont3 + \nulldelimiterspace=0.12\fontdimen6\textfont3 + \scriptspace=0.05\fontdimen6\textfont3 + \skewchar\textfont1=127 \skewchar\scriptfont1=127 + \skewchar\scriptscriptfont1=127 + \skewchar\textfont2=48 \skewchar\scriptfont2=48 + \skewchar\scriptscriptfont2=48 +} + +\def\setmathsizes[#1/#2/#3]{% + \def\sizemtext{#1\ptmunit}\def\sizemscript{#2\ptmunit}% + \def\sizemsscript{#3\ptmunit}% +} +\newdimen\ptmunit \ptmunit=1pt +\setmathsizes[10/7/5] + +\ifx\tenbi\undefined \font\tenbi=ptmbi8z \relax \fi +\normalmath % load families, normal shape +\itvariables % \rm in math and avriables in math by current text font + +%% \mathchardef declarations + +\def\amsafam{4} \def\amsbfam{5} \def\txsycfam{6} +\def\txexafam{7} \def\txmiafam{8} + +%% AMSA + +\mathchardef \boxdot "2\amsafam 00 +\mathchardef \boxplus "2\amsafam 01 +\mathchardef \boxtimes "2\amsafam 02 +\mathchardef \square "0\amsafam 03 +\mathchardef \blacksquare "0\amsafam 04 +\mathchardef \centerdot "2\amsafam 05 +\mathchardef \lozenge "0\amsafam 06 +\mathchardef \blacklozenge "0\amsafam 07 +\mathchardef \circlearrowright "3\amsafam 08 +\mathchardef \circlearrowleft "3\amsafam 09 +\mathchardef \rightleftharpoons "3\amsafam 0A +\mathchardef \leftrightharpoons "3\amsafam 0B +\mathchardef \boxminus "2\amsafam 0C +\mathchardef \Vdash "3\amsafam 0D +\mathchardef \Vvdash "3\amsafam 0E +\mathchardef \vDash "3\amsafam 0F +\mathchardef \twoheadrightarrow "3\amsafam 10 +\mathchardef \twoheadleftarrow "3\amsafam 11 +\mathchardef \leftleftarrows "3\amsafam 12 +\mathchardef \rightrightarrows "3\amsafam 13 +\mathchardef \upuparrows "3\amsafam 14 +\mathchardef \downdownarrows "3\amsafam 15 +\mathchardef \upharpoonright "3\amsafam 16 +\mathchardef \downharpoonright "3\amsafam 17 +\mathchardef \upharpoonleft "3\amsafam 18 +\mathchardef \downharpoonleft "3\amsafam 19 +\mathchardef \rightarrowtail "3\amsafam 1A +\mathchardef \leftarrowtail "3\amsafam 1B +\mathchardef \leftrightarrows "3\amsafam 1C +\mathchardef \rightleftarrows "3\amsafam 1D +\mathchardef \Lsh "3\amsafam 1E +\mathchardef \Rsh "3\amsafam 1F +\mathchardef \rightsquigarrow "3\amsafam 20 +\mathchardef \leftrightsquigarrow "3\amsafam 21 +\mathchardef \looparrowleft "3\amsafam 22 +\mathchardef \looparrowright "3\amsafam 23 +\mathchardef \circeq "3\amsafam 24 +\mathchardef \succsim "3\amsafam 25 +\mathchardef \gtrsim "3\amsafam 26 +\mathchardef \gtrapprox "3\amsafam 27 +\mathchardef \multimap "3\amsafam 28 +\mathchardef \therefore "3\amsafam 29 +\mathchardef \because "3\amsafam 2A +\mathchardef \doteqdot "3\amsafam 2B +\mathchardef \triangleq "3\amsafam 2C +\mathchardef \precsim "3\amsafam 2D +\mathchardef \lesssim "3\amsafam 2E +\mathchardef \lessapprox "3\amsafam 2F +\mathchardef \eqslantless "3\amsafam 30 +\mathchardef \eqslantgtr "3\amsafam 31 +\mathchardef \curlyeqprec "3\amsafam 32 +\mathchardef \curlyeqsucc "3\amsafam 33 +\mathchardef \preccurlyeq "3\amsafam 34 +\mathchardef \leqq "3\amsafam 35 +\mathchardef \leqslant "3\amsafam 36 +\mathchardef \lessgtr "3\amsafam 37 +\mathchardef \backprime "0\amsafam 38 +\mathchardef \risingdotseq "3\amsafam 3A +\mathchardef \fallingdotseq "3\amsafam 3B +\mathchardef \succcurlyeq "3\amsafam 3C +\mathchardef \geqq "3\amsafam 3D +\mathchardef \geqslant "3\amsafam 3E +\mathchardef \gtrless "3\amsafam 3F +\mathchardef \sqsubset "3\amsafam 40 +\mathchardef \sqsupset "3\amsafam 41 +\mathchardef \vartriangleright "3\amsafam 42 +\mathchardef \vartriangleleft "3\amsafam 43 +\mathchardef \trianglerighteq "3\amsafam 44 +\mathchardef \trianglelefteq "3\amsafam 45 +\mathchardef \bigstar "0\amsafam 46 +\mathchardef \between "3\amsafam 47 +\mathchardef \blacktriangledown "0\amsafam 48 +\mathchardef \blacktriangleright "3\amsafam 49 +\mathchardef \blacktriangleleft "3\amsafam 4A +\mathchardef \vartriangle "3\amsafam 4D +\mathchardef \blacktriangle "0\amsafam 4E +\mathchardef \triangledown "0\amsafam 4F +\mathchardef \eqcirc "3\amsafam 50 +\mathchardef \lesseqgtr "3\amsafam 51 +\mathchardef \gtreqless "3\amsafam 52 +\mathchardef \lesseqqgtr "3\amsafam 53 +\mathchardef \gtreqqless "3\amsafam 54 +\mathchardef \Rrightarrow "3\amsafam 56 +\mathchardef \Lleftarrow "3\amsafam 57 +\mathchardef \veebar "2\amsafam 59 +\mathchardef \barwedge "2\amsafam 5A +\mathchardef \doublebarwedge "2\amsafam 5B +\mathchardef \angle "0\amsafam 5C +\mathchardef \measuredangle "0\amsafam 5D +\mathchardef \sphericalangle "0\amsafam 5E +\mathchardef \varpropto "3\amsafam 5F +\mathchardef \smallsmile "3\amsafam 60 +\mathchardef \smallfrown "3\amsafam 61 +\mathchardef \Subset "3\amsafam 62 +\mathchardef \Supset "3\amsafam 63 +\mathchardef \Cup "2\amsafam 64 +\mathchardef \Cap "2\amsafam 65 +\mathchardef \curlywedge "2\amsafam 66 +\mathchardef \curlyvee "2\amsafam 67 +\mathchardef \leftthreetimes "2\amsafam 68 +\mathchardef \rightthreetimes "2\amsafam 69 +\mathchardef \subseteqq "3\amsafam 6A +\mathchardef \supseteqq "3\amsafam 6B +\mathchardef \bumpeq "3\amsafam 6C +\mathchardef \Bumpeq "3\amsafam 6D +\mathchardef \lll "3\amsafam 6E +\mathchardef \ggg "3\amsafam 6F +\def \ulcorner {\delimiter"4\amsafam 70\amsafam 70 } +\def \urcorner {\delimiter"5\amsafam 71\amsafam 71 } +\mathchardef \circledS "0\amsafam 73 +\mathchardef \pitchfork "3\amsafam 74 +\mathchardef \dotplus "2\amsafam 75 +\mathchardef \backsim "3\amsafam 76 +\mathchardef \backsimeq "3\amsafam 77 +\def \llcorner {\delimiter"4\amsafam 78\amsafam 78 } +\def \lrcorner {\delimiter"5\amsafam 79\amsafam 79 } +\mathchardef \complement "0\amsafam 7B +\mathchardef \intercal "2\amsafam 7C +\mathchardef \circledcirc "2\amsafam 7D +\mathchardef \circledast "2\amsafam 7E +\mathchardef \circleddash "2\amsafam 7F +\mathchardef \rhd "2\amsafam 42 +\mathchardef \lhd "2\amsafam 43 +\mathchardef \unrhd "2\amsafam 44 +\mathchardef \unlhd "2\amsafam 45 + + \let\restriction\upharpoonright + \let\Doteq\doteqdot + \let\doublecup\Cup + \let\doublecap\Cap + \let\llless\lll + \let\gggtr\ggg + \let\Box=\square % LaTeX symbol + \let\Box=\square % LaTeX symbol + +%% AMSB + +\mathchardef \lvertneqq "3\amsbfam 00 +\mathchardef \gvertneqq "3\amsbfam 01 +\mathchardef \nleq "3\amsbfam 02 +\mathchardef \ngeq "3\amsbfam 03 +\mathchardef \nless "3\amsbfam 04 +\mathchardef \ngtr "3\amsbfam 05 +\mathchardef \nprec "3\amsbfam 06 +\mathchardef \nsucc "3\amsbfam 07 +\mathchardef \lneqq "3\amsbfam 08 +\mathchardef \gneqq "3\amsbfam 09 +\mathchardef \nleqslant "3\amsbfam 0A +\mathchardef \ngeqslant "3\amsbfam 0B +\mathchardef \lneq "3\amsbfam 0C +\mathchardef \gneq "3\amsbfam 0D +\mathchardef \npreceq "3\amsbfam 0E +\mathchardef \nsucceq "3\amsbfam 0F +\mathchardef \precnsim "3\amsbfam 10 +\mathchardef \succnsim "3\amsbfam 11 +\mathchardef \lnsim "3\amsbfam 12 +\mathchardef \gnsim "3\amsbfam 13 +\mathchardef \nleqq "3\amsbfam 14 +\mathchardef \ngeqq "3\amsbfam 15 +\mathchardef \precneqq "3\amsbfam 16 +\mathchardef \succneqq "3\amsbfam 17 +\mathchardef \precnapprox "3\amsbfam 18 +\mathchardef \succnapprox "3\amsbfam 19 +\mathchardef \lnapprox "3\amsbfam 1A +\mathchardef \gnapprox "3\amsbfam 1B +\mathchardef \nsim "3\amsbfam 1C +\mathchardef \ncong "3\amsbfam 1D +\mathchardef \diagup "0\amsbfam 1E +\mathchardef \diagdown "0\amsbfam 1F +\mathchardef \varsubsetneq "3\amsbfam 20 +\mathchardef \varsupsetneq "3\amsbfam 21 +\mathchardef \nsubseteqq "3\amsbfam 22 +\mathchardef \nsupseteqq "3\amsbfam 23 +\mathchardef \subsetneqq "3\amsbfam 24 +\mathchardef \supsetneqq "3\amsbfam 25 +\mathchardef \varsubsetneqq "3\amsbfam 26 +\mathchardef \varsupsetneqq "3\amsbfam 27 +\mathchardef \subsetneq "3\amsbfam 28 +\mathchardef \supsetneq "3\amsbfam 29 +\mathchardef \nsubseteq "3\amsbfam 2A +\mathchardef \nsupseteq "3\amsbfam 2B +\mathchardef \nparallel "3\amsbfam 2C +\mathchardef \nmid "3\amsbfam 2D +\mathchardef \nshortmid "3\amsbfam 2E +\mathchardef \nshortparallel "3\amsbfam 2F +\mathchardef \nvdash "3\amsbfam 30 +\mathchardef \nVdash "3\amsbfam 31 +\mathchardef \nvDash "3\amsbfam 32 +\mathchardef \nVDash "3\amsbfam 33 +\mathchardef \ntrianglerighteq "3\amsbfam 34 +\mathchardef \ntrianglelefteq "3\amsbfam 35 +\mathchardef \ntriangleleft "3\amsbfam 36 +\mathchardef \ntriangleright "3\amsbfam 37 +\mathchardef \nleftarrow "3\amsbfam 38 +\mathchardef \nrightarrow "3\amsbfam 39 +\mathchardef \nLeftarrow "3\amsbfam 3A +\mathchardef \nRightarrow "3\amsbfam 3B +\mathchardef \nLeftrightarrow "3\amsbfam 3C +\mathchardef \nleftrightarrow "3\amsbfam 3D +\mathchardef \divideontimes "2\amsbfam 3E +\mathchardef \varnothing "0\amsbfam 3F +\mathchardef \nexists "0\amsbfam 40 +\mathchardef \Finv "0\amsbfam 60 +\mathchardef \Game "0\amsbfam 61 +\mathchardef \mho "0\amsbfam 66 +\mathchardef \eth "0\amsbfam 67 +\mathchardef \eqsim "3\amsbfam 68 +\mathchardef \beth "0\amsbfam 69 +\mathchardef \gimel "0\amsbfam 6A +\mathchardef \daleth "0\amsbfam 6B +\mathchardef \lessdot "2\amsbfam 6C +\mathchardef \gtrdot "2\amsbfam 6D +\mathchardef \ltimes "2\amsbfam 6E +\mathchardef \rtimes "2\amsbfam 6F +\mathchardef \shortmid "3\amsbfam 70 +\mathchardef \shortparallel "3\amsbfam 71 +\mathchardef \smallsetminus "2\amsbfam 72 +\mathchardef \thicksim "3\amsbfam 73 +\mathchardef \thickapprox "3\amsbfam 74 +\mathchardef \approxeq "3\amsbfam 75 +\mathchardef \precapprox "3\amsbfam 76 +\mathchardef \succapprox "3\amsbfam 77 +\mathchardef \curvearrowleft "3\amsbfam 78 +\mathchardef \curvearrowright "3\amsbfam 79 +\mathchardef \digamma "0\amsbfam 7A +\mathchardef \varkappa "0\amsbfam 7B +\mathchardef \Bbbk "0\amsbfam 7C +\mathchardef \hslash "0\amsbfam 7D +\mathchardef \hbar "0\amsbfam 7E +\mathchardef \backepsilon "3\amsbfam 7F + +%% TXC + +\mathchardef \mappedfromchar "3\txsycfam 00 +\mathchardef \Mapstochar "3\txsycfam 01 +\mathchardef \Mappedfromchar "3\txsycfam 02 +\mathchardef \mmapstochar "3\txsycfam 03 +\mathchardef \mmappedfromchar "3\txsycfam 04 +\mathchardef \Mmapstochar "3\txsycfam 05 +\mathchardef \Mmappedfromchar "3\txsycfam 06 +\mathchardef \medcirc "2\txsycfam 07 +\mathchardef \medbullet "2\txsycfam 08 +\mathchardef \varparallel "3\txsycfam 09 +\mathchardef \varparallelinv "3\txsycfam 0A +\mathchardef \nvarparallel "3\txsycfam 0B +\mathchardef \nvarparallelinv "3\txsycfam 0C +\mathchardef \colonapprox "3\txsycfam 0D +\mathchardef \colonsim "3\txsycfam 0E +\mathchardef \Colonapprox "3\txsycfam 0F +\mathchardef \Colonsim "3\txsycfam 10 +\mathchardef \doteq "3\txsycfam 11 +\mathchardef \multimapinv "3\txsycfam 12 +\mathchardef \multimapboth "3\txsycfam 13 +\mathchardef \multimapdot "3\txsycfam 14 +\mathchardef \multimapdotinv "3\txsycfam 15 +\mathchardef \multimapdotboth "3\txsycfam 16 +\mathchardef \multimapdotbothA "3\txsycfam 17 +\mathchardef \multimapdotbothB "3\txsycfam 18 +\mathchardef \VDash "3\txsycfam 19 +\mathchardef \VvDash "3\txsycfam 1A +\mathchardef \cong "3\txsycfam 1B +\mathchardef \preceqq "3\txsycfam 1C +\mathchardef \succeqq "3\txsycfam 1D +\mathchardef \nprecsim "3\txsycfam 1E +\mathchardef \nsuccsim "3\txsycfam 1F +\mathchardef \nlesssim "3\txsycfam 20 +\mathchardef \ngtrsim "3\txsycfam 21 +\mathchardef \nlessapprox "3\txsycfam 22 +\mathchardef \ngtrapprox "3\txsycfam 23 +\mathchardef \npreccurlyeq "3\txsycfam 24 +\mathchardef \nsucccurlyeq "3\txsycfam 25 +\mathchardef \ngtrless "3\txsycfam 26 +\mathchardef \nlessgtr "3\txsycfam 27 +\mathchardef \nbumpeq "3\txsycfam 28 +\mathchardef \nBumpeq "3\txsycfam 29 +\mathchardef \nbacksim "3\txsycfam 2A +\mathchardef \nbacksimeq "3\txsycfam 2B +\mathchardef \neq "3\txsycfam 2C +\mathchardef \nasymp "3\txsycfam 2D +\mathchardef \nequiv "3\txsycfam 2E +\mathchardef \nsim "3\txsycfam 2F +\mathchardef \napprox "3\txsycfam 30 +\mathchardef \nsubset "3\txsycfam 31 +\mathchardef \nsupset "3\txsycfam 32 +\mathchardef \nll "3\txsycfam 33 +\mathchardef \ngg "3\txsycfam 34 +\mathchardef \nthickapprox "3\txsycfam 35 +\mathchardef \napproxeq "3\txsycfam 36 +\mathchardef \nprecapprox "3\txsycfam 37 +\mathchardef \nsuccapprox "3\txsycfam 38 +\mathchardef \npreceqq "3\txsycfam 39 +\mathchardef \nsucceqq "3\txsycfam 3A +\mathchardef \nsimeq "3\txsycfam 3B +\mathchardef \notin "3\txsycfam 3C +\mathchardef \notni "3\txsycfam 3D +\mathchardef \nSubset "3\txsycfam 3E +\mathchardef \nSupset "3\txsycfam 3F +\mathchardef \nsqsubseteq "3\txsycfam 40 +\mathchardef \nsqsupseteq "3\txsycfam 41 +\mathchardef \coloneqq "3\txsycfam 42 +\mathchardef \eqqcolon "3\txsycfam 43 +\mathchardef \coloneq "3\txsycfam 44 +\mathchardef \eqcolon "3\txsycfam 45 +\mathchardef \Coloneqq "3\txsycfam 46 +\mathchardef \Eqqcolon "3\txsycfam 47 +\mathchardef \Coloneq "3\txsycfam 48 +\mathchardef \Eqcolon "3\txsycfam 49 +\mathchardef \strictif "3\txsycfam 4A +\mathchardef \strictfi "3\txsycfam 4B +\mathchardef \strictiff "3\txsycfam 4C +\mathchardef \invamp "2\txsycfam 4D +\def \lbag {\delimiter"4\txsycfam 4E\txexafam 30 } +\def \rbag {\delimiter"5\txsycfam 4F\txexafam 31 } +\mathchardef \Lbag "4\txsycfam 50 +\mathchardef \Rbag "5\txsycfam 51 +\mathchardef \circledless "3\txsycfam 52 +\mathchardef \circledgtr "3\txsycfam 53 +\mathchardef \circledwedge "2\txsycfam 54 +\mathchardef \circledvee "2\txsycfam 55 +\mathchardef \circledbar "2\txsycfam 56 +\mathchardef \circledbslash "2\txsycfam 57 +\mathchardef \lJoin "3\txsycfam 58 +\mathchardef \rJoin "3\txsycfam 59 +\mathchardef \Join "3\txsycfam 5A +\mathchardef \openJoin "3\txsycfam 5B +\mathchardef \lrtimes "3\txsycfam 5C +\mathchardef \opentimes "3\txsycfam 5D +\mathchardef \Diamond "0\txsycfam 5E +\mathchardef \Diamondblack "0\txsycfam 5F +\mathchardef \nplus "2\txsycfam 60 +\mathchardef \nsqsubset "3\txsycfam 61 +\mathchardef \nsqsupset "3\txsycfam 62 +\mathchardef \dashleftarrow "3\txsycfam 63 +\mathchardef \dashrightarrow "3\txsycfam 64 +\mathchardef \dashleftrightarrow "3\txsycfam 65 +\mathchardef \leftsquigarrow "3\txsycfam 66 +\mathchardef \ntwoheadrightarrow "3\txsycfam 67 +\mathchardef \ntwoheadleftarrow "3\txsycfam 68 +\mathchardef \boxast "2\txsycfam 69 +\mathchardef \boxbslash "2\txsycfam 6A +\mathchardef \boxbar "2\txsycfam 6B +\mathchardef \boxslash "2\txsycfam 6C +\mathchardef \Wr "2\txsycfam 6D +\mathchardef \lambdaslash "0\txsycfam 6E +\mathchardef \lambdabar "0\txsycfam 6F +\mathchardef \varclubsuit "0\txsycfam 70 +\mathchardef \vardiamondsuit "0\txsycfam 71 +\mathchardef \varheartsuit "0\txsycfam 72 +\mathchardef \varspadesuit "0\txsycfam 73 +\mathchardef \Nearrow "3\txsycfam 74 +\mathchardef \Searrow "3\txsycfam 75 +\mathchardef \Nwarrow "3\txsycfam 76 +\mathchardef \Swarrow "3\txsycfam 77 +\mathchardef \Top "0\txsycfam 78 +\mathchardef \Bot "0\txsycfam 79 +\mathchardef \Perp "3\txsycfam 79 +\mathchardef \leadstoext "3\txsycfam 7A +\mathchardef \leadsto "3\txsycfam 7B +\mathchardef \sqcupplus "2\txsycfam 7C +\mathchardef \sqcapplus "2\txsycfam 7D +\def \llbracket {\delimiter"4\txsycfam 7E\txexafam 12 } +\def \rrbracket {\delimiter"5\txsycfam 7F\txexafam 13 } +\mathchardef \boxright "3\txsycfam 80 +\mathchardef \boxleft "3\txsycfam 81 +\mathchardef \boxdotright "3\txsycfam 82 +\mathchardef \boxdotleft "3\txsycfam 83 +\mathchardef \Diamondright "3\txsycfam 84 +\mathchardef \Diamondleft "3\txsycfam 85 +\mathchardef \Diamonddotright "3\txsycfam 86 +\mathchardef \Diamonddotleft "3\txsycfam 87 +\mathchardef \boxRight "3\txsycfam 88 +\mathchardef \boxLeft "3\txsycfam 89 +\mathchardef \boxdotRight "3\txsycfam 8A +\mathchardef \boxdotLeft "3\txsycfam 8B +\mathchardef \DiamondRight "3\txsycfam 8C +\mathchardef \DiamondLeft "3\txsycfam 8D +\mathchardef \DiamonddotRight "3\txsycfam 8E +\mathchardef \DiamonddotLeft "3\txsycfam 8F +\mathchardef \Diamonddot "0\txsycfam 90 +\mathchardef \circleright "3\txsycfam 91 +\mathchardef \circleleft "3\txsycfam 92 +\mathchardef \circleddotright "3\txsycfam 93 +\mathchardef \circleddotleft "3\txsycfam 94 +\mathchardef \multimapbothvert "3\txsycfam 95 +\mathchardef \multimapdotbothvert "3\txsycfam 96 +\mathchardef \multimapdotbothBvert "3\txsycfam 97 +\mathchardef \multimapdotbothAvert "3\txsycfam 98 + + \def\mappedfrom{\leftarrow\mappedfromchar} + \def\longmappedfrom{\longleftarrow\mappedfromchar} + \def\Mapsto{\Mapstochar\Rightarrow} + \def\Longmapsto{\Mapstochar\Longrightarrow} + \def\Mappedfrom{\Leftarrow\Mappedfromchar} + \def\Longmappedfrom{\Longleftarrow\Mappedfromchar} + \def\mmapsto{\mmapstochar\rightarrow} + \def\longmmapsto{\mmapstochar\longrightarrow} + \def\mmappedfrom{\leftarrow\mmappedfromchar} + \def\longmmappedfrom{\longleftarrow\mmappedfromchar} + \def\Mmapsto{\Mmapstochar\Rightarrow} + \def\Longmmapsto{\Mmapstochar\Longrightarrow} + \def\Mmappedfrom{\Leftarrow\Mmappedfromchar} + \def\Longmmappedfrom{\Longleftarrow\Mmappedfromchar} + \let\ne=\neq + \let\notowns=\notni + \let\lrJoin=\Join + % \let\bowtie\lrtimes + \let\dasharrow\dashrightarrow + \let\circledotright\circleddotright + \let\circledotleft\circleddotleft + + +%% TXexa large symbols + +\mathchardef \bignplus "1\txexafam 00 +\mathchardef \bigsqcupplus "1\txexafam 02 +\mathchardef \bigsqcapplus "1\txexafam 04 +\mathchardef \bigsqcap "1\txexafam 06 +\mathchardef \oiintop "1\txexafam 08 +\mathchardef \ointctrclockwiseop "1\txexafam 0A +\mathchardef \ointclockwiseop "1\txexafam 0C +\mathchardef \sqintop "1\txexafam 0E +\mathchardef \varprod "1\txexafam 10 +\mathchardef \braacext "0\txexafam 20 +\mathchardef \iintop "1\txexafam 21 +\mathchardef \iiintop "1\txexafam 23 +\mathchardef \iiiintop "1\txexafam 25 +\mathchardef \idotsintop "1\txexafam 27 +\mathchardef \oiiintop "1\txexafam 29 +\mathchardef \varointctrclockwiseop "1\txexafam 2B +\mathchardef \varointclockwiseop "1\txexafam 2D +\mathchardef \fintop "1\txexafam 3E +\mathchardef \oiintctrclockwiseop "1\txexafam 40 +\mathchardef \varoiintclockwiseop "1\txexafam 42 +\mathchardef \oiintclockwiseop "1\txexafam 48 +\mathchardef \varoiintctrclockwiseop "1\txexafam 4A +\mathchardef \oiiintctrclockwiseop "1\txexafam 44 +\mathchardef \varoiiintclockwiseop "1\txexafam 46 +\mathchardef \oiiintclockwiseop "1\txexafam 4C +\mathchardef \varoiiintctrclockwiseop "1\txexafam 4E +\mathchardef \sqiintop "1\txexafam 50 +\mathchardef \sqiiintop "1\txexafam 52 + + \def\oiint{\oiintop\nolimits} + \def\ointctrclockwise{\ointctrclockwiseop\nolimits} + \def\ointclockwise{\ointclockwiseop\nolimits} + \def\iint{\iintop\nolimits} + \def\iiint{\iiintop\nolimits} + \def\sqint{\sqintop\nolimits} + \def\iiiint{\iiiintop\nolimits} + \def\oiiint{\oiiintop\nolimits} + \def\idotsint{\idotsintop\nolimits} + \def\varointctrclockwise{\varointctrclockwiseop\nolimits} + \def\varointclockwise{\varointclockwiseop\nolimits} + \def\fint{\fintop\nolimits} + \def\oiintctrclockwise{\oiintctrclockwiseop\nolimits} + \def\varoiintclockwise{\varoiintclockwiseop\nolimits} + \def\oiintclockwise{\oiintclockwiseop\nolimits} + \def\varoiintctrclockwise{\varoiintctrclockwiseop\nolimits} + \def\oiiintctrclockwise{\oiiintctrclockwiseop\nolimits} + \def\varoiiintclockwise{\varoiiintclockwiseop\nolimits} + \def\oiiintclockwise{\oiiintclockwiseop\nolimits} + \def\varoiiintctrclockwise{\varoiiintctrclockwiseop\nolimits} + \def\sqiint{\sqiintop\nolimits} + \def\sqiiint{\sqiiintop\nolimits} + +%% TXMIA + +\mathchardef \upalpha "0\txmiafam 0B +\mathchardef \upbeta "0\txmiafam 0C +\mathchardef \upgamma "0\txmiafam 0D +\mathchardef \updelta "0\txmiafam 0E +\mathchardef \upepsilon "0\txmiafam 0F +\mathchardef \upzeta "0\txmiafam 10 +\mathchardef \upeta "0\txmiafam 11 +\mathchardef \uptheta "0\txmiafam 12 +\mathchardef \upiota "0\txmiafam 13 +\mathchardef \upkappa "0\txmiafam 14 +\mathchardef \uplambda "0\txmiafam 15 +\mathchardef \upmu "0\txmiafam 16 +\mathchardef \upnu "0\txmiafam 17 +\mathchardef \upxi "0\txmiafam 18 +\mathchardef \uppi "0\txmiafam 19 +\mathchardef \uprho "0\txmiafam 1A +\mathchardef \upsigma "0\txmiafam 1B +\mathchardef \uptau "0\txmiafam 1C +\mathchardef \upupsilon "0\txmiafam 1D +\mathchardef \upphi "0\txmiafam 1E +\mathchardef \upchi "0\txmiafam 1F +\mathchardef \uppsi "0\txmiafam 20 +\mathchardef \upomega "0\txmiafam 21 +\mathchardef \upvarepsilon "0\txmiafam 22 +\mathchardef \upvartheta "0\txmiafam 23 +\mathchardef \upvarpi "0\txmiafam 24 +\mathchardef \upvarrho "0\txmiafam 25 +\mathchardef \upvarsigma "0\txmiafam 26 +\mathchardef \upvarphi "0\txmiafam 27 + +%%% macros + +\def\joinrel{\mathrel{\mkern-2.5mu}} %-3mu in plain TeX + +\let\circledplus\oplus +\let\circledminus\ominus +\let\circledtimes\otimes +\let\circledslash\oslash +\let\circleddot\odot + +%%% For \underbrace and \overbrace: +%%% use brace extenstion bar (in "20 of txexa) instead of vrule + +\def\downbracefill{$\mathsurround0pt + \braceld\mkern-1mu + \cleaders\hbox{$\mkern-.5mu\braacext\mkern-.5mu$}\hfill + \mkern-1mu\braceru\bracelu\mkern-1mu + \cleaders\hbox{$\mkern-.5mu\braacext\mkern-.5mu$}\hfill + \mkern-1mu\bracerd$} + +\def\upbracefill{$\mathsurround0pt + \bracelu\mkern-1mu + \cleaders\hbox{$\mkern-.5mu\braacext\mkern-.5mu$}\hfill + \mkern-1mu\bracerd\braceld\mkern-1mu + \cleaders\hbox{$\mkern-.5mu\braacext\mkern-.5mu$}\hfill + \mkern-1mu\braceru$} + +%%% \big, \bigg, etc. + +\def\scalebig#1#2{{\left#1\vbox to#2\fontdimen6\textfont3{}% + \kern-\nulldelimiterspace\right.}} +\def\big#1{\scalebig{#1}{.85}} +\def\Big#1{\scalebig{#1}{1.15}} +\def\bigg#1{\scalebig{#1}{1.45}} +\def\Bigg#1{\scalebig{#1}{1.75}} + +%%% \not redefined: +%%% \not= becomes \ne +%%% \not< becomes \nless +%%% \not> becomes \ngtr +%%% if \notXXX is defined, \not\XXX becomes \notXXX; +%%% if \nXXX is defined, \not\XXX becomes \nXXX; +%%% otherwise, \not\XXX is done in the usual way. + +\mathchardef \notchar "3236 + +\def\not#1{% + \ifx\TeX\relax \noexpand\not \else % \let\TeX=\relax in \output routine + \ifx #1=\ne \else + \ifx #1<\nless \else + \ifx #1>\ngtr \else + \bgroup\escapechar=-1\xdef\tmpn{\string#1}\egroup + \expandafter\ifx \csname not\tmpn\endcsname \relax + \expandafter\ifx \csname n\tmpn\endcsname \relax + \mathrel{\mathord{\notchar}\mathord{#1}}% + \else \csname n\tmpn\endcsname \fi + \else \csname not\tmpn\endcsname \fi + \fi\fi\fi\fi} + +\endinput + +% end of tx-math.tex file + diff --git a/Master/texmf-dist/tex/csplain/fonts/unifam.tex b/Master/texmf-dist/tex/csplain/fonts/unifam.tex new file mode 100644 index 00000000000..6438b1bf86a --- /dev/null +++ b/Master/texmf-dist/tex/csplain/fonts/unifam.tex @@ -0,0 +1,27 @@ +% unifam.tex: loads standard 4-fonts family in UNICODE as .otf files +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Petr Olsak, 2012 + +% \famname includes the family name +% \fontfeatures can include font features. If not, default font features are used. + +\ifx\directlua\undefined \else \ifx\luafonts\undefined \input luafonts +\fi\fi % lua code to re-define \font primitive + +\ifx\fontfeatures\undefined + \def\fontfeatures{mapping=tex-text;script=latn;+tlig} +\fi + +\font\tenrm="[\famname-regular]:\fontfeatures" \sizespec +\font\tenbf="[\famname-bold]:\fontfeatures" \sizespec +\font\tenit="[\famname-italic]:\fontfeatures" \sizespec +\font\tenbi="[\famname-bolditalic]:\fontfeatures" \sizespec + +\font\tentt="[texgyrecursor-regular]" \sizespec + +\font\tenrmc="[\famname-regular]:+smcp;\fontfeatures" \sizespec +\font\tenbfc="[\famname-bold]:+smcp;\fontfeatures" \sizespec +\font\tenitc="[\famname-italic]:+smcp;\fontfeatures" \sizespec +\font\tenbic="[\famname-bolditalic]:+smcp;\fontfeatures" \sizespec + +\endinput |