[texhax] Nice Angle brackets

Johan Glimming glimming at kth.se
Wed Feb 23 14:57:27 CET 2005


On the fat-slash-slash approach to nice angle brackets:

After some refinement of Philip's macro for nice angle brackets << the 
following seems to fix the vertical space problem. However, the 
typesetting is not perfect, probably the second slash needs to be 
raised negatively to increase the vertical distance between the 
symbols? How can that be done in the valign setting? (valign seems very 
undocumented...)

\def\lbangle
     {\mbox{
      \valign
      \bgroup & \hbox{##} \cr
         \ensuremath {\scriptscriptstyle \mathchar "2428} &
         \ensuremath {\kern 1,4 pt \scriptscriptstyle \mathchar "2429} 
\cr
      \egroup
     }}

\def\rbangle
     {\mbox{
      \valign
      \bgroup & \hbox{##} \cr
         \ensuremath {\scriptscriptstyle \mathchar "2429} &
         \ensuremath {\kern -1.4 pt \scriptscriptstyle \mathchar "2428} 
\cr
      \egroup
     }}

\begin {document}

    $\lbangle \ell_1=41 \rbangle$

\end {document}

Johan Glimming.



More information about the texhax mailing list