New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support \let #1413

Open
ylemkimon opened this Issue Jun 7, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@ylemkimon
Copy link
Member

ylemkimon commented Jun 7, 2018

\let copies the content of a command into a new command.

@edemaine

This comment has been minimized.

Copy link
Member

edemaine commented Jun 7, 2018

Thanks for making this an issue. I've been wondering about how to do this. It's easy for macros, but trickier for symbols and functions (when those symbols/functions later get replaced by macros). Will probably require some additions to macro support.

@ylemkimon

This comment has been minimized.

Copy link
Member

ylemkimon commented Jun 8, 2018

@edemaine I don't know exactly how \let exactly works, but I think it can be achieved using snapshotting(cloning) MacroExpander. Since there may be at most 1 or 2 \lets, I don't think there will be much overhead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment