2008年9月13日星期六

LaTeX Highlighting in Emacs

I choose emacs as my major LaTeX editor for two simple reasons. One is the highlighting (especially when you input the title for a section), another is the simple line wrap (M-q).

But suddenly, after I got my MacBook Pro and set up Ubuntu on it, Emacs do not have highlighting for LaTeX any more...

God!! Kile, winefish are all good ones, but without line wrap!!! And much less keyboard short cuts!! I want my Emacs back!

I surf and surf, and found that emacs can be customized by simply editing the ~/.emacs file! I did it even easier -- download someone else's...

http://cermics.enpc.fr/~lelong/Emacs/index.html

2008年8月28日星期四

HOW TO: edit the partition in Ubuntu

I never learned how to partition the hard disk using fdisk, though it might be the "best" way. Ijust want to use the GUI doing this kind o stuff. So...

gparted!

The simplest way of adding new fonts in Hardy

I found it is such a pity that in Hardy, the path "fonts:///" does not exist anymore. But still, the installation of a new font can be as easy as drag-and-go. Just create a folder in ~ called ".fonts", if you do not have it already. Then, drag the .ttf font in, you will see them immediately in Appearance->Fonts. Amazing!