Skip to content

Instantly share code, notes, and snippets.

@rwoeber
Created February 25, 2016 13:34
Show Gist options
  • Save rwoeber/ef08b1557f2677a85714 to your computer and use it in GitHub Desktop.
Save rwoeber/ef08b1557f2677a85714 to your computer and use it in GitHub Desktop.
Table of glyphs with XeTeX
% via http://tex.stackexchange.com/questions/23863/generating-a-table-of-glyphs-with-xetex
\documentclass[landscape]{article}
\usepackage{geometry}
\usepackage{fontspec}
\setmainfont{Linux Libertine O}
\usepackage{multicol}
\setlength{\columnseprule}{0.4pt}
\usepackage{multido}
\setlength{\parindent}{0pt}
\begin{document}
\begin{multicols}{10}
\multido{\i=0+1}{"10000}{% from U+0000 to U+FFFF
\iffontchar\font\i
\makebox[3em][l]{\i}%
\symbol{\i}\endgraf
\fi
}
\end{multicols}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment