[texhax] Nice Angle brackets

Johan Glimming glimming at kth.se
Mon Feb 21 20:59:51 CET 2005


Krishnan and all other TeXperts,

I am settling for Krishnan's suggestion, which after some TeX hacking 
became:

\documentclass{minimal}
\usepackage{stmaryrd}
\usepackage{amsmath}

\newcommand{\lbangle}{
   \mkern-5mu\ll\mkern-10.9mu
   \makebox[0pt]{\hspace{2pt}\rule[5.25pt]{3pt}{0.4pt}}
   \makebox[0pt]{\hspace{2pt}\rule[-0.7pt]{3pt}{0.4pt}}
   \mkern5mu}
\newcommand{\rbangle}{
   \mkern-5mu\gg\mkern-20.9mu
   \makebox[0pt]{\hspace{2pt}\rule[5.25pt]{3pt}{0.4pt}}
   \makebox[0pt]{\hspace{2pt}\rule[-0.7pt]{3pt}{0.4pt}}
   \mkern15mu}

\begin{document}

$123123 \lbangle 123 \rbangle 123123$
\end{document}

Johan Glimming.



More information about the texhax mailing list