# LaTex support

I use jsMath to write mathematical equations in this blog. Here is an example
This is inline equation (use slash parenthesis): $$\alpha+\beta\geq\gamma=\pi$$
This is one line equation (use double dollar sign \$\$…\$\$): $$\int {1\over x}\,dx = \ln(x)+C$$

How can one write a dollar sign? Use slash before the dollar sign. Even inside code highlighter, you need to take care of double dollar sign and slash parenthesis. But hopefully you won’t encounter them.

To setup jsMath, follow the instructions in jsMath webpage. Basically
2. change jsMath/easy/load.js. I changed (below) so we can use dollar sign to show equations.

  processSlashParens: 1,       // process $$...$$ in text? (slash parenthesis)
processSlashBrackets: 0,     // process $...$ in text?
processDoubleDollars: 1,     // process $\$...$\$ in text?
processSingleDollars: 0,     // process $...$ in text?
fixEscapedDollars: 1,        // convert \$to$ outside of math mode?
showFontWarnings: 0,


<script src=/jsMath/easy/load.js></script>


That’s it.

Don't want to miss new papers in your field? Check out Stork we developed:

## Google Chrome takes too much CPU

I have been noticing for a while that Chrome takes too much of my CPU. It constantly consumes about ~30% or even more CPU...

## Functional Near Infrared Spectroscopy (fNIRS): List of manufactures

Contents Company Products Artinis Brite, OxyMon, OctaMon, PortaMon, PortaLite, BIOPAC fNIR 100, fNIR2000M Series 丹阳慧创 NirScan-6000, NirSmart GOWERLABS NTS fNIRS system, LUMO HAMAMATSU NIRO-200NX...

$$\int{1\over x}\,dx=\ln(x)+C$$