Search This Blog

Friday, November 19, 2010

bug in "find" command in Linux

One should put single quotations for the wild card option.

 > find  $HOME  -name  '*.tcl'

This command is to find any file whose extension is tcl under the home directory including all the sub-directories.

Wednesday, November 17, 2010

shell script

This script read a directory, zip the directory, and create file.
And it send the zip file to specific location in my Mac computer using scp.


echo $1
zip -r $1 $1
scp $

Monday, November 15, 2010

Latex: how to change footnote symbols

Arabic numerals, e.g., 1, 2, 3...

Roman numerals (lowercase), e.g., i, ii, iii...\renewcommand{\thefootnote}{\roman{footnote}}

Roman numerals (uppercase), e.g., I, II, III...

Alphabetic (lowercase), e.g., a, b, c...


Alphabetic (uppercase), e.g., A, B, C...


A sequence of nine symbols (try it and see!)


LaTex: Long arrow



is not sufficiently long, try

\[ \xrightarrow{\hspace*{3cm}} \]

Saturday, November 13, 2010

PDF to Keynote (pdftokeynote)

For people who enjoys LaTex presentation, beamer, this free software "pdftokeynote"provides an excellent link between pdf and keynote.  A pdf presentation is prepared using beamer with full functionality of math typesetting. Once the final pdf file is made, then pdftokeynote can convert the pdf file with a number of slides to a Keynote file. Each Keynote page includes a pdf image of the presentation.  Only slide transition is possible in Keynote.