From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: auto wrapping in latex mode Date: Sun, 13 May 2007 09:31:36 +0200 Organization: Organization?!? Message-ID: <85hcqhqiw7.fsf@lola.goethe.zz> References: <1179041299.765499.237070@q75g2000hsh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179041568 17106 80.91.229.12 (13 May 2007 07:32:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 May 2007 07:32:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 13 09:32:46 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hn8ZM-0008Tz-IY for geh-help-gnu-emacs@m.gmane.org; Sun, 13 May 2007 09:32:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hn8gy-0006aZ-6k for geh-help-gnu-emacs@m.gmane.org; Sun, 13 May 2007 03:40:32 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!storethat.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:lTC3Nx5uPqgVo3yLAps5ZzNRud8= Original-Lines: 30 Original-NNTP-Posting-Date: 13 May 2007 09:31:32 CEST Original-NNTP-Posting-Host: e5244cac.newsspool1.arcor-online.net Original-X-Trace: DXC=Q_TSV4EGdU2kUFX=Y?aLP; ic==]BZ:af>4Fo<]lROoR1Fl8W>\BH3Y2`U List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43933 Archived-At: Snail writes: > Dear all, > > I have a question in using emacs as a latex mode, espeically auto > wrapping. > > I have used emacs for my latex editting, and used alt-q for auto > wrapping. > A nice feature this auto wrapping is that when I use > \begin{something} > \end{something}, > then those blocks are not auto wrapped, which I like. However, > obviously if I make my own commands using \recommand or something, > e.g., \beq for \begin{eqnarray}, then it's auto wrapped. Why would you do that? C-c C-e eqn TAB RET inserts both opening and closing lines with proper indentation. > What kind of file and how do I have to edit to prevent auto wrapping > of my own command, e.g., \beq? eqnarray sucks, anyway (it does not even manage to keep the equation number out of the equations). You should be using the constructs provided by amsmath.sty (documentation in amsldoc.dvi or equivalent). And those don't even _work_ with those kinds of abbreviations. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum