Tuesday, December 18, 2012

Useful links for natbib package

(1) Natbib reference sheet
- http://mirror.unl.edu/ctan/macros/latex/contrib/natbib/natnotes.pdf

(2) Issue with Springer spbasic
- http://tex.stackexchange.com/questions/75182/issue-with-springer-spbasic

Sunday, December 9, 2012

Squeezing Space from Latex

http://www.eng.cam.ac.uk/help/tpl/textprocessing/squeeze.html

Wednesday, May 23, 2012

Creat postscript (ps) file by using TexShop

1. Save all image files as *.ps
  - In Adobe Acrobat, File > Save as > More Options > Encapsulated ostScript(.eps).

2. In the TexShop preferences,
  - Check Tex+DVI in the Typesetting tab.
  - Check Save Postscript File in the Engine tab.
  - Click Typeset.

Saturday, March 3, 2012

[MATLAB] Check which toolboxes have used in my code

1. First run you code.

2. Type '>> license('inuse')' .

3. If your code used image processing toolbox, output is

image_toolbox
matlab

Otherwise, if no toolbox was used, then only 'matlab' will be shown.

Wednesday, February 1, 2012

Turn off iTerm beep sound

Check
Bookmarks --> manage profiles --> terminal profiles --> default --> silence terminal bell.

Monday, August 9, 2010

[Emacs] Turn off the automatic break of long lines


This feature is called 'hard-wrap'.

In the usual emacs, add
(auto-fill-mode 0)
to your '~/.emacs'.

In the Aquamacs on OS X, add
(remove-hook 'text-mode-hook 'auto-detect-wrap)
to your '~/Library/Preferences/Aquamacs Emacs/Preferences.el'.

Ref) http://lists.aquamacs.org/pipermail/aquamacs-devel/2009-January/001823.html

Thursday, April 15, 2010

[Python] Intall IPython without root previledge

(1) Download ipython-0.10.tar.gz from http://ipython.scipy.org/moin/Download .

(2) Untar it and move to the directory where the numpy is.

(3) Run '>> python setup.py install --home=~/.local '

(4) Add the following lines to your .bashrc . Here I assume that your python version is 2.4.x.
export PYTHONPATH=$HOME/.local/lib/python2.4/site-packages:$PYTHONPATH
PATH=$PATH:$HOME/.local/bin
export PATH

(5) In order to use ipython on emacs, add the following to your .emacs . Refer the details to ipython.el, which is self-contained.
(add-to-list 'load-path "~/.emacs_addons")
(require 'ipython)