Test for inline math mode – tex.stackexchange.com 02:34 Posted by Unknown No Comments I want to define a command \myfrac that takes 2 arguments and returns #1 / #2 if it is in text style (e.g. $\myfrac 1 2$), and returns \frac{#1}{#2} if it is in display style (e.g. \[ \myfrac 1 2 \]). ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "Test for inline math mode – tex.stackexchange.com"
Post a Comment