4
votes
1answer
68 views

How to type argmin over a variable in plain TeX

I am forced to use plain TeX instead of LaTeX and I don't know what is the proper way to type argmin with some variable under it. I know $$ \min_b. $$ And I would like to do someething similar, ...
5
votes
3answers
197 views

Greek capital letters with Latin Modern and TeX

Copying the plain TeX format, my formatting file contains the lines \font\tenrm="[lmroman10-regular.otf]:mapping=tex-text" \textfont0=\tenrm \def\rm{\fam0 \tenrm} to load a unicode font. However, ...
7
votes
2answers
125 views

Append a token list to \everymath

I've mimicked Donald Knuth by setting | as a verbatim delimiter. To give it its normal meaning in math mode, I've set \everymath{\catcode`\|=12} \everydisplay{\catcode`\|=12} However I'd like to ...
6
votes
2answers
663 views

Left-aligned display math mode

How could one achieve, as primitively as possible, left-aligned display math so that \abovedisplayshortskip would still work as intended? It is my understanding that one can achieve left-alignment ...
8
votes
1answer
247 views

Math symbols in plain TeX

I would be much obliged if you cold tell me how can I make an arc over a letter (or a group of letters) in TeX. The command in LaTeX is \stackrel{\frown}{AB} but in TeX it proves to be useless. ...
6
votes
5answers
9k views

Real numbers symbol in XeTeX

How can I get the 'real number' sign (something like \mathbb{R} with the amssymb package in LaTeX) in XeTeX?
10
votes
2answers
469 views

TeX equivalent for LaTeX's \boxed

Does anyone have any suggestions for recreating the \boxed{...} function from LaTeX in plain TeX? I'm pretty sure it's part of the amsmath package for LaTeX (not actually sure because I include ...
3
votes
1answer
356 views

Loading a math font with stylistic set in plain XeTeX

How does one activate a stylistic set in plain XeTeX? I have tried: \font\test="XITS Math:+ss01" % for calligraphic \textfont2=\test $ \fam2 A $ \bye but with no luck.
20
votes
2answers
2k views

The mysteries of \mathpalette

I would like to make a macro, \vfrac, which output would look like: $$\displaylines{ \displaystyle\raise.25ex\hbox{$\displaystyle1$}\!/\!\lower.5ex\hbox{$\displaystyle2$} \cr ...
8
votes
4answers
283 views

Subscript sizing of text in math formulas

I am using Plain TeX, not LaTeX. Right now, I have \def\text#1{\hbox{#1}} This works for things like $$A + \text{foo bar}$$. However, not for things like: $$\Sum_{ \text{foo} = a}$$. How do ...
6
votes
2answers
1k views

Changing math font to OTF in XeTeX using plaintex-format

How does one change the math font?