Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!dkuug!iesd!iesd.auc.dk!fj From: fj@iesd.auc.dk (Frank Jensen) Newsgroups: comp.text.tex Subject: Re: Defining new Delimiters in LaTeX math? Message-ID: Date: 7 Mar 91 14:23:04 GMT References: <2402@taurus.BITNET> <1991Mar6.021200.28755@news.arc.nasa.gov> Sender: news@iesd.auc.dk Organization: Mathematics and Computer Science, University of Aalborg Lines: 54 In-reply-to: ogawa@orion.arc.nasa.gov's message of 6 Mar 91 02:12:00 GMT In article <1991Mar6.021200.28755@news.arc.nasa.gov> ogawa@orion.arc.nasa.gov (Arthur Ogawa) writes: In article <2402@taurus.BITNET> raan%math.tau.ac.il@CUNYVM.CUNY.EDU (Ran Ever-Hadani) writes: |Is there a way to define new delimiters in LaTeX math mode, |other than the existing () {} <> | etc.? | |What I am after is a the semantics meaning delimiters, which |look something like this: | | ======= ======= | | | | | | | | | | | | | | | | | | | | | | | Expression | | | | | | | | | | | | | | | | | | | | | | | | | | | | ======= ======= | |Of course, I want it to change size in accordance with the size |of the expression, as \{ Expression \} would. Here's my best shot: \documentstyle{book} \def\Lmeaning{\left[\![}% \def\Rmeaning{\right]\!]}% I'm quite sure this will look funny. You probably meant \def\Lmeaning{\left[\!\left[}% \def\Rmeaning{\right]\!\right]}% Still, I suspect that the negative skip is only adequate i some cases. \begin{document} \[ \Lmeaning Expression \Rmeaning \] \end{document} You must use these delimiters in pairs because of the \left and \right. -- Frank Jensen Department of Mathematics and Computer Science Aalborg University DENMARK