Using Indian rupee symbol in LaTeX




On 15 July 2010 Indian Government accepted ₹ as Indian Rupee symbol. After accepting there was numerous attempt was made to bring the symbol to the digital world. Unicode U+20B9 was assigned to it. Also almost all modern operating system support inserting the symbol by some method. As one of the finest word processor LaTeX also support ₹ symbol. TechFat has created a package called tfrupee, which can be used to write rupee symbol in latex document. Let's see how to use it, first installation.

Installation:
Miktex:
If you are using Windows then probably you are using Miktex as latex distribution. It is very easy to install any package in miktex. You can use miktex package manager to install it. First go windows Start button>Miktex>Administration>Package Manager. Search for tfrupee there and select it and click in "+" symbol to install it. If you have installed complete miktex 2.9 then probably it is already installed in your computer.

TexLive:
If you are a linux user then probably you are using TexLive. Then you have to manually install the package. Frist download the zip file tfrupee.zip here. Then go to the downloaded directory. Then unzip and install it using following code




Using It:
To use it you have to use \usepackage{tfrupee} command at the preamble of the document and \rupee at the point where you want to insert rupee symbol. You can test your installation using the following minimal example.



Screen shot of the generated pdf will be like this



Error:
You may get some error message while compiling the document to dvi or pdf saying unable to create document or unable to load fonts. Error message will be like the following:


The workaround to solve this problem is to add \pdfmapfile{=tfrupee.map} before \begin{documnent}. The above example will then be


After that pdflatex will run without any error and will create pdf file. Latex will till not run and genarating dvi file is still a problem with rupee symbol. As soon as I find any workaround I will share it.

Some Sources:
http://ctan.org/pkg/tfrupee
http://tug.ctan.org/tex-archive/fonts/tfrupee
http://drona.csa.iisc.ernet.in/~uday/rupee-latex.html
http://tex.stackexchange.com/questions/55881/local-font-installation-problems

Cheers
A.Paul

Comments

Popular posts from this blog

Changing caption width in latex

Subtitle in latex

Installing SciDaVis on Ubuntu 20.04