Skip to content

Instantly share code, notes, and snippets.

@wtsnjp
Last active December 26, 2016 07:22
Show Gist options
  • Save wtsnjp/414cbbc11defa40bb02ca42bdd66dc48 to your computer and use it in GitHub Desktop.
Save wtsnjp/414cbbc11defa40bb02ca42bdd66dc48 to your computer and use it in GitHub Desktop.
%!TEX TS-program = lualatex
%!TEX encoding = UTF-8 Unicode
%!TEX spellcheck = en-US
\documentclass{article}
\begin{document}
\makeatletter
% make 🍣 \expandafter again
\catcode`🍣\active
\let🍣\expandafter
% test
\texttt{\meaning🍣}
\def\xAB{AB}
\def\xExchange#1#2{#2#1}
🍣\xExchange\xAB\relax
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment