Pink Stinks

There’s a great UK web site that I think sends all the right messages to girls.

http://pinkstinks.co.uk/

All credit to my PhD student Ida Zadeh for the discovery.

Screen shot 2011-10-04 at 17.31.03.png

Posted in opinion | Tagged , | Comments Off

Abstruse Goose explains what it’s like to be a string theory grad student

Abstruse Goose must be a string theorist – or married to one! :D

prerequisite.PNG

prerequisite2.PNG

prerequisite3.PNG

prerequisite4.PNG

prerequisite5.PNG

prerequisite6.PNG

prerequisite7.PNG

Posted in funny | Tagged , | Comments Off

How to add page numbers in Beamer Warsaw theme

From http://texblog.net/latex-archive/plaintex/beamer-footline-frame-number/ :-

Quick workaround to this nontrivial problem is to redefine the following macro:

\newcommand*\oldmacro{}%
\let\oldmacro\insertshorttitle%
\renewcommand*\insertshorttitle{%
  \oldmacro\hfill%
  \insertframenumber\,/\,\inserttotalframenumber}

Posted in physics, talks | Tagged | Comments Off

Beamer for LaTeX presentations

Beamer is a class for LaTeX presentations which has matured to the point of being stable and usable. It also produces VERY pretty and very readable output. Here is how to install Beamer on your Mac.

(Credit: I learned how to do the installation from the following webpage: http://www.arthurkoziel.com/2008/06/02/how-to-install-latex-beamer-for-tex-live-on-mac-os-x/)

First, download Beamer and its required dependencies, which are xcolor and pgf. The links are

Then perform extraction by opening a Terminal and typing

tar xvzf beamer-3-10.tar.bz3
tar xvzf xcolor-2.00.tar.gz
tar xvzf pgf-1.01.tar.gz

(or whatever the appropriate filenames are).

Next, create a directory in the texmf tree and place the above files there by typing these commands into Terminal:

sudo mkdir -p /opt/local/share/texmf/tex/latex/{beamer,pgf,xcolor}
sudo mv beamer-3-10/* /opt/local/share/texmf/tex/latex/beamer/
sudo mv pgf-1.01/* /opt/local/share/texmf/tex/latex/pgf/
sudo mv xcolor-2.00/* /opt/local/share/texmf/tex/latex/xcolor/

Finally, let TeX know about your new files by typing in Terminal

sudo texhash

(If this last step doesn’t work, don’t worry. Rebooting your computer will accomplish the desired result too.)

That’s it! Look inside /opt/local/share/texmf/tex/latex/beamer/doc/beameruserguide.pdf for the user manual and /opt/local/share/texmf/tex/latex/beamer/examples/ for sample presentations.

Your output will look something like this:

bh8-p4.jpg

Posted in talks | Tagged , , | Comments Off

Seven Deadly Sins of Student Writers

The Chronicle of Higher Education, a US publication, has some excellent articles. One such article by Ben Yagoda applies just as well to students in physics courses as it does to students of English!

Here are his seven deadly sins:-

1. Dangling modifiers.

2. Omitted commas.

3. Gratuitous commas.

4. Semicolons.   

5. Use of the word “they.”

6. Spell-check errors.

7. Wrong word errors.

For more, read the whole article. It’s not long or painful.

Posted in Uncategorized | Tagged , | Comments Off

Abstruse Goose nails M Theory

the_theory_is_a_lie.PNG

Credit for finding this comic goes to twitter users @ulrik, @SpaceGurlEvie and @trancedevo.

Posted in funny | Tagged , , | Comments Off

MathJax

Wow, MathJax is really impressive!

MathJax renders $\TeX$ equations beautifully, in any modern browser, in such a way that the equations scale up or down with the text size. Try it out with the relativistic mass shell relation:

$$ E^2 – |{\vec{p}}|^2c^2=m^2c^4 $$

Awesome, eh? :D

Enormous hat tip to @hendersonsk who first told me about MathJax.

PS: since MathJax is JavaScript code, you will need to turn off script blockers (e.g. NoScript Firefox extension) in order for MathJax to work. Thanks to @KSchmidt for reminding me of this.

Posted in computing | Tagged , | Comments Off

Now this is progress!

IMG_0249.jpg

IMG_0248.jpg

Posted in opinion | Tagged , | Comments Off

xkcd nails physicists

xkcd.com-physicists.png

Posted in funny | Tagged , , | Comments Off

The Thesis Repulsor Field

From the awesome phdcomics.com:-

phd080910s.gif

Posted in advice, funny | Tagged , | Comments Off