ASCIIMath creating images

Showing posts with label LaTeX. Show all posts
Showing posts with label LaTeX. Show all posts

Sunday, October 5, 2014

Using an ARM Chromebook for Scientific (and Academic) Computing

Samsung ARM Chromebook
A couple of months ago, I decided to get myself a Chromebook. The Samsung ARM Chromebook is cheap (to the point of being almost disposable) and it's got an ARM CPU - and for performance at the least possible amount of juice it's hard to beat. I really like the fact that this thing emits no noise that I can detect even in a very quiet room.

But how useful is it, for someone in a standard engineering/academic setting? The answer is that it works well, for me at least - with some special considerations. Especially for the last few weeks, it has been my primary laptop, having been dragged to research cluster meetings and one conference. I will explain the details of a few typical things I do, such as (LaTeX) document editing, intensive numerical computation, etc. Read below the break for details.  

Tuesday, August 9, 2011

Conference Posters using LaTeX

A few students in the TSP lab have papers to present in poster sessions at INTERSPEECH 2011.  Congratulations!  In the past, the TSP Lab students used to use PowerPoint to create the posters - a bit of a kludge, and if the submitted paper was written using LaTeX, it might mean having to re-enter the equations (in addition to all the other annoyances of PowerPoint).

This pain can be avoided by doing the poster in LaTeX as well, as I did for my INTERSPEECH paper (see "Reconstructing Audio Signals from Modified Non-Coherent Hilbert Envelopes" on my research page).  I used the a0poster package, and while it can be a bit daunting at first, with a good template it's quite easy to use.  I've modified my own poster to be a small guide, with explanations: see inside the TSP Lab Template Package.  It contains the a0poster class (probably an older version), and the McGill logo.

Thursday, June 2, 2011

A bit of LaTeX code: placing your documents under a CC license

Distributing digital content with a Creative Commons license is usually a simple affair: decide on the license, and follow the instructions on the website to put it all in there; usually a link and a small png file.

But what if your work is a printed dead-tree document?  What is a visually appealing way to indicate your work is "free" (at least in the beer sense)?

Here is a solution at least if you use LaTeX to typeset your documents.  This was started by my supervisor, Prof. Peter Kabal, and I completed it by adding all the standard CC licenses and cleaning the LaTeX code a little.  The documentation of the package is in pdf format here.  The icons are all svg converted to eps and pdf, so nicely resolution independent.

The package could use some work to make work properly with odd paper sizes.  Email me (or comment below) if that ends up being necessary.

Tuesday, December 14, 2010

Adding math equations in a blogger posting

This this blog is in theory about signal processing, I had a look at how to add equations into posts, something which at first I thought to be pretty straightforward. Ok, I thought that I might have to learn MathML.  Turns out Blogger (on which this blog is hosted) uses plain html rather than htmlx (whatever that may mean) so one has to work around this problem; a quick bit of googling reveals it's a common problem, and there is a "standard" solution: ASCIIMathML.  Following the instructions here, I uploaded the script to my Google site, then added a "Gadget" (in the "Design" tab of the Blogger interface) and added the link to my copy of ASCIIMathML.js.

So does it work?

$X(\omega) = \int_{t=-\infty}^{\infty}x(t)e^{-j\omega t}dt$

Well more or less...it appears your mileage may vary depending on what browser you are using. On Chrome the above does not quite work. Firefox does OK, reconq fails. I'll have to test Safari at home.

Still, it should be usable in most cases.