I am using acm template and want < and > bracket. I checked out some posts regarding this question and they have suggested to use \left and \right. But the problem is when I use them, they give me error saying ! Missing delimiter (. inserted). I want to write html code like <html>.
I do not want the elongated '<' which is a delimiter from mathsymbols. I want the simple '<'.
Here is the sample code
\documentclass[prodmode,acmtecs]{acmsmall}
% Package to generate and customize Algorithm as per ACM style
\usepackage[ruled]{algorithm2e}
\usepackage{listings}
\usepackage{array}
\renewcommand{\algorithmcfname}{ALGORITHM}
\SetAlFnt{\small}
\SetAlCapFnt{\small}
\SetAlCapNameFnt{\small}
\SetAlCapHSkip{0pt}
\IncMargin{-\parindent}
% Document starts
\begin{document}
% Title portion
\title{Some Title}
\author{Some Name
\affil{Some University}}
\maketitle
$\left$ source $\right$
\end{document}
But if I use $\langle$ and $\rangle$ it doesn't give me any error but gives weird left and right angles.

\leftand\rightare macros that act on extensible delimiters, which you haven't specified. You're perhaps interested in$\left\langle\textrm{source}\right\rangle$? – Werner Jun 14 '12 at 20:20\leftmust be accompanied by\rightcommand. – azetina Jun 14 '12 at 20:22\newcommand{\braca}[1]{\ifmmode\left\langle{#1}\right\rangle\else$\left\langle{\text{#1}}\right\rangle$\fi}. You can use it as\braca{html}in text mode or,$\braca{x = y ^2}$in math mode (assuming you are loadingamsmath, if you can\textrm{}instead of\text{}). – Peter Grill Jun 14 '12 at 20:24\newcommand{\braca}[1]{\ifmmode<{#1}>\else$<\text{#1}>$\fi}. Then\braca{html}should give you want you want. – Peter Grill Jun 14 '12 at 20:30