readme2tex icon indicating copy to clipboard operation
readme2tex copied to clipboard

Support for persistent newcommand definitions

Open alecjacobson opened this issue 5 years ago • 1 comments

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.

alecjacobson avatar Nov 26 '19 19:11 alecjacobson

I agree. This will be very useful.

rarora7777 avatar Nov 26 '19 21:11 rarora7777