I am new to TeX and I started adding package files to prepare my document without worrying about conflicts. I am asking this subjective question because I am not sure if I can post entire document preamble here. Any generic tips would be of big help.
I uploaded my package definition to google docs.
I am getting extra white space with \ifthenelse which I highlighted with a circle in the attached image. I tried using just the ifthen package and commands and it works just fine.
\documentclass[fleqn,12pt,a4paper]{article}
\usepackage{mypackage}
\begin{document}
\Vibhakti{11} \& \Vibhakti{52} \& \Vibhakti{73}
\end{document}
(This should be compiled with xelatex.)

I am not sure if I am using any package that I should not be...
:-)– Hendrik Vogt Jan 17 '11 at 18:41[1]inside the code block, so the image didn't appear. – Hendrik Vogt Jan 17 '11 at 18:45