Linked Questions

0
votes
1answer
48 views

How to define a macro with digits in its name using \def and a counter value?

I need a \def whose name involves a number, with that number being value of a counter. \documentclass[varwidth,border=5mm]{standalone} \begin{document} % COUNTER \newcounter{myC} \addtocounter{myC}{...
1
vote
2answers
105 views

Use Labels to show equations

I want to be able to create many equations, say $a+b=c$ and $c+d=e$, save the equation as a variable but not have the equation be displayed. I simply want to have the ability to use the label/variable ...
1
vote
1answer
70 views

about newcommand [duplicate]

I have trying to use new command to represent math, and this is what I type in: \\ \newcommand\fpi2[2][\pi][2]{frac{#1}{#2}}\\ \newcommand\mylim[2][x]{lim_{#1\to #2}} I'm trying to create a new ...
0
votes
1answer
48 views

Custom function stopped working for no reason

I defined an operator \DeclareMathOperator{\s2}{s_{2}} And the second time I use it, it tells me "!Use of \s doesn't match its definition. \s 2..." In another instance of the document, it works ...

15 30 50 per page