Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!bloom-beacon!eru!hagbard!sunic!dkuug!daimi!lynbech From: lynbech@daimi.aau.dk (Christian Lynbech) Newsgroups: comp.text.tex Subject: Re: Math mode in LaTeX Message-ID: <1991May28.104731.14521@daimi.aau.dk> Date: 28 May 91 10:47:31 GMT References: <1991May15.205919.12393@serval.net.wsu.edu> Sender: lynbech@daimi.aau.dk (Christian Lynbech) Organization: DAIMI: Computer Science Department, Aarhus University, Denmark Lines: 32 jefft@athena.mit.edu (Jeff Tang) writes: >In article <1991May15.205919.12393@serval.net.wsu.edu> rdubey@yoda.eecs.wsu.edu (Rakesh Dubey - grad student) writes: > I need to typeset a lot of material in which mathematical > formulas are interspersed with text. Is it possible to define > something similar to $...$ for the text mode, so that I could use it > instead of \mbox{...} which really gets clumsy and takes too much > space. Right now I write $a \mbox{ or } b$ where it will be very > nice to have something like $a !or! b$. I believe formulas will be > easier to read this way. (The letter ! is just for example). >How about the $ character? >$a$ or $b$ should work, though you'll probably need to add spaces. >Jeff Tang >jefft@athena.mit.edu Well, another possibilty is to use a \parbox{\linewidth}{..some text...}, if you have a larger piece of text in math-mode. The advantage of \parbox is that LaTeX will break the text of the second argument into lines of length \linewidth. Off course any length could be used instead of \linewidth. Some fidling is necessary however to make it fit in. Christian Lynbech DAIMI University of Aarhus,DK-Denmark email: lynbech@daimi.aau.dk