Skip to main content

Posts

Showing posts from February, 2009

fancyvrb

I like to type source code in latex. Here is the latex code to include source code in a latex file. \begin{Verbatim}[frame=single, label=Title is here, commentchar=!, rulecolor=\color{red}] Verbatim line. \end{Verbatim} See Also: http://gentoo.chem.wisc.edu/tex-archive/macros/latex/contrib/fancyvrb/fancyvrb.pdf

Open pdf in pagewidth mode

I like to open a pdf file in fit width mode and without the taskbar, etc. One may use the following latex cod \usepackage{hyperref} % link from toc \hypersetup{ pdfstartview=FitH, % Fit, FitH, FitV, FitR, FitB, FitBH, FitBV pdfpagemode=None, % None FullScreen UseThumbs UseOutlines colorlinks=true, % false: boxed links; true: colored links linkcolor=blue, % color of internal links } See Also: http://www.andy-roberts.net/misc/latex/pdftutorial.html

Kdevelop failed to build even a simple "hello world" program (kdevelop and libtool)

Kdevelop failed to build even a simple "hello world" program, the reason is due to libtool: Create a new project using the "C++/Hello World Program" template Replace the project's ltmain.sh by /usr/share/libtool/ltmain.sh build the project For more explanation, please visit http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=351358 N.B. In Ubuntu 8.10, the file is located in /usr/share/libtool/config/ltmain.sh