Friday, June 15, 2007

TeXnicCenter toolbar arrangement problem

TeXnicCenter is quite a LaTex editor. But the annoying thing is that sometimes when you arrange the toolbars as you wish, restart, they all get disarranged. As far as I know, certain toolbar arrangement doesn't have this problem. And in LaTex community forum, Jon gives a ultimate solution:

"Do not maximize the TeXnicCenter-Window but resize it to fit the full screen instead. Now align the toolbars to your needs and close TeXnicCenter. After restart of the program, toolbars should have stayed in place. Now you can maximize the TeXnixCenter window and exit the program again. When now restarting, TeXnicCenter should already be maximized with toolbars in correct place."

I have already tried, it works. Thanks, Jon.

Friday, June 08, 2007

Free software 22: QT TabBar, enhance your windows explorer


What is the application you use most frequently everyday? It is the windows explorer. There are many alternatives available, either commercial or free. But some people would like to stick to the original windows explorer. What they need is QT TabBar, an enhancement of windows explorer.


The functions I like is the application quick links, groups, history, tab browse, subfold viewer, and select the file name part only when you rename a file.

Download the QT TabBar from http://members.at.infoseek.co.jp/Quizo/freeware/, unzip it into the place you want to store. Run RegisterQTTabBar.exe to install. Then restart or re-log in your computer. Open the windows explorer, right click on the toolbar, select QT TabBar and QT Tab Standard buttons. Maybe you would like to configure a little more to suit you, such as run QTShortcutKeyEditor.exe to specify the keyboard shortcuts.

Tuesday, June 05, 2007

MATLAB: matrix scale

function vscaled= scale_matrix(v)
% scale_matrix scales a matrix into [0 1] along the vertical direction,
% this is a simplified version
%
% SYNTAX
%
% Inputs: v: m*n matrix;
% Outputs:
% Wenbin, 08-Mar-2007

vr =size(v,1);
if vr <2
error('The rows of input matrix must be greater than 1');
end

diff =maxv-minv;
diff(diff ==0) =1;% Avoid dividing by zero
vscaled =(v-repmat(minv, vr,1))./(repmat(diff,vr,1));