[texhax] Nice Angle brackets

Johan Glimming glimming at kth.se
Wed Feb 23 15:38:55 CET 2005


Folks,
Let's conclude the angle bracket business. I have polished slightly
on Krishnan's proposal and here is what I would say is a _very neat_ 
little pair of brackets \lbAngle and \rbAngle respectively (they 
typeset perfectly in 10pt, and almost as well in 12pt, on a printer the 
difference is probably not noticeable):

\documentclass[12pt]{article}
\usepackage{calc}
\newlength{\anglen}
\settoheight{\anglen}{$\langle$}
\newlength{\angwid}
\settowidth{\angwid}{$\langle$}
\newlength{\angdep}
\settodepth{\angdep}{$\langle$}
\newcommand{\lbAngle}
   {\langle\kern -2pt
    
\makebox[0pt]{\hspace{4.3pt}\rule[\anglen-0.4pt]{\angwid-1.8pt}{0.4pt}}
    \makebox[0pt]{\hspace{4.3pt}\rule[-\angdep]{\angwid-1.8pt}{0.4pt}}
    \langle}
\newcommand{\rbAngle}
   {\rangle\kern -4.5 pt
    
\makebox[0pt]{\hspace{4.3pt}\rule[\anglen-0.4pt]{\angwid-1.8pt}{0.4pt}}
    \makebox[0pt]{\hspace{4.3pt}\rule[-\angdep]{\angwid-1.8pt}{0.4pt}}
    \kern 2.5 pt \rangle}

\begin{document}
   $\lbAngle \ell_1=400, \ell_2=401 \rbAngle$
\end{document}

Johan Glimming.



More information about the texhax mailing list