Guest User

Untitled

a guest
Oct 22nd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. documentclass[varwidth,border=10pt]{standalone}
  2. usepackage{expl3}
  3. usepackage{newunicodechar}
  4. ExplSyntaxOn
  5.  
  6. cs_new_protected:Nn someToken:n {
  7. peek_catcode:NF ## {
  8. char: #1\
  9. -~Meaning~of~next~token:~token_to_meaning:N l_peek_token\
  10. -~Prefix~of~next~token:~token_get_prefix_spec:N l_peek_token\
  11. -~Name~of~next~token:~token_to_str:N l_peek_token\ % this is not working as wanted, I want someToken:n !
  12. }
  13. }
  14.  
  15. newunicodechar{➀}{someToken:n{a}}
  16. newunicodechar{➁}{someToken:n{b}}
  17. ExplSyntaxOff
  18. begin{document}
  19. ➁➀
  20. end{document}
Add Comment
Please, Sign In to add comment