[Tex/LaTex] Special Currency Character

hebrewsymbolsunicode

I have the problem, that I need to insert the NIS (New Israeli Shekel) Symbol into a otherwise english document with math formulas. The Symbol itself is in testmode. How can I manage to get the symbol? It can be a hack as well…

Best Answer

Find a good version of the symbol on line or create it yourself by compiling with XeLaTeX or LuaLaTeX the file

\documentclass{standalone}
\usepackage{fontspec}
\setmainfont{DejaVu Sans}
\begin{document}
\symbol{"20AA}
\end{document}

If you call the file NIS.tex, then you'll have NIS.pdf. Then, in your document, you can just say

\usepackage{graphicx}
\DeclareRobustCommand{\NIS}{\includegraphics[height=\fontcharht\font`T]{NIS}}

and use the command normally:

\documentclass{article}
\usepackage{graphicx}
\DeclareRobustCommand{\NIS}{\includegraphics[height=\fontcharht\font`T]{NIS}}

\begin{document}
I paid \NIS 200

\Large I paid \NIS 200
\end{document}

enter image description here

See Where do I place my own .sty or .cls files, to make them available to all my .tex files? for instructions about where to put NIS.pdf in order for it to be available for every document.