- #316
- 12,180
- 182
It is my pleasure to remind to youGreg Bernhardt said:ah yes thanks for reminding me
It is my pleasure to remind to youGreg Bernhardt said:ah yes thanks for reminding me
quasar987 said:In this thread, https://www.physicsforums.com/showthread.php?t=510385, does anyone know what might have triggered the appearance of the red part? I double checked and I didn't forget to write "\par" or anything. I even made a copy paste of the "{\partial f}" that appears in the LHS of the equation and the red part still appears in the LHS. The code I used is
\sum_i\frac{\partial f}{\partial x^i}\frac{d\varphi^i_x(t)}{dt}(0)=\sum_i\frac{\partial f}{\partial x^i}X^i(x)
I'm bumping this question. Greg, did you decide that you don't want any new delimiters for LaTeX?vela said:Any decision on new delimiters?
Ben Niehoff said:THere's a simple explanation why: The best a regular expression algorithm can do is search for two $ signs with something in between. That is, a regular expression such as (Perl syntax)
\$(.*)\$
I like Serena said:What about:
\$([^\$]*)\$
or
\$(.*?)\$
I've learned to always use pretty strict expressions in Perl to avoid such problems.
It's significantly harder to to type than ££.Ben Niehoff said:Why not choose \$ as the LaTeX delimiter? Then there is no collision with ordinary dollar signs.
As I said, all that's required is a simple edit of a MathJax configuration file. (OK, maybe not if you specifically want to use \$ as a delimiter).Ben Niehoff said:It seems to be a Javascript that runs on the completed page, which is long after the vBulletin parser processes the posts. In that case, I think we're stuck with 'itex' and 'tex'.
Why not? What's wrong with using something like ##?Ben Niehoff said:I would recommend against making the delimiter some random symbol. The $ sign is standardized already, but if it can't be the $ sign, it shouldn't be some other symbol.
I had another look a the keyboard layout page. I had forgotten that ££ is a bad option for people with a US keyboard. ## is better for them. But most of the rest of the world should prefer ££ (based on the location on the keyboard), so here's a third option:Fredrik said:The simple option is:
££...££ for itex
$$...$$ for tex
Almost everyone has # and/or £ on the 3 key, and $ on the 4 key. Most (all?) of the ones who don't can still type those symbols easily.
The complicated option is:
££...££, ##...##, §§...§§, ··...·· for itex.
$$...$$, ¢¢...¢¢ for tex.
The §,· and ¢ characters are minor improvements for Germans, Spaniards, and French Canadians respectively. The only advantage it has for them is that it allows them to use either Shift+3 for itex and Shift+4 for tex, or Alt Gr+3 for itex and Alt Gr+4 for tex, instead of e.g. Alt Gr+3 for itex and Shift+4 for tex.
Keyboard layouts at Wikipedia.
I'd modify that slightly to ##…## and ££…££ for itex.Fredrik said:##...## or ££...££ for itex
$$...$$ for tex
Your closing itex tags are wrong. Use /, not \.Juqon said:Why is my latex code not processed?
As a start, you need to put some spaces in with that code. After 50 consecutive characters without a space, the processor will automatically insert a space.Juqon said:
Juqon said:
What the other two guys said. As an alternative to multiple tex tags, use the align environment. That will make the \\ code work. Like this: \begin{align}Juqon said:
You can't open with "tex" and close with "itex" or vice versa. You need to specify a unit for the hspace command. Note sure about the tables.paul-g said:I am writing because I do not know how to write the following formula in MathJax