17 lines
714 B
TeX
17 lines
714 B
TeX
% Text-extraction gate for accents with unambiguous reference Unicode metadata.
|
|
\defaulthyphenchar=45 \defaultskewchar=127
|
|
\input math-fonts
|
|
\hsize=300pt
|
|
\def\hat{\mathaccent"705E }
|
|
\noindent Native accents: $\hat a+\hat x_i^2=\hat{a+b}$.\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
|
|
\skewchar\teni=-1
|
|
\noindent Disabled skew: $\hat x$.\par
|
|
{\skewchar\teni=127}
|
|
\noindent Persistent font state: $\hat x$.\par
|
|
\tracinglostchars=2
|
|
\noindent Missing accent: $\mathaccent"00C8 x_i^2$ retains its base and scripts.\par
|
|
\end
|