Skip to content
Prev 37713 / 63424 Next

scalable < > delimiters in plotmath

Hi

[shifting to r-devel]
On 13/09/2010 8:43 a.m., David Winsemius wrote:
Unfortunately, I don't think this is trivial.  How are these supposed to 
scale?  Just get drawn bigger?  (which is unlikely to produce nice 
results because the lines will get thicker).
That's about right.  This is all modelled on TeX's equation formatting 
algorithms.  The Computer Modern fonts have this kind of extendable 
components for very large delimiters, but for angled brackets it looks 
like the TeX solution is just to offer various "big" versions.  For 
example, try the following TeX document ...

\documentclass{article}
\begin{document}

\[ \left\{
      \begin{array}{ccc}
       a & b & c \\
       a & b & c \\
       a & b & c \\
       a & b & c \\
       a & b & c \\
       a & b & c \\
       a & b & c \\
       d & e & f \end{array}
      \right\} \]

\[ \left\langle
      \begin{array}{ccc}
       a & b & c \\
       a & b & c \\
       a & b & c \\
       a & b & c \\
       a & b & c \\
       a & b & c \\
       a & b & c \\
       d & e & f \end{array}
      \right\rangle \]

\end{document}

Paul