Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!pacbell.com!ames!orion.arc.nasa.gov!ogawa From: ogawa@orion.arc.nasa.gov (Arthur Ogawa) Newsgroups: comp.text.tex Subject: Re: Defining new Delimiters in LaTeX math? Message-ID: <1991Mar7.175256.2571@news.arc.nasa.gov> Date: 7 Mar 91 17:52:56 GMT References: <2402@taurus.BITNET> <1991Mar6.021200.28755@news.arc.nasa.gov> Sender: usenet@news.arc.nasa.gov (USENET Administration) Organization: NASA Ames Research Center, Moffett Field, CA Lines: 52 Bcc: ogawa In article fj@iesd.auc.dk (Frank Jensen) writes: |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 I'm not sure what you mean by "look funny"; humor was certainly not the intention ;-). |\def\Lmeaning{\left[\!\left[}% |\def\Rmeaning{\right]\!\right]}% There is no need to double up the \left and \right, as you have done here. If I am wrong in this, I am open to correction. |Still, I suspect that the negative skip is only adequate in some cases. I am eager to find the cases where the single \! is inadequate. It certainly is so for the simple test case; I mean certain in the sense of producing correct print output. Anyone who actually uses my solution, please post results/corrections to me; I will summarize to the net.