News for hackers. Stuff that matters.
Re:Proposal: Linear Algebra Study Group by mkl on Tuesday September 13, 2011 @08:39PM (#2994325)
Testing new HN version of script: [;A\boldsymbol{x}=\lambda\boldsymbol{x};]

Seems to be working, in Chrome at least. Can some other people try it out? http://userscripts.org/scripts/show/112966

Put latex code inside square bracket semicolon pairs: [;...code...;]

Re:Proposal: Linear Algebra Study Group by tzs on Tuesday September 13, 2011 @10:08PM (#2994605)
Note that /r/math on Reddit is using those delimiters because that's what Tex The World uses. I don't see any particular reason to use those over just sticking with the MathJax defaults, which are backslash-brackets and dollar dollar for display math, and backslash-parens for inline math.

For your script, this can be achieved simply by deleting the line in the configuration that sets the inline math delimiters.

I've tested, and the default delimiters seem to work fine on HN.

Re:Proposal: Linear Algebra Study Group by mkl on Tuesday September 13, 2011 @11:47PM (#2994802)
Cool, thanks. That would be better.

Testing new version: \(\sum_{i=1}^n c_i \phi(\|\boldsymbol{x}-\boldsymbol{x}_i\|)\)

Re:Proposal: Linear Algebra Study Group by mkl on Wednesday September 14, 2011 @12:45AM (#2994926)
Now updated and tested successfully in Chrome and Firefox (multiple versions of each) on Linux and Windows, with http or https.

Not working in Tampermonkey on Android (the script runs, but the notation doesn't happen).

Now using standard MathJax delimeters, \(...code...\) for inline or \[...code...\] for an equation.

Re:Proposal: Linear Algebra Study Group by nhamann on Tuesday September 13, 2011 @09:39PM (#2994524)
Works for me on Chrome 14.

Testing: [;\frac{du}{dt};] [;\left[ \begin{array}{cc} 1 & 0 \\ 0 & 1 \end{array} \right];]

Re:Proposal: Linear Algebra Study Group by mkl on Tuesday September 13, 2011 @11:50PM (#2994809)
Now changed to use the MathJax default delimeters, as tzs explains.