Skip to content
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 for persistent newcommand definitions #31

Open
alecjacobson opened this issue Nov 26, 2019 · 1 comment
Open

Support for persistent newcommand definitions #31

alecjacobson opened this issue Nov 26, 2019 · 1 comment

Comments

@alecjacobson
Copy link

The following works as expected:

# README 

$\newcommand{\f}{\mathbf{f}}
\|\f\|^2$

But if I put newcommand in a different line this will not work:

# README 

$\newcommand{\f}{\mathbf{f}}$

$\|\f\|^2$

Mathjax for example will keep commands persistent through the document. This is very useful if I want to define some macro at the top of the document and use it in a bunch of equations below.

I humbly request this feature.

@rarora7777
Copy link

I agree. This will be very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants