Thursday, October 23, 2008

Latex: subfigure: how to get rid of 'counter' of subcaption

The subfigure 's tutorial

If you want to get rid of 'counter' in front of your sub-captions, use to redefine the command: \thesubfigure by:

\renewcommand*{\thesubfigure}{}

(originally one in subfigure.sty is

\renewcommand*{\thesubfigure}{(\alph{subfigure})}

)

Tuesday, October 14, 2008

Linux:command: du and quota

My disk quota is full on my account at Fermilab (.../home/zhiyil/desktop/...). So I have to clean to get more rooms to store files to SAM. Use the command:

du -s * .[a-zA-Z]* | sort -n

get an idea of which file is the largest one so that you could deal with them.

Thursday, October 9, 2008

Linux:command:shell: diff

One of layouts of printout of the command 'diff' is called: --side-by-side or -y which is also useful. Change the column width, just use

-W columns

--width=columns
. An example:

diff --side-by-side -W 130 file1.txt file2.txt

Tuesday, October 7, 2008

Linux:command: seq

When printing a sequence of numbers, use 'seq'. One of arguments is '-w' or '--equal-width' which will equalize width by padding with leading zeros.

Thursday, September 18, 2008

CVS: update

If you want to checkout the newest version of the package, then do

cd
cvs update .

or

cvs update -A FileWhatYouWantToCheckOut
If you want to get an idea of the difference:

cvs diff

statistics:chi-square calculator

A page to calculate chi-square.

http://www.stat.tamu.edu/~west/applets/chisqdemo.html

given freedom.

Tuesday, September 16, 2008

linux:tools: how to edit pdf files

To the Linux Users who need to edit pdf files or figures:
In Linux, you may use pdfedit or xfig etc to edit pdf files, however, they are not good enough. For example, pdfedit is too slow to make users mad ( I am one of victims :-( ). However, you could use an online tool here:

http://www.pdfescape.com

to edit your pdf files. Fast, easy to use...

Locations of visitors to this page