How to get the Rupee symbol in Latex
These days it is available in texlive-fonts-extra package of Debian. To get it
working by downloading from CTAN, do the following:
- Download tfrupee
package zip file from the CTAN website.
- unzip tfrupee.zip
- You will find the tfrupee directory that contains doc/, fonts/ and other
files.
- It is quite easy to install this package in a customized
location (at the time of writing) in Debian. Suppose, we wish to installed it in
${HOME}/install/texmf directory.
- export TEXMFHOME=${HOME}/install/texmf
- First double-check if the dirctory name is correct.
- echo ${TEXMFHOME}
- If the name is not correct, go back to one and set the name correctly.
- mkdir ${TEXMFHOME}
- Copy the unziped files to this TEXMFHOME directory
- rsync -av doc ${TEXMFHOME}/
- rsync -av fonts ${TEXMFHOME}/
- rsync -av tex ${TEXMFHOME}/
- Generate the database.
- mktexlsr $TEXMFHOME
- Create the map.
- updmap --enable Map tfrupee.map
That is all. Here's a simple latex file to test if your setup works.
\documentclass{minimal}
\usepackage[paperwidth=2.5in,paperheight=0.6in]{geometry}
\usepackage{tfrupee}
\usepackage{graphicx}
\begin{document}
\scalebox{4}{\rupee 1.00}
\end{document}
To compile it, just do
export TEXMFHOME=${HOME}/install/texmf
pdflatex r.tex
Here is
the output.
This page was last modified on Mar 26, 2021.