With unicode looping:

\documentclass{minimal}
\usepackage[paperwidth=4cm,paperheight=112cm,textheight=110cm]{geometry}
\usepackage{fontspec}
\usepackage{unicode-math}
\usepackage{pgffor}
\usepackage{pgfmath}
\pgfmathsetbasenumberlength{5}

\newcommand{\printunicoderange}[4]{%#1=range begin, #2=range end, #3=before code, #4=after code
\pgfmathbasetodec{\rangebegin}{#1}{16}
\pgfmathbasetodec{\rangeend}{#2}{16}
\foreach \decimalunicode in {\rangebegin,...,\rangeend}%
 {%
 \pgfmathdectoBase{\hexadecimalunicode}{\decimalunicode}{16}
 #3%
 \char"\hexadecimalunicode
 %\hexadecimalunicode
 #4
 }
}
\begin{document}

\begin{minipage}[t]{1cm}
\raggedleft
\setmathfont{Asana Math}
\printunicoderange{2200}{22ff}{$}{$\\}
\end{minipage}
\begin{minipage}[t]{1cm}
\raggedright
\setmathfont{XITS Math}
\printunicoderange{2200}{22ff}{$}{$\\}
\end{minipage}


\end{document}

Strange page geometry was necessary, because of the missing page breaks in the minipage environment.


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex

Reply via email to