back to list

Xenharmonic wiki has latex support now

🔗Mike Battaglia <battaglia01@...>

2/5/2011 6:53:26 PM

Latex, for those of you who don't know, is that fantastic and
wonderful mathematical formula markup language that turns evil into
good and happiness. Apparently it's been on the xenharmonic wiki this
all time, but nobody ever noticed. As a trial measure, I've changed
the following three pages to have nice, latex, pretty printed formulas
on the page, so we can all test how it works:

http://xenharmonic.wikispaces.com/Wedgies+and+Multivals
http://xenharmonic.wikispaces.com/Periodic+scale
http://xenharmonic.wikispaces.com/Tenney-Euclidean+temperament+measures

Does anyone have a problem with this? If not, I'd love to spend some
time cleaning the rest of it up. It's so much easier for me to read
now that it's marked up nice.

If anyone hates this, the original versions should be recoverable just
by going back into the history for each page and reverting to the last
edit before mine.

For reference, you just surround the formula with

[[math]]
**FORMULA HERE**
[[math]]

It doesn't work inline, so don't try. Some useful things to know:

dot product - c.b translates to c \cdot b
wedge product - c^b translates to c \wedge b
exponents - b^e translates to b^e, and you get an actual raised exponent
subscripts - a_b translates to a_b, and you get an actual subscript
Sigma summations - sum_i(...) translates to \sum_i ...
Fractions - (a+b+c)/(d*e*f) translates to \frac{a+b+c}{d*e*f}
Square roots - sqrt(1023) translates to \sqrt{1023} and you get a nice
radical sign too

Put \displaystyle at the beginning of the formula, and it will all
work a lot nicer. It's really intuitive and looks great.

-Mike

🔗Carl Lumma <carl@...>

2/5/2011 8:05:17 PM

Wunderbar! -C.

--- In tuning@yahoogroups.com, Mike Battaglia <battaglia01@...> wrote:
>
> Latex, for those of you who don't know, is that fantastic and
> wonderful mathematical formula markup language that turns evil into
> good and happiness. Apparently it's been on the xenharmonic wiki
> this all time, but nobody ever noticed. As a trial measure, I've
> changed the following three pages to have nice, latex, pretty
> printed formulas on the page, so we can all test how it works:
>
> http://xenharmonic.wikispaces.com/Wedgies+and+Multivals
> http://xenharmonic.wikispaces.com/Periodic+scale
[snip]

🔗Chris Vaisvil <chrisvaisvil@...>

2/5/2011 8:50:28 PM

We has pretty math!

Thanks!!

Chris

On Sat, Feb 5, 2011 at 9:53 PM, Mike Battaglia <battaglia01@...> wrote:
>
>
>
> Latex, for those of you who don't know, is that fantastic and
> wonderful mathematical formula markup language that turns evil into
> good and happiness. Apparently it's been on the xenharmonic wiki this