Skip to content

Instantly share code, notes, and snippets.

@munepi
Last active March 8, 2020 14:54
Show Gist options
  • Save munepi/ae921866878c7aa112df96d50d5708a5 to your computer and use it in GitHub Desktop.
Save munepi/ae921866878c7aa112df96d50d5708a5 to your computer and use it in GitHub Desktop.
Testing to use TeX-style escape sequences beginning with a YEN SIGN "¥" (Unicode U+00A5) character: This example is only available for LuaLaTeX or XeLaTeX.
%#!lualatex
%% We remark that this example is only available for LuaLaTeX or XeLaTeX.
\catcode`¥=0 %<= yen sign 0x00A5
\let¥¥=\\
¥documentclass{article}
¥begin{document}
Hello {¥LaTeX} world!
¥end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment