I am working on special character handling and my text is having % as one the special character which is treated as comment and anything after that is not printed. I m using verb as suggested in my previous thread but still pblm.
How to handle special characters in LaTeX?
Below is my code.
\documentclass[11pt,table,a4paper]{article}
\usepackage{array,ragged2e}
\usepackage[scaled]{uarial}
\usepackage[T1]{fontenc}
\begin{document}
\begin{minipage}{0.3\linewidth}
\def\verbatim@font{\normalfont\ua1}
This is my sample text for checking % character. I found whereever there is % character it is treated as comment and nothing gets printed after this. How can i fix this pblm. I m using verb still getting same pblm. pls help me how can i fix this pblm.
\end{minipage}
\end{document}


verbatimfont, you need to select/use it in averbatimenvironment (say). – Werner Aug 17 '12 at 2:02%in some code lising? If this is only a normal text, just use\%. And you may need to read a short but complete LaTeX tutorial first. – Leo Liu Aug 17 '12 at 2:14