Files

20 lines
925 B
TeX

% Actual font integer defaults, scoped selectors and native mathaccent geometry.
\defaulthyphenchar=45 \defaultskewchar=127
\input math-fonts
\hsize=300pt
\def\hat{\mathaccent"705E }
\def\widehat{\mathaccent"0362 }
\def\vec{\mathaccent"017E }
\noindent Native accents: $\hat a+\hat x_i^2=\hat{a+b}$ and $\widehat{a+b+c}$.\par
\noindent Nested accents: $\hat{\hat x}$ and $x^{\hat y}_{\hat z}$.\par
\noindent Actual script masters: $\hat x+\scriptstyle\hat x+\scriptscriptstyle\hat x$.\par
\noindent Fractions: ${\hat x\over\hat y_i}$ and $\hat{{a\over b}}$.\par
\noindent Vector: $\vec x$ uses the actual OML slot.\par
\skewchar\teni=-1
\noindent Disabled skew: $\hat x$.
{\skewchar\teni=127}\noindent Restored resource state: $\hat x$.\par
\tracinglostchars=2
\noindent Missing accent: $\mathaccent"00C8 x_i^2$ retains its base and scripts.\par
\message{Actual font integers: \the\skewchar\teni/\the\hyphenchar\tenrm.}
\end