using roman letter in Latex

(Original Post: http://nw360.blogspot.com/2007/09/roman-numerals-in-latex.html)

Ok, we have to admit that it is not easy to input roman numerals in Latex. There is still a way.
In the preamble, i.e. before \begin{document}, define

\makeatletter
\newcommand{\rmnum}[1]{\romannumeral #1}
\newcommand{\Rmnum}[1]{\expandafter\@slowromancap\romannumeral #1@}
\makeatother

Then in the document part, \rmnum{num} is used to input the roman numeral of num,\Rmnum is for the uppercase. If you prefer to use other commands, just change the red part in the definition part.

Advertisements
Posted in latex | Leave a comment

Line space in latex

By forcing line space in latex, one can use the command below

\vsapce{5mm}

it indicates to make the space 5mm between two lines

Posted in Uncategorized | Leave a comment

Install cisco VT camera II driver on win7 x64

The instruction to get the Cisco VT camera II to work with Windows 7 (x64):

  1. get this file from logitech. download qc1051enu_x64.exe and run it,
  2. when error windows open that state that the software is not compatible, copy C:\Program Files (x86)\Logitech to C:\Logitech,
  3. edit C:\Logitech\QuickCamWebInstall\Drivers\x64\PRO364\IPRO364V.inf and replace all 08CE with 08C7 and save the file,
  4. open computer manager (right click on My computer -> manage -> device manager) and update drive on unidentified device by pointing it to C:\Logitech,
  5. do not update drivers from internet when asked.

it works quite well. The original contribution is from   baziuk.wg  http://communities.cisco.com/thread/4211?start=30&tstart=0

Posted in Uncategorized | Tagged | 7 Comments

insert several pics on one line into latex

\begin{figure}
\centering
\subfigure[p2p]
{
\includegraphics[bb=0 0 483 291, width=0.3\textwidth]{p2p.png}
\label{fig_firstsub}
}
\subfigure[dns]
{
\includegraphics[bb=0 0 483 291, width=0.3\textwidth]{dns.png}
\label{fig_secondsub}
}
\subfigure[ftp]
{
\includegraphics[bb=0 0 483 291, width=0.3\textwidth]{ftp.png}
\label{fig_thirdsub}
}
\caption{applications}
\label{fig}

Posted in Uncategorized | Leave a comment

import .png pic into latex, classic error

The error below is the classic error when you work with png file instead of eps.

Cannot determine size of graphic in figuras/picture.png (noBoundingBox). …

To avoid this issue, you have to manually set the picture bounds. Check the picture size in some Image viewer and include the image as follows:

\begin{figure}[htb]
\centering
\includegraphics[scale=0.5,bb=0 0 385 567]{figuras/picture.png}
\caption{Some description about the picture}
\label{picture-label}
\end{figure}

The above code includes an image of 386 x 567 pixels. You can also change the scale to reduce or increase the image size.

This is retrieved from internet.

Posted in latex, Uncategorized | Leave a comment

Hello world!

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

Posted in Uncategorized | 2 Comments