0
$\begingroup$

Image attached: I recently tried using the newcommand but like always it often doesn't render the \int or the integration sign, I know this becuase if I remove it from the body, everything seems fine. enter image description here

$\endgroup$
  • 3
    $\begingroup$ Be careful with these. As a sort of fluke, new commands defined in higher answers affect the TeX on lower answers too. Although rare, this causes problems if multiple users create new commands for the same things. $\endgroup$ – davidlowryduda Dec 31 '14 at 16:05
  • $\begingroup$ @mixedmath to be exact about the situation:there was no answers above me, OP didn't added any newcommands; maybe when you see the situation remains same here:link $\endgroup$ – RE60K Dec 31 '14 at 17:26
  • $\begingroup$ Since it seems to be reproducing inconsistently, do you know which browser (and what version) you were using when it occurred? $\endgroup$ – alexwlchan Dec 31 '14 at 23:37
  • $\begingroup$ @alexwlchan i always use chrome(maybe latest) $\endgroup$ – RE60K Jan 1 '15 at 9:21
5
$\begingroup$

It seems to be working on my end...

$$\newcommand{\I}[0]{\infty}
\newcommand{\irf}[4]{\int_{#1}^{#2} \frac{#3}{#4} {\rm d} x}
\irf{-\I}{+\I}{x+\sin x}{x(x^2+4i-4)^2}$$

$$\newcommand{\I}[0]{\infty} \newcommand{\irf}[4]{\int_{#1}^{#2} \frac{#3}{#4} {\rm d} x} \irf{-\I}{+\I}{x+\sin x}{x(x^2+4i-4)^2}$$

$\endgroup$
  • $\begingroup$ but why doesn't mine $\endgroup$ – RE60K Dec 31 '14 at 17:26
  • $\begingroup$ I have no idea. I even tried putting this code into your answer and it rendered correctly. $\endgroup$ – Najib Idrissi Dec 31 '14 at 18:29
  • $\begingroup$ seems like the problem is specific to me only happened to me a few weeks ago too $\endgroup$ – RE60K Dec 31 '14 at 18:30
  • $\begingroup$ I you put this code into your answer yourself, does the preview render correctly? $\endgroup$ – Najib Idrissi Dec 31 '14 at 18:32
  • $\begingroup$ currently it seems working, but as I have attached the image, sometimes it does frustate me $\endgroup$ – RE60K Dec 31 '14 at 18:34
  • $\begingroup$ Happy New Year btw $\endgroup$ – RE60K Dec 31 '14 at 18:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .