dantrag's blog

By dantrag, 5 years ago, In English

UPD: The problem is fixed now.

Today I tried to write a comment with formulas, something like this:

What I got in the comment preview (and if I actually post this in the comment or a blog):

The same happens if I copy my old comments with a couple of mid-length formulas in the same sentence: they don't look the same, line splitting occurs. In fact, here is the code that is generated: If $$$a$$$ and $$$a + x$$$, then. If you remove spaces in "a + x", line breaks disappear. Also, for example, abcd generates line breaks, and abc does not etc.

Does anyone have this problem or did I accidentaly change some setting for my account and broke everything?

  • Vote: I like it
  • +77
  • Vote: I do not like it

»
5 years ago, # |
  Vote: I like it +16 Vote: I do not like it

Let $$$f(x)$$$ to be number of positive integers which is smaller than $$$x$$$, calculate $$$f(x)$$$. ($$$1 \le x \le 10^{18}$$$)

  • »
    »
    5 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Yep, it renders as <p>Let $$$f(x)$$$ to be number of positive integers which is smaller than $$$x$$$, calculate $$$f(x)$$$. (</p>$$$1 \le x \le 10^{18}$$$.

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

The $$$A + B$$$ problem is seen on every online judge.

You are tasked to calculate $$$a + b$$$ where $$$ 1 \le a, b \le 10^{10000}$$$, since the constraint is large, do not use standard data types.

Why is the second $$$a + b$$$ rendering correctly?

  • »
    »
    5 years ago, # ^ |
      Vote: I like it +11 Vote: I do not like it

    I actually hoped MikeMirzayanov could shed some light on this problem. The change in the behavior happened Yesterday so there was probably some intended change in TeX support recently that he might be aware of.

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Is it OK now?

  • »
    »
    5 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    To me still looks the same...

  • »
    »
    5 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    If $$$a$$$ and $$$a + x$$$, then.

    If $$$a$$$ and $$$a + x$$$, then.

    • »
      »
      »
      5 years ago, # ^ |
        Vote: I like it +13 Vote: I do not like it

      Thanks. Now looks better: If $$$a$$$ and $$$a + x$$$, then -> If $$$a$$$ and $$$a + x$$$, then

»
5 years ago, # |
  Vote: I like it +8 Vote: I do not like it

I had a similar problem too, and I posted it in this blog: https://codeforces.net/blog/entry/74130 , but I didn't know how to give it more visibility.

It seems that my examples there are also fixed.